Walking up the Class-Hierarchy in PHP

The snippets story Yesterday I tried to call a function for every parent class of an object and get the results in an array. I didn’t found the solution instantly, so I thought that’s something for the snippets section. The function above takes an instance of a class and a class-methods name. Then it calls [...]

Read more Tweet me Plus me

Howto use array_map functionality on an associative array to change values *and* keys

First snippet for my collection.

Read more Tweet me Plus me