no_php_required.php 507 B

123456789101112131415161718
  1. <?php
  2. // platform_check.php @generated by Composer
  3. $issues = array();
  4. $missingExtensions = array();
  5. extension_loaded('json') || $missingExtensions[] = 'json';
  6. extension_loaded('xml') || $missingExtensions[] = 'xml';
  7. if ($missingExtensions) {
  8. $issues[] = 'Your Composer dependencies require the following PHP extensions to be installed: ' . implode(', ', $missingExtensions);
  9. }
  10. if ($issues) {
  11. echo 'Composer detected issues in your platform:' . "\n\n" . implode("\n", $issues);
  12. exit(104);
  13. }