diff options
author | Felix De Vliegher <felixdv@php.net> | 2008-08-29 10:25:54 +0000 |
---|---|---|
committer | Felix De Vliegher <felixdv@php.net> | 2008-08-29 10:25:54 +0000 |
commit | 6476e43eefc01823b1494206d0a0b205cc84cf20 (patch) | |
tree | a3d84e2032663dbbb1f274437eb8e15b2f958775 /run-tests.php | |
parent | 8bf32f28f28e0a3c3f039d6f2ae6cfc1f6fc8012 (diff) | |
download | php-git-6476e43eefc01823b1494206d0a0b205cc84cf20.tar.gz |
Added %unicode_string_optional% for differences in output between PHP 5 and 6
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/run-tests.php b/run-tests.php index c5de430059..92e2180929 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1726,6 +1726,11 @@ COMMAND $cmd if (isset($section_text['EXPECTF'])) { $wanted_re = preg_quote($wanted_re, '/'); $wanted_re = str_replace( + array('%unicode_string_optional%'), + version_compare(PHP_VERSION, '6.0.0-dev') == -1 ? 'string' : 'Unicode string', + $wanted_re + ); + $wanted_re = str_replace( array('%unicode\|string%', '%string\|unicode%'), version_compare(PHP_VERSION, '6.0.0-dev') == -1 ? 'string' : 'unicode', $wanted_re |