3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Report_Filter { public And_Or = null; public Report_Field_ID = null; public Comparison = null; public Value = null; } $test = new Report_Filter(); $test->And_Or = 'and'; $test->Report_Field_ID = '11'; $test->Comparison = '='; $test->Value = 'cookie'; echo $test->And_Or; echo $test->Report_Field_ID; echo $test->Comparison; echo $test->Value;
Output for 5.4.0 - 5.4.27
Parse error: syntax error, unexpected 'And_Or' (T_STRING), expecting variable (T_VARIABLE) in /in/sIkUr on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE in /in/sIkUr on line 5
Process exited with code 255.