Query: uopz_backup
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UOPZ_BACKUP(3) 1 UOPZ_BACKUP(3) uopz_backup - Backup a functionSYNOPSISvoid uopz_backup (string $class, string $function)DESCRIPTIONvoid uopz_backup (string $function) Backup a function at runtime, to be restored on shutdownPARAMETERSo $class - The name of the class containing the function to backup o $function - The name of the functionRETURN VALUESEXAMPLESExample #1 uopz_backup(3) example <?php uopz_backup("fgets"); uopz_function("fgets", function(){ return true; }); var_dump(fgets()); ?> The above example will output something similar to: bool(true) PHP Documentation Group UOPZ_BACKUP(3)