Warning: Undefined array key "foo" in /in/18qM5 on line 4
NULL
Warning: Trying to access array offset on null in /in/18qM5 on line 7
NULL
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/18qM5:10
Stack trace:
#0 {main}
thrown in /in/18qM5 on line 10
Process exited with code 255.
Warning: Undefined array key "foo" in /in/18qM5 on line 4
NULL
Warning: Trying to access array offset on value of type null in /in/18qM5 on line 7
NULL
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/18qM5:10
Stack trace:
#0 {main}
thrown in /in/18qM5 on line 10
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Notice: Undefined index: foo in /in/18qM5 on line 4
NULL
Notice: Trying to access array offset on value of type null in /in/18qM5 on line 7
NULL
Warning: Illegal string offset 'foo2' in /in/18qM5 on line 10
string(1) "s"
Notice: Trying to access array offset on value of type int in /in/18qM5 on line 14
NULL