- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.7
- Parse error: syntax error, unexpected end of file in /in/LdMri on line 24
Process exited with code 255.
<?php
class A {
public static function who()
{
echo __CLASS__;
}
public static function test()
{
self::who();
}
}
class B extends A {
public static function who()
{
echo __CLASS__;
}
}
B::test()