3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "72"; var_dump($a[NULL]); if(isset($a[NULL])) echo "YES"; else echo "NO";
Output for 5.4.5 - 7.1.0
Notice: String offset cast occurred in /in/RV546 on line 4 string(1) "7" YES
Output for 5.4.0 - 5.4.4
Notice: String offset cast occured in /in/RV546 on line 4 string(1) "7" YES
Output for 4.3.0 - 5.3.29
string(1) "7" YES