<?php declare(strict_types=1); function foo(array $array): string { return implode(', ', $array); } echo foo([1,2,3]); echo foo([[]]);
You have javascript disabled. You will not be able to edit any code.