Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Alias implode
<?php             return null;

        }



        return self::tidy(join('/', $args));

    }
<?php         $key = 'statamic::validation.'.$this->name;



        if (in_array($this->name, ['mimes', 'mimetypes'])) {

            $replace = ['values' => join(', ', $this->parameters)];

        }



        return __($key, $replace ?? []);
<?php             unset($submission['id']);



            return collect($submission)->map(function ($value) {

                return (is_array($value)) ? join(', ', $value) : $value;

            })->all();

        })->all();
<?php         switch ($length) {

            case 0:

            case 1:

                return join('', $list);

                break;



            case 2:
<?php                 break;



            case 2:

                return join(' '.$glue.' ', $list);

                break;



            default:
<?php             default:

                $last = array_pop($list);

                $sentence = join(', ', $list);

                $sentence .= ($oxford_comma) ? ',' : '';



                return $sentence.' '.$glue.' '.$last;
<?php             ];



            $allowed_tags = array_diff($all_tags, $tags_list);

            $allowed_tag_string = '<'.join('><', $allowed_tags).'>';



            return strip_tags($html, $allowed_tag_string);

        }
<?php         }



        $crumbs = collect($segments)->map(function () use (&$segments) {

            $uri = URL::tidy(join('/', $segments));

            array_pop($segments);



            return $uri;
<?php         $segment_urls = [];

        for ($i = 1; $i <= $segment_count; $i++) {

            $segment_urls[] = URL::tidy(join('/', $segments));

            array_pop($segments);

        }