3v4l.org

run code in 300+ PHP versions simultaneously
<?php function create_path($hash) { return preg_replace('#\S#u', '/$0', strtolower(substr($hash, 0, 5))) .'/'; } echo 'path: '.create_path('ahqñree');

preferences:
28.76 ms | 406 KiB | 5 Q