PHP » GoLang |
login |
register |
about
|
GoLang runkit_sandbox_output_handler
request it (327)
GoLang replacement for PHP's runkit_sandbox_output_handler
[edit | history]
PHP runkit_sandbox_output_handlerPHP original manual for runkit_sandbox_output_handler [ show | php.net ]runkit_sandbox_output_handler(PECL runkit >= 0.7.0) runkit_sandbox_output_handler — Specify a function to capture and/or process output from a runkit sandbox DescriptionOrdinarily, anything output (such as with echo or print) will be output as though it were printed from the parent's scope. Using runkit_sandbox_output_handler() however, output generated by the sandbox (including errors), can be captured by a function outside of the sandbox.
Parameters
Return Values
Returns the name of the previously defined output handler callback, or
Examples
Example #1 Feeding output to a variable
<?php The above example will output: Sandbox Complete Hello string(9) "Excuse me" I lost myself. |
more
Recently updated
more
Most requested
more
Last requests
|