3v4l.org

run code in 300+ PHP versions simultaneously
<?php function create_path($hash) { return strtolower("{$hash[0]}/{$hash[1]}/{$hash[2]}/{$hash[3]}/{$hash[4]}/"); } // will output something like "a/h/q/6/d/" echo create_path('aHq6dc93d7b');

preferences:
24.78 ms | 404 KiB | 5 Q