1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 19:23:22 +02:00

Better new-line handling

This commit is contained in:
Dmitry Stogov
2019-02-19 19:22:42 +03:00
parent 723acab660
commit b2073253bf
+1 -1
View File
@@ -2523,7 +2523,7 @@ COMMAND $cmd
show_file_block('out', $output);
if ($preload) {
$output = trim(preg_replace("/Warning: Can't preload .*$/m", "", $output));
$output = trim(preg_replace("/\n?Warning: Can't preload [^\n]*\n?/", "", $output));
}
if (isset($section_text['EXPECTF']) || isset($section_text['EXPECTREGEX'])) {