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(3) - mojave
gets(3) - mojave
explain_fgets_or_die(3) - debian
gets(3) - netbsd
gets(3) - osx
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!