phpdbg(1)
π phpdbg β the interactive PHP debugger
okay bestie, so this is the phpdbg(1) man page from the Scripting Language section of the manual, and it's literally your girl for debugging PHP. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
phpdbg β the interactive PHP debugger. yeah. that's her. she's an icon, she's the moment π
π¦ SYNOPSIS π¦
phpdbg [options] [file] [args...]
that's it. that's the whole vibe. options, a file, some args, slay β¨
πΈ DESCRIPTION πΈ
phpdbg is a lightweight, powerful, easy to use debugging platform for PHP. no cap, it's giving "why was I using anything else" energy. π
π OPTIONS π
one bullet per flag, no skipping, we don't do that here. every single one is accounted for π―
-cpath|file β look for thephp.inifile in the directory path, or just use the file you specified. dealer's choice π-dfoo[=bar] β define the INI entry foo with the value bar. set it, bestie β¨-nβ nophp.inifile will be used at all. raw. unbothered. π¦-zfile β load a Zend extension from file. plug it in π-qβ do not print the banner on startup. quiet mode, mysterious mode π-vβ enable oplog output. receipts on π-bβ disables use of color on the console. (tragic, I know. sometimes you gotta π)-ipath|file β override the.phpgdbinitlocation. this implies-I. package deal π-Iβ ignore.phpdbginit(that's the default init file). moving on, we don't know her π-rβ jump straight to run. no small talk, just go πββοΈ-eβ generate extended information for debugger/profiler. extra. detail. obsessed β¨-Eβ enable step througheval(). yes, into the eval, we go there π§-sdelimiter β read code to execute from stdin, with an optional delimiter. piping, but make it cute π-Ssapi_name β override the SAPI name. identity crisis? no, a glow up π-popcode β output opcodes and quit. show me the tea then leave β-hβ print the help overview. when in doubt,-hπ-Vβ version number. know your icon βargs...β arguments passed to the script. use--args when the first argument starts with-or when the script is read from stdin. important detail, don't skip it bestie π
π NOTES π
passing-rrwill causephpdbgto quit after execution, rather than returning to the console.
so like, -rr = one and done. she runs it, she leaves. no encore. π€β¬οΈ
π FILES π
php.iniβ the standard configuration file. the classic..phpdbginitβ the init file. her personal diary, basically π
π₯ 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. found a bug? snitch. respectfully. π«Ά
π AUTHORS π
written by Felipe Pena, Joe Watkins and Bob Weinand, formatted by OndΕej SurΓ½ for the Debian project. legends, every 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. global girlies, we love to see it ππ
β VERSION INFORMATION β
this manpage describes phpdbg, for PHP version 8.5.9. yes, that specific. no vibes-based guessing here π
π COPYRIGHT π
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. (fr fr, just email them, they're nice π¬)
and that's the whole page, bestie!! this one came from The PHP Group, dated 2024, and it's literally the phpdbg(1) page we just read together. go debug something iconic π
β¨
π¦ where this page comes from
- ubuntu stonking: php8.5-phpdbg 8.5.9-0ubuntu1
- ubuntu stonking: php8.5-phpdbg 8.5.9-0ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms