Source code raw phps
<?php
class A {
public $test = 1;
static function test() {
// make sure that pop works here
B::who();
static::who();
}
static function who() {
echo "A";
}
}
class B extends A {
static function who() {
echo "B";
}
}
echo A::test(); // B A
Comments
There is currently no comment here.