php man page for uopz_restore

Query: uopz_restore

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UOPZ_RESTORE(3) 							 1							   UOPZ_RESTORE(3)

uopz_restore - Restore a previously backed up function

SYNOPSIS
void uopz_restore (string $class, string $function)
DESCRIPTION
void uopz_restore (string $function) Restore a previously backed up function
PARAMETERS
o $class - The name of the class containing the function to restore o $function - The name of the function
RETURN VALUES
EXAMPLES
Example #1 uopz_restore(3) example <?php uopz_backup("fgets"); uopz_function("fgets", function(){ return true; }); var_dump(fgets()); uopz_restore('fgets'); fgets(); ?> The above example will output something similar to: Warning: fgets() expects at least 1 parameter, 0 given in /path/to/script.php on line 8 PHP Documentation Group UOPZ_RESTORE(3)
Related Man Pages
fgets(3posix) - posix
gets(3) - mojave
fgets(3) - freebsd
gets(3) - freebsd
stream_set_blocking(3) - php
Similar Topics in the Unix Linux Community
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun