Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Sort an array in ascending order
<?php sort(array &$array, int $flags = SORT_REGULAR): true
<?php     {

        $response = $this->http->request('GET', '?extensions=1');

        $extensions = $this->getJsonBody($response);

        sort($extensions);



        self::assertEquals([

            'Core',
<?php         [$result, $logs] = $this->invokeLambda([

            'extensions' => true,

        ]);

        sort($result);



        self::assertEquals([

            'Core',