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