For Programmers: Free Programming Magazines  


Home > Archive > PHP Zend Engine > September 2006 > cvs: ZendEngine2 /tests bug38779.phpt bug38779_1.phpt









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: ZendEngine2 /tests bug38779.phpt bug38779_1.phpt
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!"
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com