Skip to content

Commit 14ca060

Browse files
committed
test: update pcre extension expectations for new constant and parameter
Update test expectations to reflect changes in the PCRE extension: - Constants count increased from 19 to 20 - preg_replace() now has 6 parameters instead of 5
1 parent 00cffd9 commit 14ca060

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sapi/cli/tests/006.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
4444
}
4545
}
4646

47-
- Constants [19] {
47+
- Constants [20] {
4848
Constant [ <persistent> int PREG_PATTERN_ORDER ] { 1 }
4949
Constant [ <persistent> int PREG_SET_ORDER ] { 2 }
5050
Constant [ <persistent> int PREG_OFFSET_CAPTURE ] { 256 }
@@ -92,7 +92,7 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
9292
}
9393
Function [ <internal:pcre> function preg_replace ] {
9494

95-
- Parameters [5] {
95+
- Parameters [6] {
9696
Parameter #0 [ <required> array|string $pattern ]
9797
Parameter #1 [ <required> array|string $replacement ]
9898
Parameter #2 [ <required> array|string $subject ]

0 commit comments

Comments
 (0)