- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
- Parse error: syntax error, unexpected '=' in /in/a4apR on line 29
Process exited with code 255.
<?php
class A
{
public static function f($c)
{
$c->m();
return $c;
}
}
class B
{
public function g($c)
{
$ret=A::f($c);
if($ret===false)
{
echo "Should never print this\n";
}
}
}
class C
{
public function m()
{
this = null;
}
}
$b = new B();
$b->g(null);