dump(*$args)
The dump method outputs multiple mixed values to the browser in a formatted structured way and includes backtrace information so you know where it is coming from.
| Static | Yes |
|---|---|
| Parameters | Unlimited mixed arguments |
| Returns | void |
| Example |
|
The Debug class is a simple utility for debugging variables, objects, arrays, etc by outputting information to the display. This is not meant as a one-stop-shop to all of your debugging needs, but as a simple way to throw out information quickly to check things as you go.
The dump method outputs multiple mixed values to the browser in a formatted structured way and includes backtrace information so you know where it is coming from.
| Static | Yes |
|---|---|
| Parameters | Unlimited mixed arguments |
| Returns | void |
| Example |
|
The backtrace method shows the file and line the method is called from and a list of all previous.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all classes currently defined in the PHP runtime.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all interface classes currently defined in the PHP runtime.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all included files currently loaded in the PHP runtime.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all functions currently defined in the PHP runtime.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all constants currently defined in the PHP runtime.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all extensions loaded by PHP.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Output a list of all HTTP headers the server was requested with.
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|
Prints a list of the configuration settings read from php.ini
| Static | Yes |
|---|---|
| Parameters | None |
| Returns | void |
| Example |
|