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/tests/classes/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/tests/classes/private_006.phpt |
--TEST-- ZE2 A private method can be overwritten in a second derived class --FILE-- <?php class first { private static function show() { echo "Call show()\n"; } public static function do_show() { first::show(); } } first::do_show(); class second extends first { } second::do_show(); class third extends second { } third::do_show(); class fail extends third { static function show() { // cannot be redeclared echo "Call show()\n"; } } echo "Done\n"; ?> --EXPECTF-- Call show() Call show() Call show() Done
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare