Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Pop the element off the end of array
<?php array_pop(array &$array): mixed
<?php         );



        $partsFQN = explode('\\', $classFQN);

        $className = array_pop($partsFQN);

        $namespace = implode('\\', $partsFQN);

        $baseClass = sprintf('\%s', $this->class);
<?php         $lines = explode(PHP_EOL, $this->buffer);



        $lines = array_reverse($lines);

        $firstLine = array_pop($lines);

        $lines = array_reverse($lines);



        View::render('components.badge', [
<?php     };



    $outputContent = explode("\n", $output());

    array_pop($outputContent);

    array_pop($outputContent);

    array_pop($outputContent);
<?php     $outputContent = explode("\n", $output());

    array_pop($outputContent);

    array_pop($outputContent);

    array_pop($outputContent);



    if (in_array('--parallel', $arguments)) {
<?php     $outputContent = explode("\n", $output());

    array_pop($outputContent);

    array_pop($outputContent);

    array_pop($outputContent);



    if (in_array('--parallel', $arguments)) {

        array_pop($outputContent);
<?php     array_pop($outputContent);



    if (in_array('--parallel', $arguments)) {

        array_pop($outputContent);

        array_pop($outputContent);

    }
<?php     if (in_array('--parallel', $arguments)) {

        array_pop($outputContent);

        array_pop($outputContent);

    }



    expect(implode("\n", $outputContent))->toMatchSnapshot();
<?php     if (getenv('REBUILD_SNAPSHOTS')) {

        $outputContent = explode("\n", $output());

        array_pop($outputContent);

        array_pop($outputContent);

        array_pop($outputContent);
<?php     if (getenv('REBUILD_SNAPSHOTS')) {

        $outputContent = explode("\n", $output());

        array_pop($outputContent);

        array_pop($outputContent);

        array_pop($outputContent);



        file_put_contents($snapshot, implode("\n", $outputContent));
<?php         $outputContent = explode("\n", $output());

        array_pop($outputContent);

        array_pop($outputContent);

        array_pop($outputContent);



        file_put_contents($snapshot, implode("\n", $outputContent));

    } elseif (! getenv('EXCLUDE')) {
<?php         file_put_contents($snapshot, implode("\n", $outputContent));

    } elseif (! getenv('EXCLUDE')) {

        $output = explode("\n", $output());

        array_pop($output);

        array_pop($output);



        expect(implode("\n", $output))->toContain(file_get_contents($snapshot));
<?php     } elseif (! getenv('EXCLUDE')) {

        $output = explode("\n", $output());

        array_pop($output);

        array_pop($output);



        expect(implode("\n", $output))->toContain(file_get_contents($snapshot));

    }