3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array('id' => 10); echo $data['id']; echo $data["id"]; echo $data[id];
Output for 4.3.0 - 7.1.0
1010 Notice: Use of undefined constant id - assumed 'id' in /in/tOJlK on line 6 10