1
0
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:
Tim Düsterhus
2025-08-12 12:02:13 +02:00
committed by GitHub
parent 4d6dde595c
commit 3d9d68e1ca
54 changed files with 225 additions and 112 deletions

View File

@@ -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;