phpdbg(1)
π phpdbg β the manual page, but make it a group chat
okay so this is phpdbg(1), straight out of the Scripting Language manual section, and bestie, it's about to be your new fave π
β¨ NAME β¨
phpdbg β the interactive PHP debugger ππ
πΈ SYNOPSIS πΈ
phpdbg [options] [file] [args...]
π¦ DESCRIPTION π¦
phpdbg is a lightweight, powerful, easy to use debugging platform for PHP. that's it, that's the sentence, and honestly? iconic. π
π OPTIONS π
-cpath|file β go look for thephp.inifile in the directory path, or just use the file you specified. your choice, main character. π-dfoo[=bar]β define the INI entry foo with the value bar. manifesting your settings into existence β¨-nβ nophp.inifile will be used. at all. periodt. π-zfile β load the Zend extension file π§-qβ do NOT print the banner on startup. quiet luxury, lowkey π«Ά-vβ enable oplog output π-bβ disables use of color on the console. (sad, but valid) π-ipath|file β override the.phpgdbinitlocation (this implies-I, fyi) π-Iβ ignore.phpdbginit, the default init file. we're not listening to it today π-rβ jump straight to run. no thoughts, just execution ππ¨-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. dump it and dip πͺ-hβ print the help overview. when in doubt,-hit out π-Vβ version number βargs...β arguments passed to the script. use--args when the first argument starts with-, or when the script is read from stdin π«‘
π NOTES π
Passing-rrwill causephpdbgto quit after execution, rather than returning to the console. so like, it's done-done, it does NOT come back to hang out π
π 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
not me encouraging you to file issues, but like, do it fr fr π«Ά
π AUTHORS π
written by Felipe Pena, Joe Watkins and Bob Weinand, formatted by OndΕej SurΓ½ for the Debian project. absolute legends, no cap π
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.4.27 π
π 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 π¬
and that's the whole thing, bestie π«Ά this was the phpdbg(1) page from The PHP Group, dated 2024 β thanks for reading, you ate that πβ¨π
π¦ where this page comes from
- alpine 3.24: php84-doc 8.4.27-r0 Β· PHP-3.01 BSD-3-Clause LGPL-2.0-or-later MIT Zend-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms