Etienne Kneuss

home » repository » php » php.net » lsb » lsb3.php
Tree:
school
mp3
php
sample
publications
Math_Derivative
Math_Expression
ircbot
php.net
docweb
lsb
lsb3.php
lsb2.php
lsb1.php
check-acronyms.php
spam_tickets.sql.txt
spam-protection.php
genphpt.php
fix-whitespace.php
generrorlinks.php
remove-ordie.php
docbkphp.vim
script-skel.php
cvslogger.php
generateCvslogs.php
images
dump

Source code raw phps

    <?php class A {     public $test = 1;     public function __construct() {         static::who();     }     static function test() {         $a = new A();         // everything related to new A() should have been popped at this stage         static::who();     }     static function who() {         echo "A";     } } class B extends A {     static function who() {         echo "B";     } } echo B::test(); // A B 

Comments

There is currently no comment here.

Add a comment

Username:

Spam Challenge: 12+16=?

Comment: