Debugging.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 16 Dec 2011 18:08:01 +0200
changeset 1146 bcece4934c3d
parent 1145 b8ee28352593
child 1147 29a209ade045
Debugging.
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