uopz_restore(3) php man page | unix.com

Man Page: uopz_restore

Operating Environment: php

Section: 3

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
gets(3) - netbsd
fgets(3) - freebsd
fgets(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun