# HG changeset patch # User Oleksandr Gavenko # Date 1324051681 -7200 # Node ID bcece4934c3d2ef56e27a36362481c62deb4ae5b # Parent b8ee28352593b9c131586776f65cae780f5171ce Debugging. diff -r b8ee28352593 -r bcece4934c3d php.rst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/php.rst Fri Dec 16 18:08:01 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