Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Push one or more elements onto the end of array
<?php array_push(array &$array, mixed ...$values): int
<?php             throw new \RuntimeException(sprintf("Circular call to script handler '%s' detected", $eventName));

        }



        return array_push($this->eventStack, $eventName);

    }
<?php         $nameParts = array($baseName);



        if (null !== $package->getDistReference() && Preg::isMatch('{^[a-f0-9]{40}$}', $package->getDistReference())) {

            array_push($nameParts, $package->getDistReference(), $package->getDistType());

        } else {

            array_push($nameParts, $package->getPrettyVersion(), $package->getDistReference());

        }
<?php         if (null !== $package->getDistReference() && Preg::isMatch('{^[a-f0-9]{40}$}', $package->getDistReference())) {

            array_push($nameParts, $package->getDistReference(), $package->getDistType());

        } else {

            array_push($nameParts, $package->getPrettyVersion(), $package->getDistReference());

        }



        if ($package->getSourceReference()) {