mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-8.0'
This commit is contained in:
commit
0dbbf9ec47
1 changed files with 2 additions and 1 deletions
|
@ -1678,6 +1678,7 @@ escape:
|
||||||
'E_USER_NOTICE',
|
'E_USER_NOTICE',
|
||||||
'E_STRICT', // TODO Cleanup when removed from Zend Engine.
|
'E_STRICT', // TODO Cleanup when removed from Zend Engine.
|
||||||
'E_RECOVERABLE_ERROR',
|
'E_RECOVERABLE_ERROR',
|
||||||
|
'E_DEPRECATED',
|
||||||
'E_USER_DEPRECATED'
|
'E_USER_DEPRECATED'
|
||||||
];
|
];
|
||||||
$error_consts = array_combine(array_map('constant', $error_consts), $error_consts);
|
$error_consts = array_combine(array_map('constant', $error_consts), $error_consts);
|
||||||
|
@ -2756,7 +2757,7 @@ $output
|
||||||
if (strpos($log_format, 'S') !== false) {
|
if (strpos($log_format, 'S') !== false) {
|
||||||
$env_lines = [];
|
$env_lines = [];
|
||||||
foreach ($env as $env_var => $env_val) {
|
foreach ($env as $env_var => $env_val) {
|
||||||
$env_lines[] = "export $env_var=" . escapeshellarg($env_val);
|
$env_lines[] = "export $env_var=" . escapeshellarg($env_val ?? "");
|
||||||
}
|
}
|
||||||
$exported_environment = $env_lines ? "\n" . implode("\n", $env_lines) . "\n" : "";
|
$exported_environment = $env_lines ? "\n" . implode("\n", $env_lines) . "\n" : "";
|
||||||
$sh_script = <<<SH
|
$sh_script = <<<SH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue