3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $e = ['s' => 3, 'd' => 4]; var_dump(implode(', ', array_map( function ($v, $k) { return sprintf("%s='%s'", $k, $v); }, $e, array_keys($e) )));
based on Y5urE
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
string(12) "s='3', d='4'"