summaryrefslogtreecommitdiff
path: root/ext/pcre
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre')
-rw-r--r--ext/pcre/tests/004.phpt2
-rw-r--r--ext/pcre/tests/006.phpt2
-rw-r--r--ext/pcre/tests/bug52971.phpt2
-rw-r--r--ext/pcre/tests/bug63055.phpt2
-rw-r--r--ext/pcre/tests/bug67238.phpt2
-rw-r--r--ext/pcre/tests/bug75539.phpt2
-rw-r--r--ext/pcre/tests/marks.phpt2
-rw-r--r--ext/pcre/tests/no_jit_bug70110.phpt2
-rw-r--r--ext/pcre/tests/preg_match_all_basic.phpt2
-rw-r--r--ext/pcre/tests/preg_match_all_edit_basic.phpt2
-rw-r--r--ext/pcre/tests/preg_match_basic.phpt2
-rw-r--r--ext/pcre/tests/preg_match_basic_002.phpt2
-rw-r--r--ext/pcre/tests/preg_match_basic_edit.phpt2
-rw-r--r--ext/pcre/tests/preg_replace.phpt2
-rw-r--r--ext/pcre/tests/preg_replace_callback_array.phpt2
-rw-r--r--ext/pcre/tests/preg_replace_callback_basic.phpt2
-rw-r--r--ext/pcre/tests/preg_replace_edit_basic.phpt2
-rw-r--r--ext/pcre/tests/preg_replace_variation1.phpt2
18 files changed, 18 insertions, 18 deletions
diff --git a/ext/pcre/tests/004.phpt b/ext/pcre/tests/004.phpt
index 11361d1b32..606b561126 100644
--- a/ext/pcre/tests/004.phpt
+++ b/ext/pcre/tests/004.phpt
@@ -14,7 +14,7 @@ var_dump($m);
var_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(s, preg_match)\n{\nlalala", -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_OFFSET_CAPTURE));
?>
---EXPECTF--
+--EXPECT--
int(2)
array(2) {
[0]=>
diff --git a/ext/pcre/tests/006.phpt b/ext/pcre/tests/006.phpt
index a16b4fbe71..793581ecd9 100644
--- a/ext/pcre/tests/006.phpt
+++ b/ext/pcre/tests/006.phpt
@@ -17,7 +17,7 @@ var_dump($result);
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
string(58) "[CODE]<td align="$stylevar[right]">[/CODE]"
NULL
string(58) "[CODE]<td align="$stylevar[right]">[/CODE]"
diff --git a/ext/pcre/tests/bug52971.phpt b/ext/pcre/tests/bug52971.phpt
index 25a5424b8e..130fbf31a2 100644
--- a/ext/pcre/tests/bug52971.phpt
+++ b/ext/pcre/tests/bug52971.phpt
@@ -16,7 +16,7 @@ preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
var_dump($match);
?>
---EXPECTF--
+--EXPECT--
array(1) {
[0]=>
array(2) {
diff --git a/ext/pcre/tests/bug63055.phpt b/ext/pcre/tests/bug63055.phpt
index 16c50b54e5..a5f582d5d2 100644
--- a/ext/pcre/tests/bug63055.phpt
+++ b/ext/pcre/tests/bug63055.phpt
@@ -19,5 +19,5 @@ $matches[2] = $dummy;
preg_match_all("/(\d)+/", "foo123456bar", $matches);
echo "okey";
?>
---EXPECTF--
+--EXPECT--
okey
diff --git a/ext/pcre/tests/bug67238.phpt b/ext/pcre/tests/bug67238.phpt
index 117662af6b..66f4d6c272 100644
--- a/ext/pcre/tests/bug67238.phpt
+++ b/ext/pcre/tests/bug67238.phpt
@@ -6,5 +6,5 @@ Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
echo preg_match('/a{1,3}b/U', 'ab');
?>
---EXPECTF--
+--EXPECT--
1
diff --git a/ext/pcre/tests/bug75539.phpt b/ext/pcre/tests/bug75539.phpt
index 12c56e0b76..17b256f9c4 100644
--- a/ext/pcre/tests/bug75539.phpt
+++ b/ext/pcre/tests/bug75539.phpt
@@ -7,6 +7,6 @@ var_dump(preg_match('/((?1)?z)/', ''));
var_dump(preg_last_error() === \PREG_INTERNAL_ERROR);
?>
---EXPECTF--
+--EXPECT--
int(0)
bool(false)
diff --git a/ext/pcre/tests/marks.phpt b/ext/pcre/tests/marks.phpt
index 8838a00500..1ff33e96e7 100644
--- a/ext/pcre/tests/marks.phpt
+++ b/ext/pcre/tests/marks.phpt
@@ -33,7 +33,7 @@ var_dump(preg_replace_callback($regex, function($matches) {
}, '_a__b__c__d_'));
?>
---EXPECTF--
+--EXPECT--
int(1)
array(5) {
[0]=>
diff --git a/ext/pcre/tests/no_jit_bug70110.phpt b/ext/pcre/tests/no_jit_bug70110.phpt
index d1ce7abc4e..fa673ac935 100644
--- a/ext/pcre/tests/no_jit_bug70110.phpt
+++ b/ext/pcre/tests/no_jit_bug70110.phpt
@@ -10,7 +10,7 @@ var_dump(preg_match('~(*NO_JIT)(a)*~', str_repeat('a', 5431), $match))
?>
==DONE==
---EXPECTF--
+--EXPECT--
int(1)
int(1)
==DONE==
diff --git a/ext/pcre/tests/preg_match_all_basic.phpt b/ext/pcre/tests/preg_match_all_basic.phpt
index 20c4a96be4..773bad3053 100644
--- a/ext/pcre/tests/preg_match_all_basic.phpt
+++ b/ext/pcre/tests/preg_match_all_basic.phpt
@@ -24,7 +24,7 @@ var_dump(preg_match_all('/this isn\'t in the string/', $string));
var_dump(preg_match_all('/world/', $string));
var_dump(preg_match_all('/[0-9]/', $string));
?>
---EXPECTF--
+--EXPECT--
int(1)
array(1) {
[0]=>
diff --git a/ext/pcre/tests/preg_match_all_edit_basic.phpt b/ext/pcre/tests/preg_match_all_edit_basic.phpt
index 9edcf73596..b0de5c92ad 100644
--- a/ext/pcre/tests/preg_match_all_edit_basic.phpt
+++ b/ext/pcre/tests/preg_match_all_edit_basic.phpt
@@ -25,7 +25,7 @@ var_dump($match4);
var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches)
var_dump($match5);
?>
---EXPECTF--
+--EXPECT--
int(1)
array(1) {
[0]=>
diff --git a/ext/pcre/tests/preg_match_basic.phpt b/ext/pcre/tests/preg_match_basic.phpt
index ddf54a0aaf..8538033f52 100644
--- a/ext/pcre/tests/preg_match_basic.phpt
+++ b/ext/pcre/tests/preg_match_basic.phpt
@@ -19,7 +19,7 @@ var_dump(preg_match('/hello world/', $string, $match5)); //tries to find "hello
var_dump($match5);
?>
---EXPECTF--
+--EXPECT--
int(1)
array(1) {
diff --git a/ext/pcre/tests/preg_match_basic_002.phpt b/ext/pcre/tests/preg_match_basic_002.phpt
index 977a67ea10..3bfc9942fe 100644
--- a/ext/pcre/tests/preg_match_basic_002.phpt
+++ b/ext/pcre/tests/preg_match_basic_002.phpt
@@ -13,7 +13,7 @@ preg_match("/M(.*)/", $string, $matches);
var_dump($matches);
?>
===Done===
---EXPECTF--
+--EXPECT--
array(2) {
[0]=>
string(2) "My"
diff --git a/ext/pcre/tests/preg_match_basic_edit.phpt b/ext/pcre/tests/preg_match_basic_edit.phpt
index bd469d3346..f79c3628c6 100644
--- a/ext/pcre/tests/preg_match_basic_edit.phpt
+++ b/ext/pcre/tests/preg_match_basic_edit.phpt
@@ -27,7 +27,7 @@ var_dump(preg_match('/hello world/', $string, $match5)); //tries to find "
var_dump($match5);
?>
---EXPECTF--
+--EXPECT--
int(1)
array(1) {
diff --git a/ext/pcre/tests/preg_replace.phpt b/ext/pcre/tests/preg_replace.phpt
index 092857c57e..4d57d9f7ee 100644
--- a/ext/pcre/tests/preg_replace.phpt
+++ b/ext/pcre/tests/preg_replace.phpt
@@ -9,7 +9,7 @@ var_dump(preg_replace('{{\D+}}', 'ddd', 'abcd'));
var_dump(preg_replace('/(ab)(c)(d)(e)(f)(g)(h)(i)(j)(k)/', 'a${1}2$103', 'zabcdefghijkl'));
?>
---EXPECTF--
+--EXPECT--
string(1) "x"
string(4) "abcd"
string(8) "zaab2k3l"
diff --git a/ext/pcre/tests/preg_replace_callback_array.phpt b/ext/pcre/tests/preg_replace_callback_array.phpt
index 6780bfba1b..01973eaa32 100644
--- a/ext/pcre/tests/preg_replace_callback_array.phpt
+++ b/ext/pcre/tests/preg_replace_callback_array.phpt
@@ -42,7 +42,7 @@ var_dump(preg_replace_callback_array(
var_dump($count);
?>
---EXPECTF--
+--EXPECT--
string(2) "ok"
string(2) "ok"
string(2) "ok"
diff --git a/ext/pcre/tests/preg_replace_callback_basic.phpt b/ext/pcre/tests/preg_replace_callback_basic.phpt
index 01d290a1b9..45778871db 100644
--- a/ext/pcre/tests/preg_replace_callback_basic.phpt
+++ b/ext/pcre/tests/preg_replace_callback_basic.phpt
@@ -26,7 +26,7 @@ $new_subject3 = preg_replace_callback('/\d/', "integer_word", $subject3, 5, $cou
print "$new_subject3 \n";
print $count;
?>
---EXPECTF--
+--EXPECT--
there are seven words in this sentence.
one two three 4 is now written in words
there are no numbers in this string
diff --git a/ext/pcre/tests/preg_replace_edit_basic.phpt b/ext/pcre/tests/preg_replace_edit_basic.phpt
index 556b48b8c1..adcee00d9e 100644
--- a/ext/pcre/tests/preg_replace_edit_basic.phpt
+++ b/ext/pcre/tests/preg_replace_edit_basic.phpt
@@ -29,7 +29,7 @@ var_dump(preg_replace('<(\w)\s*-\s*(\w)>',
var_dump(preg_replace('<(^[a-z]\w+)@(\w+)\.(\w+)\.([a-z]{2,}$)>',
'\\1 at \\2 dot \\3 dot \\4', 'josmessa@uk.ibm.com')); //finds the e-mail address and replaces the @ and . with "at" and "dot" (uses backreferences) ('josmessa at uk dot ibm dot com')
?>
---EXPECTF--
+--EXPECT--
string(54) "123456789 - Hello, world - This is a string."
string(54) "123456789 - Hello, world - This is a string."
string(54) "444444789 - Hello, world - This is a string."
diff --git a/ext/pcre/tests/preg_replace_variation1.phpt b/ext/pcre/tests/preg_replace_variation1.phpt
index ac79e0bfaf..d99cc63212 100644
--- a/ext/pcre/tests/preg_replace_variation1.phpt
+++ b/ext/pcre/tests/preg_replace_variation1.phpt
@@ -13,5 +13,5 @@ $string = 'This is a string. It contains numbers (0-9) as well as parentheses an
$new_string = preg_replace(array('/\b\w{1}s/', '/(\d{1})-(\d{1})/', '/[\(!\)]/'), array('test', '$1 to $2', '*'), $string);
print $new_string;
?>
---EXPECTF--
+--EXPECT--
This test a string. It contains numbers *0 to 9* test well test parentheses and some other things*