php.ini
The standard configuration file
The interactive php debugger
phpdbg [options]
[file]
[args ...]
phpdbg is a lightweight, powerful, easy to use debugging platform for PHP.
-c path|file
Look for php.ini file in the directory path or use the specified file
-d foo[=bar]
Define INI entry foo with value bar
-n
No php.ini file will be used
-z file
Load Zend extension file
-q
Do not print banner on startup
-v
Enable oplog output
-b
Disables use of color on the console
-i path|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()
-s delimiter
Read code to execute from stdin with an optional delimiter
-S sapi_name
Override SAPI name
-p opcode
Output opcodes and quit
-h
Print the help overview
-V
Version number
Arguments passed to script. Use '--' args when first argument starts with '-' or script is read from stdin
Passing -rr will cause phpdbg to quit after execution, rather than returning to the console
php.ini
The standard configuration file
.phpdbginit
The init file
This manpage describes phpdbg, for PHP version 8.4.24.