phpdbg(1)
π
phpdbg β the interactive PHP debugger (from the phpdbg(1) manual, Scripting Language section, bestie)
okay so real talk: phpdbg is a lightweight, powerful, and honestly just easy to use debugging platform for PHP. it's giving debugger but make it cozy. π¦
β¨ SYNOPSIS β¨
phpdbg [options] [file] [args...]
πΈ DESCRIPTION πΈ
phpdbg is a lightweight, powerful, easy to use debugging platform for PHP. that's the whole vibe. no cap. π₯
π OPTIONS π
every single flag, exactly as written, because we do not skip options in this house:
-cpath|file β go look for thephp.inifile inside the directory path, or straight up use the file you named π-dfoo[=bar] β define the INI entry foo and give it the value bar β¨-nβ nophp.inifile will be used. none. zero. bye π-zfile β load the Zend extension file π§-qβ do not print the banner on startup (shy mode, we respect it) π-vβ enable oplog output π-bβ disables use of color on the console (sad, but accessibility icon behavior) π-ipath|file β override where.phpgdbinitlives (path or file); this one implies-Iβ οΈ-Iβ ignore.phpdbginit, the default init file π«-rβ jump straight to run. no small talk, just go πββοΈ-eβ generate extended information for debugger/profiler π-Eβ enable step througheval()π-sdelimiter β read code to execute from stdin, with an optional delimiter π₯-Ssapi_name β override the SAPI name π·οΈ-popcode β output opcodes and quit πͺ-hβ print the help overview π-Vβ version number π«args...β arguments passed to script. use--args when the first argument starts with-or the script is read from stdin β
π NOTES π
bestie, listen: passing-rrwill causephpdbgto quit after execution, rather than returning to the console. so likeβ¦ it's not staying for the afterparty. π
π FILES π
php.iniβ the standard configuration file ποΈ.phpdbginitβ the init file ποΈ
π SEE ALSO π
the online manual can be found at
https://www.php.net/manual/book.phpdbg.php
go read it, iykyk πβ¨
π BUGS π
you can view the list of known bugs, or report any new bug you found, at
https://github.com/php/php-src/issues
π AUTHORS π
written by Felipe Pena, Joe Watkins and Bob Weinand, formatted by OndΕej SurΓ½ for the Debian project. icons, every single one of them π
a list of active developers can be found at
https://www.php.net/credits.php
and last but not least, PHP was developed with the help of a huge amount of contributors all around the world ππ«Ά
π« VERSION INFORMATION π«
this manpage describes phpdbg, for PHP version 8.5.12. yes, we're current. slay.
βοΈ COPYRIGHT βοΈ
Copyright Β© The PHP Group
this source file is subject to version 3.01 of the PHP license, which is bundled with this package in the file LICENSE, and is available through the world-wide-web at:
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. fr fr, they will literally mail it. π¬
and that's a wrap π¬ β this page came to you from The PHP Group, dated 2024, describing phpdbg(1), section Scripting Language. mwah ππ
π¦ where this page comes from
- alpine 3.24: php85-doc 8.5.12-r0 Β· PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0 Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms