3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = 3; echo ${'data'}; echo "${data}"; echo ${data};
based on gd41D
Output for 7.2.0
33 Warning: Use of undefined constant data - assumed 'data' (this will throw an Error in a future version of PHP) in /in/I7N4L on line 6 3
Output for 5.3.21 - 7.1.10
33 Notice: Use of undefined constant data - assumed 'data' in /in/I7N4L on line 6 3