changeset 1149 | 101697080733 |
parent 1146 | bcece4934c3d |
child 1206 | c52cd5d0e9ed |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php.rst Mon Dec 19 18:27:54 2011 +0200 @@ -0,0 +1,19 @@ +.. -*- coding: utf-8; -*- + +====== + PHP. +====== + +Debugging. +========== + +Pretty print variable:: + + print_r($var); + +Print backtrace:: + + debug_print_backtrace(); + + * http://php.net/manual/ru/function.print-r.php + * http://www.php.net/manual/en/function.debug-print-backtrace.php