| Antony Dovgal 2006-09-11, 6:56 pm |
| tony2001 Mon Sep 11 14:27:25 2006 UTC
Modified files:
/ZendEngine2/tests bug38779.phpt bug38779_1.phpt
Log:
fix tests
http://cvs.php.net/viewvc.cgi/ZendE...2&diff_format=u
Index: ZendEngine2/tests/bug38779.phpt
diff -u ZendEngine2/tests/bug38779.phpt:1.1 ZendEngine2/tests/bug38779.phpt:1.2
--- ZendEngine2/tests/bug38779.phpt:1.1 Mon Sep 11 14:13:05 2006
+++ ZendEngine2/tests/bug38779.phpt Mon Sep 11 14:27:25 2006
@@ -26,4 +26,4 @@
echo "Done\n";
?>
--EXPECTF--
-Parse error: syntax error, unexpected T_STRING in Loader://qqq.php on line %d
+Parse error: %s error, unexpected T_STRING in Loader://qqq.php on line %d
http://cvs.php.net/viewvc.cgi/ZendE...2&diff_format=u
Index: ZendEngine2/tests/bug38779_1.phpt
diff -u ZendEngine2/tests/bug38779_1.phpt:1.1 ZendEngine2/tests/bug38779_1.phpt:1.2
--- ZendEngine2/tests/bug38779_1.phpt:1.1 Mon Sep 11 14:13:05 2006
+++ ZendEngine2/tests/bug38779_1.phpt Mon Sep 11 14:27:25 2006
@@ -31,7 +31,7 @@
$fp = fopen ('Loader://qqq.php', 'r');
$filename = dirname(__FILE__)."/bug38779.txt";
-$fp1 = fopen($filename, "w");
+$fp1 = fopen($filename, "wt");
fwrite($fp1, "<"."?php blah blah?".">");
fclose($fp1);
@@ -40,6 +40,10 @@
echo "Done\n";
?>
--EXPECTF--
-Parse error: syntax error, unexpected T_STRING in %s on line %d
+Parse error: %s error, unexpected T_STRING in %s on line %d
string(6) "flush!"
string(6) "close!"
+--UEXPECTF--
+Parse error: %s error, unexpected T_STRING in %s on line %d
+unicode(6) "flush!"
+unicode(6) "close!"
|