author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 22 Dec 2020 13:45:36 +0200 | |
changeset 2482 | b6e75fabe00b |
parent 1912 | 8b81a8f0f692 |
permissions | -rwxr-xr-x |
1206 | 1 |
.. -*- coding: utf-8; -*- |
2 |
||
3 |
====== |
|
4 |
PHP. |
|
5 |
====== |
|
1346
a2fbf50a43f4
Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
6 |
.. contents:: |
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1346
diff
changeset
|
7 |
:local: |
1206 | 8 |
|
9 |
Debugging. |
|
10 |
========== |
|
11 |
||
12 |
Pretty print variable:: |
|
13 |
||
14 |
print_r($var); |
|
15 |
||
16 |
Print backtrace:: |
|
17 |
||
18 |
debug_print_backtrace(); |
|
19 |
||
20 |
* http://php.net/manual/ru/function.print-r.php |
|
21 |
* http://www.php.net/manual/en/function.debug-print-backtrace.php |