Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/Zend/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/Zend/tests/bug32429.phpt |
--TEST-- Bug #32429 (method_exists() always return TRUE if __call method exists) --FILE-- <?php class TestClass { public function __construct() { var_dump(method_exists($this, 'test')); if (method_exists($this, 'test')) { $this->test(); } } public function __call($name, $args) { throw new Exception('Call to undefined method'.get_class($this).'::'.$name.'()'); } } try { $test = new TestClass; } catch (Exception $e) { exit($e->getMessage()); } ?> --EXPECT-- bool(false)
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare