run-tests.php: Added %u|b% placeholder, like %unicode|string%, for array

keys in var_dump() output.
This commit is contained in:
Arnaud Le Blanc 2008-09-08 09:23:24 +00:00
parent 9e6a1cc4a1
commit 38af9b5535

View File

@ -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);