PluginProbe
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress / 11.1.0
AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress v11.1.0
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
← All changes | vendor/composer/platform_check.php +26 -0 10.1.2 → 11.1.0 View file →
@@ -1,0 +1,26 @@
1 +<?php
2 +
3 +// platform_check.php @generated by Composer
4 +
5 +$issues = array();
6 +
7 +if (!(PHP_VERSION_ID >= 70400)) {
8 + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
9 +}
10 +
11 +if ($issues) {
12 + if (!headers_sent()) {
13 + header('HTTP/1.1 500 Internal Server Error');
14 + }
15 + if (!ini_get('display_errors')) {
16 + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
17 + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
18 + } elseif (!headers_sent()) {
19 + 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;
20 + }
21 + }
22 + trigger_error(
23 + 'Composer detected issues in your platform: ' . implode(' ', $issues),
24 + E_USER_ERROR
25 + );
26 +}