3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // $a = array(a => 'kaushik', b => 'thirthappa'); echo $a;
Output for 5.4.0 - 7.1.0
Notice: Use of undefined constant a - assumed 'a' in /in/FJhJ2 on line 6 Notice: Use of undefined constant b - assumed 'b' in /in/FJhJ2 on line 6 Notice: Array to string conversion in /in/FJhJ2 on line 8 Array
Output for 4.3.0 - 5.3.29
Notice: Use of undefined constant a - assumed 'a' in /in/FJhJ2 on line 6 Notice: Use of undefined constant b - assumed 'b' in /in/FJhJ2 on line 6 Array