helly           Thu Jul 20 21:39:48 2006 UTC

  Modified files:              
    /php-src/ext/pcre/tests     grep2.phpt 
  Log:
  - Fix unicode expectations
  
http://cvs.php.net/viewvc.cgi/php-src/ext/pcre/tests/grep2.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/pcre/tests/grep2.phpt
diff -u php-src/ext/pcre/tests/grep2.phpt:1.3 
php-src/ext/pcre/tests/grep2.phpt:1.4
--- php-src/ext/pcre/tests/grep2.phpt:1.3       Thu Jul 20 21:19:05 2006
+++ php-src/ext/pcre/tests/grep2.phpt   Thu Jul 20 21:39:48 2006
@@ -43,3 +43,28 @@
 array(0) {
 }
 bool(true)
+--UEXPECTF--
+Warning: preg_grep() expects at most 3 parameters, 4 given in %sgrep2.php on 
line 3
+NULL
+
+Warning: preg_grep() expects parameter 2 to be array, integer given in 
%sgrep2.php on line 4
+NULL
+
+Warning: preg_grep(): Compilation failed: nothing to repeat at offset 0 in 
%sgrep2.php on line 5
+bool(false)
+array(3) {
+  [5]=>
+  string(1) "a"
+  [u"xyz"]=>
+  string(2) "q6"
+  [6]=>
+  string(3) "h20"
+}
+array(1) {
+  [u"x"]=>
+  string(1) "1"
+}
+bool(true)
+array(0) {
+}
+bool(true)

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

Reply via email to