Browse Source

Added %unicode_string_optional% for differences in output between PHP 5 and 6

experimental/first_unicode_implementation
Felix De Vliegher 18 years ago
parent
commit
f5234099cd
  1. 5
      run-tests.php

5
run-tests.php

@ -1725,6 +1725,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',

Loading…
Cancel
Save