phpdbg(1)

πŸ“¦ version 8.4.27, in alpine 3.24

πŸ’… 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 πŸ‘‘

  • -c path|file β€” go look for the php.ini file in the directory path, or just use the file you specified. your choice, main character. 🌈
  • -d foo[=bar] β€” define the INI entry foo with the value bar. manifesting your settings into existence ✨
  • -n β€” no php.ini file will be used. at all. periodt. πŸ’€
  • -z file β€” 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) πŸ™ˆ
  • -i path|file β€” override the .phpgdbinit location (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 through eval() πŸͺœ
  • -s delimiter β€” read code to execute from stdin, with an optional delimiter πŸ“₯
  • -S sapi_name β€” override the SAPI name 🌊
  • -p opcode β€” output opcodes and quit. dump it and dip πŸšͺ
  • -h β€” print the help overview. when in doubt, -h it 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 -rr will cause phpdbg to 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 Β© 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