<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.phpdbg.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'intro.phpdbg.php',
    1 => 'Вступ',
    2 => 'Вступ',
  ),
  'up' => 
  array (
    0 => 'book.phpdbg.php',
    1 => 'phpdbg',
  ),
  'prev' => 
  array (
    0 => 'book.phpdbg.php',
    1 => 'phpdbg',
  ),
  'next' => 
  array (
    0 => 'phpdbg.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/phpdbg/book.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="intro.phpdbg" class="preface">
  <h1 class="title">Вступ</h1>
  <p class="para">
   Implemented as a SAPI module, phpdbg can exert complete control over the
   environment without impacting the functionality or performance of your code.
  </p>
  <p class="para">
   phpdbg aims to be a lightweight, powerful, easy to use debugging platform for PHP.
   It offers the following features:
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">Step-Through Debugging</span>
    </li>
    <li class="listitem">
     <span class="simpara">Flexible Breakpoints (Class Method, Function, File:Line, Address, Opcode)</span>
    </li>
    <li class="listitem">
     <span class="simpara">Easy Access to PHP with built-in eval()</span>
    </li>
    <li class="listitem">
     <span class="simpara">Userland API</span>
    </li>
    <li class="listitem">
     <span class="simpara">SAPI Agnostic - Easily Integrated</span>
    </li>
    <li class="listitem">
     <span class="simpara">PHP Configuration File Support</span>
    </li>
    <li class="listitem">
     <span class="simpara">JIT Super Globals - Set Your Own !!</span>
    </li>
    <li class="listitem">
     <span class="simpara">Optional readline Support - Comfortable Terminal Operation</span>
    </li>
    <li class="listitem">
     <span class="simpara">Easy Operation - See Help :)</span>
    </li>
   </ul>
  </p>

  <p class="para">
   <table class="doctable table">
    <caption><strong>Command line options</strong></caption>
    
     <thead>
      <tr>
       <th>Option</th>
       <th>Example Argument</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>-c</td>
       <td>-c/my/php.ini</td>
       <td>
        Set php.ini file to load
       </td>
      </tr>

      <tr>
       <td>-d</td>
       <td>-dmemory_limit=4G</td>
       <td>
        Set a php.ini directive
       </td>
      </tr>

      <tr>
       <td>-n</td>
       <td class="empty">&nbsp;</td>
       <td>
        Disable default php.ini
       </td>
      </tr>

      <tr>
       <td>-q</td>
       <td class="empty">&nbsp;</td>
       <td>
        Suppress welcome banner
       </td>
      </tr>

      <tr>
       <td>-v</td>
       <td class="empty">&nbsp;</td>
       <td>
        Enable oplog output
       </td>
      </tr>

      <tr>
       <td>-b</td>
       <td class="empty">&nbsp;</td>
       <td>
        Disable color
       </td>
      </tr>

      <tr>
       <td>-i</td>
       <td>-imy.init</td>
       <td>
        Set .phpdbginit file
       </td>
      </tr>

      <tr>
       <td>-I</td>
       <td class="empty">&nbsp;</td>
       <td>
        Ignore default .phpdbginit
       </td>
      </tr>

      <tr>
       <td>-O</td>
       <td>-Omy.oplog</td>
       <td>
        Set oplog output file
       </td>
      </tr>

      <tr>
       <td>-r</td>
       <td class="empty">&nbsp;</td>
       <td>
        Run execution context
       </td>
      </tr>

      <tr>
       <td>-rr</td>
       <td class="empty">&nbsp;</td>
       <td>
        Run execution context and quit after execution (not respecting breakpoints)
       </td>
      </tr>

      <tr>
       <td>-e</td>
       <td class="empty">&nbsp;</td>
       <td>
        Generate extended information for debugger/profiler
       </td>
      </tr>

      <tr>
       <td>-E</td>
       <td class="empty">&nbsp;</td>
       <td>
        Enable step through eval, careful!
       </td>
      </tr>

      <tr>
       <td>-s</td>
       <td>-s=, -s=foo</td>
       <td>
        Read code to execute from stdin with an optional delimiter
       </td>
      </tr>

      <tr>
       <td>-S</td>
       <td>-Scli</td>
       <td>
        Override SAPI name, careful!
       </td>
      </tr>

      <tr>
       <td class="empty">&nbsp;</td>
       <td class="empty">&nbsp;</td>
       <td>
        <p class="para">
        </p>
       </td>
      </tr>

      <tr>
       <td>-l</td>
       <td>-l4000</td>
       <td>
        Setup remote console ports
       </td>
      </tr>

      <tr>
       <td>-a</td>
       <td>-a192.168.0.3</td>
       <td>
        Setup remote console bind address
       </td>
      </tr>

      <tr>
       <td>-x</td>
       <td class="empty">&nbsp;</td>
       <td>
        Enable xml output (instead of normal text output)
       </td>
      </tr>

      <tr>
       <td>-p</td>
       <td>-p, -p=func, -p*</td>
       <td>
        Output opcodes and quit
       </td>
      </tr>

      <tr>
       <td>-h</td>
       <td class="empty">&nbsp;</td>
       <td>
        Print the help overview
       </td>
      </tr>

      <tr>
       <td>-V</td>
       <td class="empty">&nbsp;</td>
       <td>
        Print version number
       </td>
      </tr>

      <tr>
       <td>--</td>
       <td>-- arg1 arg2</td>
       <td>
        Use to delimit phpdbg arguments and php $argv; append any $argv argument after it
       </td>
      </tr>

     </tbody>
     
   </table>
 
  </p>

 </div><?php manual_footer($setup); ?>