3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?hh function transform($str) { return join(', ', array_map(function($num) { return chr($num); }, array_map(function($chr) { return ord($chr); }, str_split(str_replace(' ', '_', strtoupper($str)))))); } echo transform("Flemming Busman");
Output for hhvm-3.22.0
F, L, E, M, M, I, N, G, _, B, U, S, M, A, N