phpdbg - The interactive PHP debugger
Contents
Bugs
You can view the list of known bugs or report any new bug you found at
https://github.com/php/php-src/issuesCopyright
Copyright © The PHP Group
This source file is subject to version 3.01 of the PHP license, that is bundled with this package in the
file LICENSE, and is available through the world-wide-web at the following url:
https://www.php.net/license/3_01.txt
If you did not receive a copy of the PHP license and are unable to obtain it through the world-wide-web,
please send a note to license@php.net so we can mail you a copy immediately.
The PHP Group 2024 phpdbg(1)
Description
phpdbg is a lightweight, powerful, easy to use debugging platform for PHP.
Files
php.ini The standard configuration file
.phpdbginit The init file
Name
phpdbg - The interactive PHP debugger
Notes
Passing -rr will cause phpdbg to quit after execution, rather than returning to the console
Options
-cpath|file Look for php.ini file in the directory path or use the specified file-dfoo[=bar] Define INI entry foo with value bar-n No php.ini file will be used
-zfile Load Zend extension file-q Do not print banner on startup
-v Enable oplog output
-b Disables use of color on the console
-ipath|file Override .phpgdbinit location (implies -I)
-I Ignore .phpdbginit (default init file)
-r Jump straight to run
-e Generate extended information for debugger/profiler
-E Enable step through eval()
-sdelimiter Read code to execute from stdin with an optional delimiter-Ssapi_name Override SAPI name
-popcode Output opcodes and quit
-h Print the help overview
-V Version number
args... Arguments passed to script. Use '--'args when first argument starts with '-' or script is
read from stdin
See Also
The online manual can be found at
https://www.php.net/manual/book.phpdbg.phpSynopsis
phpdbg [options] [file] [args...]
Version Information
This manpage describes phpdbg, for PHP version 8.4.5.
