Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Concrete class for generating debug dumps related to the output source.

dump(
mixed $var, string $label
=
null, bool $echo
=
true
)
:
string
Debug helper function. This is a wrapper for var_dump() that adds the
tags, cleans up newlines and indents, and runs htmlentities() before output.Name | Type | Description |
---|---|---|
$var | mixed | The variable to dump. |
$label | string | OPTIONAL Label to prepend to output. |
$echo | bool | OPTIONAL Echo output if true. |
Type | Description |
---|---|
string |

getSapi(
)
:
\string;
Get the current value of the debug output environment.
This defaults to the value of PHP_SAPI.
Type | Description |
---|---|
\string; |