diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-12 12:55:21 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-12 12:55:21 +0200 |
commit | 0146bab44966977cfb19d93d9dd9741b27cb2e18 (patch) | |
tree | d78c07906da287cf206a889282dc09bdfd4d025a /scripts/dev | |
parent | 319e2bc42e7128aee6590dd83ee9dcb147180af7 (diff) | |
parent | 94d37a5dd7bc493de0842f8f704706bf13b57918 (diff) | |
download | php-git-0146bab44966977cfb19d93d9dd9741b27cb2e18.tar.gz |
Merge branch 'PHP-7.4'
Diffstat (limited to 'scripts/dev')
-rwxr-xr-x | scripts/dev/bless_tests.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/dev/bless_tests.php b/scripts/dev/bless_tests.php index 6885d1782c..25a4843c07 100755 --- a/scripts/dev/bless_tests.php +++ b/scripts/dev/bless_tests.php @@ -54,6 +54,7 @@ function normalizeOutput(string $out): string { $out = preg_replace('/^#(\d+) \/.+\(\d+\):/m', '#$1 %s(%d):', $out); $out = preg_replace('/Resource id #\d+/', 'Resource id #%d', $out); $out = preg_replace('/resource\(\d+\) of type/', 'resource(%d) of type', $out); + $out = preg_replace('/string\(\d+\) "([^"]*%d)/', 'string(%d) "$1', $out); return $out; } |