mirror of
https://github.com/php/php-src.git
synced 2025-01-22 11:44:09 +08:00
run-tests.php: Added %u|b% placeholder, like %unicode|string%, for array
keys in var_dump() output.
This commit is contained in:
parent
9e6a1cc4a1
commit
38af9b5535
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user