Welcome To Snipplr


Everyone's Recent PHP Snippets Tagged debug



1 2 Next »
For when I catch a bad case of stupid and forget how to write simple php and I need to put the training wheels back on. Drop this in before the closing body tag on a php page to see a list some of what is happening when the page loads.
0 259 posted 13 years ago by inkdeep
Lorsque vous cherchez le cheminement jusqu'à une fonction/méthode particulière, vous ajoutez un « debug_print_backtrace() ; » dans celle-ci et lors de l’exécution ça vous affiche un truc du style : #0 MusicFactory->loadDataForDetail(925...
0 254 posted 13 years ago by olive
An easy debug trick: gives you a variable that you can print in any tpl.php to find out what vars you have available there.
1 428 posted 13 years ago by berkes
1 416 posted 14 years ago by nicolaspar
1 2 Next »