3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $key = "upload_8_fid_aids.tmp"; $s = "kv"; foreach((array)$key as $k=>$v) { $s .= '-' . $k . '-' . $v; } echo $s;
Output for 4.3.0 - 7.2.6
kv-0-upload_8_fid_aids.tmp