php.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1346 a2fbf50a43f4
child 1905 fba288d59662
permissions -rwxr-xr-x
Make centered content design with adoption for mobile devices. Highlight TOC.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1206
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     1
.. -*- coding: utf-8; -*-
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1206
diff changeset
     2
.. include:: HEADER.rst
1206
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     3
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     4
======
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     5
 PHP.
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     6
======
1346
a2fbf50a43f4 Fix: Has no 'contents::' directive.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
     7
.. contents::
1206
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     8
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
     9
Debugging.
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    10
==========
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    11
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    12
Pretty print variable::
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    13
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    14
  print_r($var);
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    15
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    16
Print backtrace::
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    17
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    18
  debug_print_backtrace();
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    19
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    20
 * http://php.net/manual/ru/function.print-r.php
c52cd5d0e9ed CR/LF ==> LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1146
diff changeset
    21
 * http://www.php.net/manual/en/function.debug-print-backtrace.php