array(2) {
[0]=>
object(stdClass)#1 (0) {
}
[1]=>
object(stdClass)#2 (0) {
}
}
Fatal error: Uncaught ReflectionException: Class f does not have a constructor, so you cannot pass any constructor arguments in /in/aL5rY:20
Stack trace:
#0 /in/aL5rY(20): ReflectionClass->newInstanceArgs(Array)
#1 /in/aL5rY(26): getNew('f', Object(stdClass), Object(stdClass))
#2 {main}
thrown in /in/aL5rY on line 20
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; f has a deprecated constructor in /in/aL5rY on line 3
array(2) {
[0]=>
object(stdClass)#1 (0) {
}
[1]=>
object(stdClass)#2 (0) {
}
}
object(f)#4 (0) {
}
array(2) {
[0]=>
object(stdClass)#1 (0) {
}
[1]=>
object(stdClass)#2 (0) {
}
}
Fatal error: Call to undefined method ReflectionClass::newInstanceArgs() in /in/aL5rY on line 20
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /in/aL5rY on line 15
Process exited with code 255.