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 4.3.0 - 7.1.0
foo<br>bar<br>baz<br>