hi!

Please find the patch as attachment. It fixes a couple of tests in
Zend (unset, heredoc).

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
? bug38779.txt
Index: heredoc_005.phpt
===================================================================
RCS file: /repository/ZendEngine2/tests/heredoc_005.phpt,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 heredoc_005.phpt
--- heredoc_005.phpt    12 Feb 2008 09:27:45 -0000      1.1.2.1
+++ heredoc_005.phpt    9 Aug 2008 22:10:41 -0000
@@ -19,4 +19,4 @@ print "{$x}";
 
 ?>
 --EXPECTF--
-Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting 
T_STRING or T_VARIABLE or T_NUM_STRING in %sheredoc_005.php on line 6
+Parse error: %s in %sheredoc_005.php on line 6
Index: heredoc_013.phpt
===================================================================
RCS file: /repository/ZendEngine2/tests/heredoc_013.phpt,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 heredoc_013.phpt
--- heredoc_013.phpt    5 Apr 2008 22:29:08 -0000       1.1.2.1
+++ heredoc_013.phpt    9 Aug 2008 22:10:55 -0000
@@ -9,4 +9,4 @@ MYLABEL;
 echo $var;
 ?>
 --EXPECTF--
-Parse error: syntax error, unexpected T_START_HEREDOC in %sheredoc_013.php on 
line %d
+Parse error: %s in %sheredoc_013.php on line %d
Index: heredoc_014.phpt
===================================================================
RCS file: /repository/ZendEngine2/tests/heredoc_014.phpt,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 heredoc_014.phpt
--- heredoc_014.phpt    5 Apr 2008 22:29:08 -0000       1.1.2.1
+++ heredoc_014.phpt    9 Aug 2008 22:11:49 -0000
@@ -9,4 +9,4 @@ MYLABEL;
 echo $var;
 ?>
 --EXPECTF--
-Parse error: syntax error, unexpected T_SL in %sheredoc_014.php on line %d
+Parse error: %s in %sheredoc_014.php on line %d
Index: unset.inc
===================================================================
RCS file: /repository/ZendEngine2/tests/unset.inc,v
retrieving revision 1.1
diff -u -p -r1.1 unset.inc
--- unset.inc   5 Oct 2004 06:53:39 -0000       1.1
+++ unset.inc   9 Aug 2008 20:32:35 -0000
@@ -1,3 +1,5 @@
-<?php

-unset($x)

-?>

+<?php
+
+unset($x)
+
+?>
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to