3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'Yes'; var_dump($str['1active']); var_dump($str['page_id']);
based on C2D5r
Output for 5.4.0 - 7.2.0
Notice: A non well formed numeric value encountered in /in/LCYiI on line 4 string(1) "e" Warning: Illegal string offset 'page_id' in /in/LCYiI on line 5 string(1) "Y"
Output for 4.3.0 - 5.3.29
string(1) "e" string(1) "Y"