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/bug70918.phpt |
--TEST-- Bug #70918 (Segfault using static outside of class scope) --FILE-- <?php try { static::x; } catch (Error $e) { var_dump($e->getMessage()); } try { parent::x; } catch (Error $e) { var_dump($e->getMessage()); } try { self::x; } catch (Error $e) { var_dump($e->getMessage()); } try { new static; } catch (Error $e) { var_dump($e->getMessage()); } try { static::x(); } catch (Error $e) { var_dump($e->getMessage()); } try { static::$i; } catch (Error $e) { var_dump($e->getMessage()); } ?> --EXPECT-- string(52) "Cannot access static:: when no class scope is active" string(52) "Cannot access parent:: when no class scope is active" string(50) "Cannot access self:: when no class scope is active" string(52) "Cannot access static:: when no class scope is active" string(52) "Cannot access static:: when no class scope is active" string(52) "Cannot access static:: when no class scope is active"
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare