array_reverse

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return an array with elements in reverse order
<?php array_reverse(array $array, bool $preserve_keys = false): array
<?php                     $match

                ) > 0

            ) {

                $names      = array_reverse($match[1]);

                $deferrable = array_reverse($match[2]);

                $deferred   = array_reverse($match[3]);

            } else {
<?php                 ) > 0

            ) {

                $names      = array_reverse($match[1]);

                $deferrable = array_reverse($match[2]);

                $deferred   = array_reverse($match[3]);

            } else {

                $names = $deferrable = $deferred = [];
<?php             ) {

                $names      = array_reverse($match[1]);

                $deferrable = array_reverse($match[2]);

                $deferred   = array_reverse($match[3]);

            } else {

                $names = $deferrable = $deferred = [];

            }