3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $foo = "false"; $bar = $foo['check']; var_dump($foo); var_dump($bar);
based on qnTlI
Output for 5.4.0 - 7.2.0
Warning: Illegal string offset 'check' in /in/rfBBX on line 5 string(5) "false" string(1) "f"
Output for 4.3.0 - 5.3.29
string(5) "false" string(1) "f"