mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
Fix test case
Unmatched subpatterns are reported as NULL as of commit ee6aaee8, so we
adjust the test accordingly.
This commit is contained in:
@@ -34,11 +34,11 @@ array(3) {
|
||||
["chr"]=>
|
||||
string(1) "b"
|
||||
[1]=>
|
||||
string(0) ""
|
||||
NULL
|
||||
["num"]=>
|
||||
string(0) ""
|
||||
NULL
|
||||
[2]=>
|
||||
string(0) ""
|
||||
NULL
|
||||
[3]=>
|
||||
string(1) "b"
|
||||
}
|
||||
@@ -77,11 +77,11 @@ array(3) {
|
||||
["chr"]=>
|
||||
string(1) "b"
|
||||
[1]=>
|
||||
string(0) ""
|
||||
NULL
|
||||
["num"]=>
|
||||
string(0) ""
|
||||
NULL
|
||||
[2]=>
|
||||
string(0) ""
|
||||
NULL
|
||||
[3]=>
|
||||
string(1) "b"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user