public function testOne() { pinba::flush(); }
/** * Useful when you need to send request data to the server immediately (for long running scripts). * You can use optional argument script_name to set custom script name. * * @param string $script_name Custom script name * @param int $flags Is an optional argument added in version 1.0.0. * Possible values (it's a bitmask, so you can add the constants) is a PINBA_FLUSH_ONLY_STOPPED_TIMERS and * PINBA_FLUSH_RESET_DATA. * * @link https://github.com/tony2001/pinba_engine/wiki/PHP-extension#pinba_flush */ function pinba_flush($script_name = '', $flags = 0) { pinba::flush($script_name, $flags); }
/** Useful when you need to send request data to the server immediately (for long running scripts). You can use optional argument script_name to set custom script name. @param string $script_name */ function pinba_flush($script_name = null) { return pinba::flush($script_name); }