- Output for 8.2.0 - 8.2.28, 8.3.0 - 8.3.19, 8.4.1 - 8.4.5
- Deprecated: Creation of dynamic property test1::$foo is deprecated in /in/aakSR on line 8
Fatal error: Uncaught Error: Attempt to assign property "bar" on null in /in/aakSR:8
Stack trace:
#0 {main}
thrown in /in/aakSR on line 8
Process exited with code 255. - Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.32
- Fatal error: Uncaught Error: Attempt to assign property "bar" on null in /in/aakSR:8
Stack trace:
#0 {main}
thrown in /in/aakSR on line 8
Process exited with code 255. - Output for 7.4.0 - 7.4.33
- Warning: Creating default object from empty value in /in/aakSR on line 8 object(test1)#1 (1) { ["foo"]=> object(stdClass)#2 (1) { ["bar"]=> int(42) } } Warning: Creating default object from empty value in /in/aakSR on line 21 object(test2)#3 (1) { ["foo"]=> object(stdClass)#4 (1) { ["bar"]=> int(42) } } Warning: Creating default object from empty value in /in/aakSR on line 33 object(test3)#5 (1) { ["foo"]=> object(stdClass)#6 (1) { ["bar"]=> array(1) { ["nope"]=> int(42) } } } Warning: Creating default object from empty value in /in/aakSR on line 46 object(test4)#7 (1) { ["foo"]=> object(stdClass)#8 (1) { ["bar"]=> array(1) { ["nope"]=> int(42) } } }
- Output for 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33
- Warning: Creating default object from empty value in /in/aakSR on line 8 object(test1)#1 (1) { ["foo"]=> object(stdClass)#2 (1) { ["bar"]=> int(42) } } Warning: Creating default object from empty value in /in/aakSR on line 21 object(test2)#3 (1) { ["foo"]=> object(stdClass)#4 (1) { ["bar"]=> int(42) } } object(test3)#5 (1) { ["foo"]=> object(stdClass)#6 (1) { ["bar"]=> array(1) { ["nope"]=> int(42) } } } object(test4)#7 (1) { ["foo"]=> object(stdClass)#8 (1) { ["bar"]=> array(1) { ["nope"]=> int(42) } } }