How to get a variable name of an multidimensional Array as a string in PHP?

i have an multidimensional Array and want know this Keys as an String

“$Arrayname[‘abc’][‘def’][‘ghi’]”

I wont to call a function with the output

“Arrayname, abc, def, ghi”

or somthing like this.
Is there a posible way?
Thanks