]> granicus.if.org Git - php/commitdiff
Fix tests
authorFelipe Pena <felipe@php.net>
Fri, 15 Feb 2008 16:55:11 +0000 (16:55 +0000)
committerFelipe Pena <felipe@php.net>
Fri, 15 Feb 2008 16:55:11 +0000 (16:55 +0000)
ext/pcre/tests/bug42298.phpt
ext/standard/tests/array/count_variation3.phpt

index 156f35677c77a6ac89def1d854868278b884860f..d53fd97712e323278dc4175b8d71018413f80492 100644 (file)
@@ -44,3 +44,36 @@ array(1) {
     string(4) "€ "
   }
 }
+--UEXPECT--
+array(1) {
+  [0]=>
+  array(2) {
+    [0]=>
+    unicode(3) "A£"
+    [1]=>
+    unicode(2) "BC"
+  }
+}
+array(1) {
+  [0]=>
+  array(2) {
+    [0]=>
+    unicode(3) "A£"
+    [1]=>
+    unicode(2) "BC"
+  }
+}
+array(1) {
+  [0]=>
+  array(1) {
+    [0]=>
+    unicode(4) "€ "
+  }
+}
+array(1) {
+  [0]=>
+  array(1) {
+    [0]=>
+    unicode(4) "€ "
+  }
+}
index c867837c776784478470c3ee5714828852a8502b..36338103b43de20b9267a800215224e36328da89 100644 (file)
@@ -33,10 +33,18 @@ echo "Done";
 int(4)
 
 -- $mode = 1: --
+
+Warning: count(): recursion detected in %s on line %d
+int(12)
+Done
 --UEXPECTF--
 *** Testing count() : usage variations ***
 
 -- $mode not set: --
 int(4)
 
--- $mode = 1: --
\ No newline at end of file
+-- $mode = 1: --
+
+Warning: count(): recursion detected in %s on line %d
+int(12)
+Done