update : 2015.11.03
php.shukuma.com검색:
|
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 설명Ordinarily, 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.
인수
반환값
Returns the name of the previously defined output handler callback, or
예제
Example #1 Feeding output to a variable
<?php 위 예제의 출력: Sandbox Complete Hello string(9) "Excuse me" I lost myself. |