- Output for 8.1.0 - 8.1.34, 8.2.0 - 8.2.31, 8.3.2 - 8.3.31, 8.4.6, 8.5.3 - 8.5.6
- object(ComplicatedConstructor)#1 (6) {
["integer"]=>
int(9001)
["float"]=>
float(42.5)
["boolean"]=>
bool(false)
["string"]=>
string(10) "The string"
["closure":"ComplicatedConstructor":private]=>
NULL
["optional"]=>
string(12) "The optional"
}
- Output for 8.0.30
- Parse error: syntax error, unexpected identifier "int", expecting variable in /in/lfWrQ on line 6
Process exited with code 255. - Output for 7.4.2
- Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting variable (T_VARIABLE) in /in/lfWrQ on line 6
Process exited with code 255.