ob_end_flush

(PHP 4, PHP 5, PHP 7) Flush (send) the output buffer and turn off output buffering bool ob_end_flush ( void ) This function will send the contents of the topmost output buffer (if any) and turn this output buffer off. If you want to further process the buffer's contents you have to call ob_get_contents() before ob_end_flush() as the buffer contents are discarded after ob_end_flush() is called. The output buffer must be sta

ob_end_clean

(PHP 4, PHP 5, PHP 7) Clean (erase) the output buffer and turn off output buffering bool ob_end_clean ( void ) This function discards the contents of the topmost output buffer and turns off this output buffering. If you want to further process the buffer's contents you have to call ob_get_contents() before ob_end_clean() as the buffer contents are discarded when ob_end_clean() is called. The output buffer must be started b

ob_clean

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Clean (erase) the output buffer void ob_clean ( void ) This function discards the contents of the output buffer. This function does not destroy the output buffer like ob_end_clean() does. The output buffer must be started by ob_start() with PHP_OUTPUT_HANDLER_CLEANABLE flag. Otherwise ob_clean() will not work. Returns: No value is returned.

flush

(PHP 4, PHP 5, PHP 7) Flush system output buffer void flush ( void ) Flushes the system write buffers of PHP and whatever backend PHP is using (CGI, a web server, etc). This attempts to push current output all the way to the browser with a few caveats. flush() may not be able to override the buffering scheme of your web server and it has no effect on any client-side buffering in the browser. It also doesn't affect PHP's u

opcache_reset

(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache >= 7.0.0) Resets the contents of the opcode cache boolean opcache_reset ( void ) This function resets the entire opcode cache. After calling opcache_reset(), all scripts will be reloaded and reparsed the next time they are hit. Returns: Returns TRUE if the opcode cache was reset, or FALSE if the opcode cache is disabled.

opcache_is_script_cached

(PHP 5 >= 5.6.0, PHP 7, PECL ZendOpcache >= 7.0.4) Tells whether a script is cached in OPCache boolean opcache_is_script_cached ( string $file ) This function checks if a PHP script has been cached in OPCache. This can be used to more easily detect the "warming" of the cache for a particular script. Parameters: file The path to the PHP script to be checked.

opcache_invalidate

(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache >= 7.0.0) Invalidates a cached script boolean opcache_invalidate ( string $script [, boolean $force = FALSE ] ) This function invalidates a particular script from the opcode cache. If force is unset or FALSE, the script will only be invalidated if the modification time of the script is newer than the cached opcodes. Parameters: script

opcache_get_status

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2) Get status information about the cache array opcache_get_status ([ boolean $get_scripts = TRUE ] ) This function returns state information about the cache instance Parameters: get_scripts Include script specific state information Returns: Returns an array of information, optionally containi

opcache_get_configuration

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2) Get configuration information about the cache array opcache_get_configuration ( void ) This function returns configuration information about the cache instance Returns: Returns an array of information, including ini, blacklist and version Exception: If opcache.restrict_api is in use and the current path is in

opcache_compile_file

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2) Compiles and caches a PHP script without executing it boolean opcache_compile_file ( string $file ) This function compiles a PHP script and adds it to the opcode cache without executing it. This can be used to prime the cache after a Web server restart by pre-caching files that will be included in later requests. Parameters: file