phpdbg(1)

πŸ“¦
version 8.1.2 Β· 3 versions
, in ubuntu jammy

πŸ’… phpdbg β€” the interactive PHP debugger, bestie

okay so you found the phpdbg(1) page from the Scripting Language manual section and you're like "what is this diva" β€” bestie, it's the moment. Let's get into it πŸ’–


✨ 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 vibe. a whole debugging platform, and it's easy. slay 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • -c path|file β€” go look for the php.ini file in the directory path, or just use the specific file you hand it πŸ“‚
  • -d foo[=bar] β€” define the INI entry foo with the value bar ✍️
  • -n β€” no php.ini file will be used. none. zero. we're going rogue πŸ’€
  • -z file β€” load the Zend extension file 🧩
  • -q β€” do NOT print the banner on startup. quiet girl era 🀫
  • -v β€” enable oplog output πŸ“œ
  • -b β€” disables use of color on the console. monochrome moment πŸ–€
  • -i path|file β€” override the .phpgdbinit location (and this implies -I too, jsyk) πŸ“
  • -I β€” ignore .phpdbginit (the default init file). ghosted πŸ‘»
  • -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 the SAPI name 🏷️
  • -p opcode β€” output opcodes and quit. then dip ✌️
  • -h β€” print the help overview πŸ†˜
  • -V β€” version number πŸ”’
  • args... β€” arguments passed to script. Use -- args when the first argument starts with -, or when the script is read from stdin 🫑

πŸ“ NOTES πŸ“

real talk: passing -rr will cause phpdbg to quit after execution, rather than returning to the console. so it does the thing and then leaves the group chat. no cap.

πŸŽ€ FILES πŸŽ€

  • php.ini β€” the standard configuration file βš™οΈ
  • .phpdbginit β€” the init file 🌱

πŸ”₯ SEE ALSO πŸ”₯

The online manual can be found at http://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 http://bugs.php.net/ β€” hold them accountable bestie πŸžπŸ“£


πŸ’œ AUTHORS πŸ’œ

Written by Felipe Pena, Joe Watkins and Bob Weinand, formatted by OndΕ™ej SurΓ½ for Debian project. kings, honestly πŸ‘‘

A List of active developers can be found at http://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. that's community, that's main character energy fr fr πŸŒπŸ’–


⭐ VERSION INFORMATION ⭐

This manpage describes phpdbg, for PHP version 8.1.2-1ubuntu2.28. πŸ“Œ


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. no stressing, they've got you 🫢


okay that's the whole thing bestie, go debug something iconic πŸ’…βœ¨

with love, the phpdbg(1) page brought to you by The PHP Group, dated 2021 πŸŽ€πŸ¦‹ (that's your footer, mwah 😘)

πŸ“¦ where this page comes from