8 randomly useful php tricks
In keeping with my series of 8’s.
1 ) debug_print_backtrace() – I use this one a lot, print a debug-style list of what was called to get the the point where this function is called. Very, very useful.
2 ) __autoload() – Called when you attempt to load a class that hasn’t been defined. Example: I try [...]