3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('a' => '1', 'b' => 2, 'c' => '3'); foreach($a as $key=>$value) { echo "key = " . $key . " value = " . $value; }
Output for 4.3.0 - 7.3.0rc4
key = a value = 1key = b value = 2key = c value = 3