3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function echoThis($param1, $param2) { echo $param1 . $param2; } foreach (array('http-equiv' => 'foo', 'content' => 'bar') as $attribute => $value) { echoThis($attribute, $value); }
Output for 4.3.0 - 7.1.0
http-equivfoocontentbar