]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Fri, 24 Jun 2011 19:23:25 +0000 (19:23 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 24 Jun 2011 19:23:25 +0000 (19:23 +0000)
tests/basic/bug51709_1.phpt
tests/basic/bug51709_2.phpt
tests/lang/bug21820.phpt

index 8abb92555d7828b50d83fa87a8b772ff9428c152..19d298ad7d42d8af89755f564d0d123b0988d01a 100644 (file)
@@ -13,4 +13,4 @@ class foo {
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-Parse error: syntax error, unexpected T_FOR, expecting T_STRING in %sbug51709_1.php on line %d
+Parse error: syntax error, unexpected 'for' (T_FOR), expecting identifier (T_STRING) in %sbug51709_1.php on line %d
index 7763cafe523994dc674c480ee47a53816804e867..c5e904df8307ac9c2777170f9d0bc561dc1e75c4 100644 (file)
@@ -13,4 +13,4 @@ class foo {
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-Parse error: syntax error, unexpected T_GOTO, expecting T_STRING in %sbug51709_2.php on line %d
+Parse error: syntax error, unexpected 'goto' (T_GOTO), expecting identifier (T_STRING) in %sbug51709_2.php on line %d
index 0ca233ea84113c7a6905f6c2521ce2f34b738fe4..b862309e311c185401dcdf3190dcb629276ff5f6 100644 (file)
@@ -9,5 +9,5 @@ $arr = array('foo' => 'bar');
 echo "$arr['foo']";
 
 ?>
---EXPECTREGEX--
-Parse error: (parse|syntax) error, .*expecting `?T_STRING'? or `?T_VARIABLE'? or `?T_NUM_STRING'? in .*bug21820.php on line .*
+--EXPECTF--
+Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in %sbug21820.php on line %d