3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $styleid = '4'; $style = array('styleid' => $styleid ); foreach ($style as $key => $value) { echo "Key: $key; Value: $value\n"; }
based on kd0mc
Output for 4.3.0 - 7.1.0
Key: styleid; Value: 4