9
PHP - Ermittelt den Schlüsselnamen des Array-Werts
Ich habe ein Array wie folgt: function example() { /* some stuff here that pushes items with dynamically created key strings into an array */ return array( // now lets pretend it returns the created array 'firstStringName' => $whatEver, 'secondStringName' => $somethingElse ); } $arr = example(); // now I …