specific_php_release.php 662 B

1234567891011121314151617181920
  1. <?php
  2. // platform_check.php @generated by Composer
  3. $issues = array();
  4. if (!(PHP_VERSION_ID >= 70208 && PHP_VERSION_ID < 80000)) {
  5. $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.8" and "< 8.0.0". You are running ' . PHP_VERSION . '.';
  6. }
  7. $missingExtensions = array_diff(array (
  8. ), array_map('strtolower', get_loaded_extensions()));
  9. if (0 !== count($missingExtensions)) {
  10. $issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions);
  11. }
  12. if (0 !== count($issues)) {
  13. die('Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues));
  14. }