3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $row = array( 'useless' => 42, 'useful' => 'orange', 'useless_too' => 'banana', 'useful_too' => 'apples'); foreach $row as $value{ echo $value."rishu"; }
Output for 5.4.0 - 5.5.7
Parse error: syntax error, unexpected '$row' (T_VARIABLE), expecting '(' in /in/BuPYs on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /in/BuPYs on line 7
Process exited with code 255.