laruence                                 Mon, 19 Dec 2011 16:57:36 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=321167

Log:
Fix tests

Changed paths:
    U   php/php-src/branches/PHP_5_4/tests/lang/bug29566.phpt
    U   php/php-src/branches/PHP_5_4/tests/strings/offsets_chaining_5.phpt
    U   php/php-src/trunk/tests/lang/bug29566.phpt
    U   php/php-src/trunk/tests/strings/offsets_chaining_5.phpt

Modified: php/php-src/branches/PHP_5_4/tests/lang/bug29566.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/lang/bug29566.phpt       2011-12-19 
16:48:18 UTC (rev 321166)
+++ php/php-src/branches/PHP_5_4/tests/lang/bug29566.phpt       2011-12-19 
16:57:36 UTC (rev 321167)
@@ -12,5 +12,7 @@
 ?>
 ===DONE===
 --EXPECTF--
+Warning: Illegal string offset 'nosuchkey' in %sbug29566.php on line %d
+
 Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d
 ===DONE===

Modified: php/php-src/branches/PHP_5_4/tests/strings/offsets_chaining_5.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/strings/offsets_chaining_5.phpt  
2011-12-19 16:48:18 UTC (rev 321166)
+++ php/php-src/branches/PHP_5_4/tests/strings/offsets_chaining_5.phpt  
2011-12-19 16:57:36 UTC (rev 321167)
@@ -15,8 +15,13 @@
 --EXPECTF--
 bool(true)
 string(6) "foobar"
-bool(true)
+bool(false)
+
+Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d
 string(1) "f"
-bool(true)
+bool(false)
+
+Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d
+
+Warning: Illegal string offset 'bar' in %soffsets_chaining_5.php on line %d
 string(1) "f"
-

Modified: php/php-src/trunk/tests/lang/bug29566.phpt
===================================================================
--- php/php-src/trunk/tests/lang/bug29566.phpt  2011-12-19 16:48:18 UTC (rev 
321166)
+++ php/php-src/trunk/tests/lang/bug29566.phpt  2011-12-19 16:57:36 UTC (rev 
321167)
@@ -12,5 +12,7 @@
 ?>
 ===DONE===
 --EXPECTF--
+Warning: Illegal string offset 'nosuchkey' in %sbug29566.php on line %d
+
 Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d
 ===DONE===

Modified: php/php-src/trunk/tests/strings/offsets_chaining_5.phpt
===================================================================
--- php/php-src/trunk/tests/strings/offsets_chaining_5.phpt     2011-12-19 
16:48:18 UTC (rev 321166)
+++ php/php-src/trunk/tests/strings/offsets_chaining_5.phpt     2011-12-19 
16:57:36 UTC (rev 321167)
@@ -15,8 +15,13 @@
 --EXPECTF--
 bool(true)
 string(6) "foobar"
-bool(true)
+bool(false)
+
+Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d
 string(1) "f"
-bool(true)
+bool(false)
+
+Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d
+
+Warning: Illegal string offset 'bar' in %soffsets_chaining_5.php on line %d
 string(1) "f"
-

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to