andrei Fri Jul 14 23:23:22 2006 UTC
Modified files:
/php-src run-tests.php
Log:
run-tests.php maintainers, rise up!
http://cvs.php.net/viewvc.cgi/php-src/run-tests.php?r1=1.292&r2=1.293&diff_format=u
Index: php-src/run-tests.php
diff -u php-src/run-tests.php:1.292 php-src/run-tests.php:1.293
--- php-src/run-tests.php:1.292 Fri Jul 14 23:09:12 2006
+++ php-src/run-tests.php Fri Jul 14 23:23:22 2006
@@ -23,7 +23,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: run-tests.php,v 1.292 2006/07/14 23:09:12 andrei Exp $ */
+/* $Id: run-tests.php,v 1.293 2006/07/14 23:23:22 andrei Exp $ */
/* Sanity check to ensure that pcre extension needed by this script is
available.
* In the event it is not, print a nice error message indicating that this
script will
@@ -399,7 +399,7 @@
$html_output = is_resource($html_file);
break;
case '--version':
- echo '$Revision: 1.292 $'."\n";
+ echo '$Revision: 1.293 $'."\n";
exit(1);
default:
echo "Illegal switch specified!\n";
@@ -1517,7 +1517,8 @@
}
} else {
$wanted = trim($section_text['EXPECT']);
- if ($unicode_semantics) {
+ var_dump($wanted, $unicode_semantics);
+ if ($unicode_semantics && is_unicode($wanted)) {
/* workaround until preg_replace() or str_replace() are
upgraded */
$wanted = unicode_encode($wanted,
ini_get('unicode.output_encoding'));
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php