mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
zend_compile: Deprecate backticks as an alias for shell_exec() (#19443)
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_backticks_as_an_alias_for_shell_exec
This commit is contained in:
@@ -5,7 +5,7 @@ openssl
|
||||
--SKIPIF--
|
||||
<?php
|
||||
$php = getenv('TEST_PHP_EXECUTABLE_ESCAPED');
|
||||
if (false !== stripos(`$php -n -m`, 'openssl')) {
|
||||
if (false !== stripos(shell_exec("$php -n -m"), 'openssl')) {
|
||||
die('skip openssl is built static');
|
||||
}
|
||||
$ext_module = ini_get('extension_dir') . DIRECTORY_SEPARATOR . (substr(PHP_OS, 0, 3) === "WIN" ? "php_openssl." : "openssl.") . PHP_SHLIB_SUFFIX;
|
||||
|
||||
Reference in New Issue
Block a user