Query: uopz_delete
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UOPZ_DELETE(3) 1 UOPZ_DELETE(3) uopz_delete - Delete a functionSYNOPSISvoid uopz_delete (string $class, string $function)DESCRIPTIONvoid uopz_delete (string $function) Deletes a function or methodPARAMETERSo $class - o $function -RETURN VALUESEXAMPLESExample #1 uopz_delete(3) example <?php uopz_delete("strlen"); echo strlen("Hello World"); ?> The above example will output something similar to: PHP Fatal error: Call to undefined function strlen() in /path/to/script.php on line 4 Example #2 uopz_delete(3) class example <?php class My { public static function strlen($arg) { return strlen($arg); } } uopz_delete(My::class, "strlen"); echo My::strlen("Hello World"); ?> The above example will output something similar to: PHP Fatal error: Call to undefined method My::strlen() in /path/to/script.php on line 10 PHP Documentation Group UOPZ_DELETE(3)
Related Man Pages |
---|
classkit_import(3) - php |
forward_static_call_array(3) - php |
socket_create_pair(3) - php |
sqlite_udf_decode_binary(3) - php |
phar.getstub(3) - php |
Similar Topics in the Unix Linux Community |
---|
Rules for Homework & Coursework Questions Forum |
UNIX.COM 2017 Year End Summary |
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1) |
Denial Of Service Attack Update |