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');

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
162.46 ms | 1866 KiB | 10 Q