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_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_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.

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

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.

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_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_flush

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Flush (send) the output buffer void ob_flush ( void ) This function will send the contents of the output buffer (if any). If you want to further process the buffer's contents you have to call ob_get_contents() before ob_flush() as the buffer contents are discarded after ob_flush() is called. This function does not destroy the output buffer like ob_end_flush() does. R

ob_get_clean

(PHP 4 >= 4.3.0, PHP 5, PHP 7) Get current buffer contents and delete current output buffer string ob_get_clean ( void ) Gets the current buffer contents and delete current output buffer. ob_get_clean() essentially executes both ob_get_contents() and ob_end_clean(). The output buffer must be started by ob_start() with PHP_OUTPUT_HANDLER_CLEANABLE flag. Otherwise ob_get_clean() will not work. Retu

ob_get_contents

(PHP 4, PHP 5, PHP 7) Return the contents of the output buffer string ob_get_contents ( void ) Gets the contents of the output buffer without clearing it. Returns: This will return the contents of the output buffer or FALSE, if output buffering isn't active. Examples: A simple ob_get_contents() example <?php ob_start(