summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-07-12 12:55:21 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-07-12 12:55:21 +0200
commit0146bab44966977cfb19d93d9dd9741b27cb2e18 (patch)
treed78c07906da287cf206a889282dc09bdfd4d025a /scripts
parent319e2bc42e7128aee6590dd83ee9dcb147180af7 (diff)
parent94d37a5dd7bc493de0842f8f704706bf13b57918 (diff)
downloadphp-git-0146bab44966977cfb19d93d9dd9741b27cb2e18.tar.gz
Merge branch 'PHP-7.4'
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/bless_tests.php1
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;
}