From 38af9b553575a2aadec5893ec380736c4077601f Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Mon, 8 Sep 2008 09:23:24 +0000 Subject: [PATCH] run-tests.php: Added %u|b% placeholder, like %unicode|string%, for array keys in var_dump() output. --- run-tests.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run-tests.php b/run-tests.php index 9b9b2f9157..8ea1aeda48 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1741,6 +1741,11 @@ COMMAND $cmd version_compare(PHP_VERSION, '6.0.0-dev') == -1 ? 'string' : 'unicode', $wanted_re ); + $wanted_re = str_replace( + array('%u\|b%', '%b\|u%'), + version_compare(PHP_VERSION, '6.0.0-dev') == -1 ? '' : 'u', + $wanted_re + ); // Stick to basics $wanted_re = str_replace('%e', '\\' . DIRECTORY_SEPARATOR, $wanted_re); $wanted_re = str_replace('%s', '[^\r\n]+', $wanted_re); -- 2.50.1