Use echo inside php one line if statement
Got some great answers on my latest stackoverflow question on why echo doesn’t work inside an one line if statement 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 Article »
First snippet for my collection.Read Article »