Get class hierarchy in PHP

Get 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 […]

Read more »