3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[] = "pusi"; $a[] = "ga"; $a[] = "siso"; foreach($a as $word){ echo $word ' '; }
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected '' '' (T_CONSTANT_ENCAPSED_STRING), expecting ',' or ';' in /in/tI6Kh on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /in/tI6Kh on line 8
Process exited with code 255.