We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff698c commit 1ae1c81Copy full SHA for 1ae1c81
src/SPC/store/SourcePatcher.php
@@ -337,7 +337,10 @@ public static function patchPhpLibxml212(): bool
337
$file = file_get_contents(SOURCE_PATH . '/php-src/main/php_version.h');
338
if (preg_match('/PHP_VERSION_ID (\d+)/', $file, $match) !== 0) {
339
$ver_id = intval($match[1]);
340
- if ($ver_id < 80100 && $ver_id >= 80000) {
+ if ($ver_id < 80000) {
341
+ return false;
342
+ }
343
+ if ($ver_id < 80100) {
344
self::patchFile('spc_fix_libxml2_12_php80.patch', SOURCE_PATH . '/php-src');
345
return true;
346
}
0 commit comments