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/access_modifiers_009.phpt |
--TEST-- Inconsistencies when accessing protected members - 2 --XFAIL-- Discussion: http://marc.info/?l=php-internals&m=120221184420957&w=2 --FILE-- <?php class A { static protected function f() {return 'A::f()';} } class B1 extends A { static protected function f() {return 'B1::f()';} } class B2 extends A { static public function test() { var_dump(is_callable('B1::f')); B1::f(); } } B2::test(); ?> --EXPECTF-- bool(false) Fatal error: Call to protected method B1::f() from context 'B2' in %s on line %d
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare