PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 10.1.4
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v10.1.4
11.1.1 11.1.0 11.0.5 11.0.4 11.0.3 11.0.2 11.0.1 11.0.0 10.11.1 10.11.0 10.10.2 10.10.1 10.10.0 10.9.1 trunk 10.0.0 10.0.1 10.1.0 10.1.1 10.1.2 10.1.3 10.1.4 10.2.0 10.2.1 10.2.2 All 62 releases
acymailing / vendor / composer / platform_check.php

platform_check.php in AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress 10.1.4, at vendor/composer/platform_check.php

26 lines 880 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 $issues = array();
5
6 if (!(PHP_VERSION_ID >= 70400)) {
7 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
8 }
9
10 if ($issues) {
11 if (!headers_sent()) {
12 header('HTTP/1.1 500 Internal Server Error');
13 }
14 if (!ini_get('display_errors')) {
15 if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
16 fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
17 } elseif (!headers_sent()) {
18 echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
19 }
20 }
21 trigger_error(
22 'Composer detected issues in your platform: ' . implode(' ', $issues),
23 E_USER_ERROR
24 );
25 }
26