1. php
  2. php-src

Commits

laru...@c90b9560-bf6c-de11-be94-00142212c4b1  committed 63661b2

Fix tests

  • Participants
  • Parent commits e7f4d88
  • Branches PHP_5_4

Comments (0)

Files changed (2)

File tests/lang/bug29566.phpt

View file
  • Ignore whitespace
 ?>
 ===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===

File tests/strings/offsets_chaining_5.phpt

View file
  • Ignore whitespace
 --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"
-