3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_POST = array('name' => 'foo', 'mobile' => 'bar', 'business' => 'baz', 'sub' => 'Submit'); unset($_POST['sub']; foreach ($_POST as $val) { echo "$val<br>"; }
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/59b17 on line 5
Process exited with code 255.