string(1) "b"
bool(true)
Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/Z2BK2:8
Stack trace:
#0 {main}
thrown in /in/Z2BK2 on line 8
Process exited with code 255.
string(1) "b"
bool(true)
Warning: Illegal string offset '1.0' in /in/Z2BK2 on line 8
string(1) "b"
bool(false)
Warning: Illegal string offset 'x' in /in/Z2BK2 on line 11
string(1) "a"
bool(false)
Notice: A non well formed numeric value encountered in /in/Z2BK2 on line 14
string(1) "b"
bool(false)
Output for 7.3.32 - 7.3.33, 7.4.26
string(1) "b"
bool(true)
Warning: Illegal string offset '1.0' in /in/Z2BK2 on line 8
string(1) "b"
bool(false)
Warning: Illegal string offset 'x' in /in/Z2BK2 on line 11
string(1) "a"
bool(false)
string(1) "b"
bool(false)