runkit_sandbox_output_handler(PECL) runkit_sandbox_output_handler -- Specify a function to capture and/or process output from a runkit sandbox说明mixed runkit_sandbox_output_handler ( object sandbox [, mixed callback] )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 FALSE if no handler was previously defined. 范例
There are no user contributed notes for this page. | ||