3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function asy($val){ echo $val+1; } asy(3); $x=array(); $x[0]=asy; echo $x[0]; ?>
based on 1Vm0C
Output for 7.2.0
4 Warning: Use of undefined constant asy - assumed 'asy' (this will throw an Error in a future version of PHP) in /in/eU1vM on line 8 asy
Output for 5.3.18 - 7.1.10
4 Notice: Use of undefined constant asy - assumed 'asy' in /in/eU1vM on line 8 asy