1
0
mirror of https://github.com/danog/MadelineProto.git synced 2025-01-22 19:51:11 +01:00

Warn about 8.1.15

This commit is contained in:
Daniil Gentili 2023-02-09 09:50:57 +01:00
parent 243f1b124d
commit 44688f054a

View File

@ -8,8 +8,8 @@ if (defined('MADELINE_POLYFILLED')) {
define('MADELINE_POLYFILLED', true);
if (PHP_VERSION_ID === 80202) {
echo('PHP 8.2.2 has a critical garbage collector bug, please switch to PHP 8.1, PHP 8.2.1 or PHP 8.2.3 once it gets released');
if (PHP_VERSION_ID === 80202 || PHP_VERSION_ID === 80115) {
echo('PHP 8.2.2 and PHP 8.1.15 have a critical garbage collector bug, please switch to PHP 8.1.14, PHP 8.2.1 or PHP 8.2.3 once it gets released: https://github.com/php/php-src/issues/10496');
die(1);
}