Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 7.4.0 - 7.4.33 , 8.0.0 - 8.0.30 , 8.1.0 - 8.1.34 , 8.2.0 - 8.2.30 , 8.3.0 - 8.3.30 , 8.4.1 - 8.4.18 , 8.5.0 - 8.5.3 array(4) {
[0]=>
object(Foo)#1 (3) {
["id"]=>
int(999)
["foo"]=>
string(3) "abc"
["group"]=>
string(6) "group1"
}
[1]=>
object(Foo)#2 (3) {
["id"]=>
int(4)
["foo"]=>
string(3) "abc"
["group"]=>
string(6) "group3"
}
[2]=>
object(Foo)#3 (3) {
["id"]=>
int(5)
["foo"]=>
string(3) "xyz"
["group"]=>
NULL
}
[3]=>
object(Foo)#4 (3) {
["id"]=>
int(8)
["foo"]=>
string(3) "xxx"
["group"]=>
string(6) "group2"
}
}
Output for 7.2.0 - 7.2.33 , 7.3.0 - 7.3.33 Parse error: syntax error, unexpected 'int' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /in/KQ33q on line 5
Process exited with code 255 .