N°5108 - Update embedded libs for PHP 8.0 (3.0 branch)

This commit is contained in:
acognet
2022-06-27 23:38:58 +02:00
parent 15b9ea45a0
commit 93a69cbc49
53 changed files with 8004 additions and 2727 deletions

View File

@@ -108,7 +108,10 @@ if (PHP_VERSION_ID < 80000) {
}
}
if (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) {
if (
(function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true))
|| (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper'))
) {
include("phpvfscomposer://" . __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss');
exit(0);
}