diff --git a/src/Locale.php b/src/Locale.php index 226ae23..8e8a04d 100644 --- a/src/Locale.php +++ b/src/Locale.php @@ -81,7 +81,7 @@ public static function load($code) self::$list = array(); $handle = fopen($file, 'r'); while (!feof($handle)) { - if (PHP_VERSION >= 80400) { + if (PHP_VERSION_ID >= 80400) { // As of PHP 8.4.0, depending on the default value of escape is deprecated. $line = fgetcsv($handle, null, ',', '"', '\\'); } else {