phpdbg man page

phpdbg — The interactive PHP debugger

Synopsis

phpdbg [options] [file] [args...]

Description

phpdbg is a lightweight, powerful, easy to use debugging platform for PHP.

Options

-c path|file

Look for php.ini file in the directory path or use the specified file

-d foo[=bar]

Define INI entry foo with value bar

-n

No php.ini file will be used

-z file

Load Zend extension file

-q

Do not print banner on startup

-v

Enable oplog output

-b

Disables use of color on the console

-i path|file

Override .phpgdbinit location (implies -I)

-I

Ignore .phpdbginit (default init file)

-O file

Set oplog output to file

-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 SAPI name

-l port

Setup remote console port

-a address

Setup remote console bind address

-x

Enable XML output

-p opcode

Output opcodes and quit

-h

Print the help overview

-V

Version number

args...

Arguments passed to script. Use '--' args when first argument starts with '-' or script is read from stdin

Notes

Passing -rr will cause phpdbg to quit after execution, rather than returning to the console

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

Bugs

You can view the list of known bugs or report any new bug you found at

http://bugs.php.net/

Authors

Written by Felipe Pena, Joe Watkins and Bob Weinand, formatted by Ondřej Surý for Debian project.

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.

Version Information

This manpage describes phpdbg, for PHP version 7.2.10.

Referenced By

The man page zts-phpdbg(1) is an alias of phpdbg(1).

2018 The PHP Group Scripting Language