array_shift

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Shift an element off the beginning of array
<?php array_shift(array &$array): mixed
<?php         $method = TestSuite::getInstance()->tests->get(self::$__filename)->getMethod($this->name());



        if ($method->repetitions > 1) {

            array_shift($arguments);

        }



        $underlyingTest = Reflection::getFunctionVariable($this->__test, 'closure');
<?php                     && $this->options->configuration->stopOnFailure()

                ) {

                    $this->pending = [];

                } elseif (($pending = array_shift($this->pending)) !== null) {

                    $worker->assign($pending);

                    $this->batches[$token]++;

                }