array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.uopz-delete.php', 1 => 'uopz_delete', ), 'up' => array ( 0 => 'ref.uopz.php', 1 => 'Uopz İşlevleri', ), 'prev' => array ( 0 => 'function.uopz-del-function.php', 1 => 'uopz_del_function', ), 'next' => array ( 0 => 'function.uopz-extend.php', 1 => 'uopz_extend', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uopz/functions/uopz-delete.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL uopz 1, PECL uopz 2)
uopz_delete — Delete a function
uopz 5.0.0 sürümünde bu işlev PECL'de KALDIRILMIŞTIR.
Deletes a function or method
class
function
Örnek 1 uopz_delete() example
<?php
uopz_delete("strlen");
echo strlen("Hello World");
?>
Yukarıdaki örnek şuna benzer bir çıktı üretir:
PHP Fatal error: Call to undefined function strlen() in /path/to/script.php on line 4
Örnek 2 uopz_delete() class example
<?php
class My {
public static function strlen($arg) {
return strlen($arg);
}
}
uopz_delete(My::class, "strlen");
echo My::strlen("Hello World");
?>
Yukarıdaki örnek şuna benzer bir çıktı üretir:
PHP Fatal error: Call to undefined method My::strlen() in /path/to/script.php on line 10