<?php
class Foo {
public $x;
}
class Bar {
public $y;
}
$a = new Foo();
$b = new Foo();
$a->x = new Bar();
$a->x->y = 3;
$b->x = new Bar();
$b->x->y = 3;
print_r($a != $b);
?>
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/fPIEA</b> on line <b>4</b><br />
Process exited with code 255.
<br />
<b>Parse error</b>: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in <b>/in/fPIEA</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.3.4
<br />
<b>Parse error</b>: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in <b>/in/fPIEA</b> on line <b>4</b><br />
Process exited with code 255.