#!/usr/bin/env php ')) { fwrite( STDERR, sprintf( 'PHPUnit X.Y.Z by Sebastian Bergmann and contributors.' . PHP_EOL . PHP_EOL . 'This version of PHPUnit is supported on PHP 7.2, PHP 7.3, and PHP 7.4.' . PHP_EOL . 'You are using PHP %s (%s).' . PHP_EOL, PHP_VERSION, PHP_BINARY ) ); die(1); } if (__FILE__ === realpath($_SERVER['SCRIPT_NAME'])) { $execute = true; } else { $execute = false; } $options = getopt('', array('prepend:', 'manifest')); if (isset($options['prepend'])) { require $options['prepend']; } if (isset($options['manifest'])) { $printManifest = true; } unset($options); define('__PHPUNIT_PHAR__', str_replace(DIRECTORY_SEPARATOR, '/', __FILE__)); define('__PHPUNIT_PHAR_ROOT__', 'phar://___PHAR___'); Phar::mapPhar('___PHAR___'); ___FILELIST___ if ($execute) { if (isset($printManifest)) { print file_get_contents(__PHPUNIT_PHAR_ROOT__ . '/manifest.txt'); exit; } unset($execute); PHPUnit\TextUI\Command::main(); } __HALT_COMPILER();