]> granicus.if.org Git - php/commitdiff
pcre tests go with 8.34 upgrade
authorAnatol Belski <ab@php.net>
Tue, 4 Feb 2014 09:34:11 +0000 (10:34 +0100)
committerAnatol Belski <ab@php.net>
Tue, 4 Feb 2014 09:34:11 +0000 (10:34 +0100)
ext/pcre/tests/bug37911.phpt
ext/pcre/tests/grep2.phpt
ext/pcre/tests/match_flags3.phpt

index f7881191b7d7db83ed9bdcf14a0720f8ca8ed02b..2b7481a464de4b1ad5efa0a7fea470bef7b0d8c9 100644 (file)
@@ -37,5 +37,5 @@ array(3) {
   string(4) "blub"
 }
 
-Warning: preg_replace_callback(): Numeric named subpatterns are not allowed in %sbug37911.php on line 14
+Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d
 NULL
index 0cf8d4aebc893d2be7945d38c505f52aa21f86b5..1a8476c396698f761b4112175efea238db70b82e 100644 (file)
@@ -40,6 +40,12 @@ array(1) {
   string(1) "1"
 }
 bool(true)
-array(0) {
+array(3) {
+  [5]=>
+  string(1) "a"
+  ["xyz"]=>
+  string(2) "q6"
+  [6]=>
+  string(3) "h20"
 }
-bool(true)
+bool(false)
index f22205e3d8672928cce352839f4c50898930af13..84deb0b80c526f4b4b4fbcf897a60c01408e0a7a 100644 (file)
@@ -42,5 +42,5 @@ array(1) {
   }
 }
 
-Warning: preg_match(): Numeric named subpatterns are not allowed in %smatch_flags3.php on line 14
+Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset %d in %smatch_flags3.php on line %d
 bool(false)