3v4l.org

run code in 300+ PHP versions simultaneously
<?hh class Test{ public static function process_single(mixed $arg):string{ if(is_array($arg){ $return = []; foreach($arg as $key => $value){ $return[] = "{$key}: ".self::process_single($value); } return '{'.implode(',',$return).'}'; }) return (string)$arg; } }

This is an error 404

There are `0` results


preferences:
150.54 ms | 1399 KiB | 7 Q