Home
last modified time | relevance | path

Searched refs:regs (Results 1 – 25 of 25) sorted by relevance

/PHP-5.4/ext/mbstring/tests/
H A Dmb_ereg_variation5.phpt30 echo "ASCII String with \$regs arg:\n";
36 echo "Multubyte String with \$regs arg:\n";
45 * @param array $regs
47 function base64_encode_var_dump($regs) {
48 if ($regs) {
49 echo "array(" . count($regs) . ") {\n";
50 foreach ($regs as $key => $value) {
67 ASCII String without $regs arg: int(1)
68 ASCII String with $regs arg:
75 Multibyte String without $regs arg: int(1)
[all …]
H A Dbug43994.phpt44 Without $regs arg:
48 With $regs arg:
55 Without $regs arg:
59 With $regs arg:
66 Without $regs arg:
70 With $regs arg:
81 With $regs arg:
92 With $regs arg:
103 With $regs arg:
114 With $regs arg:
[all …]
H A Dmb_ereg_basic.phpt35 echo "-- Without \$regs argument--\n";
38 echo "--With \$regs argument --\n";
45 echo "-- Without \$regs argument --\n";
48 echo "-- With \$regs argument --\n";
59 * @param array $regs
62 if ($regs) {
64 foreach ($regs as $key => $value) {
84 -- Without $regs argument--
87 --With $regs argument --
102 -- Without $regs argument --
[all …]
H A Dmb_ereg_variation4.phpt42 if (is_array(@$regs)) {
43 $regs = null;
46 var_dump(mb_ereg($pattern, $string_mb, $regs));
47 if ($regs) {
48 base64_encode_var_dump($regs);
55 * @param array $regs
57 function base64_encode_var_dump($regs) {
58 if ($regs) {
59 echo "array(" . count($regs) . ") {\n";
60 foreach ($regs as $key => $value) {
H A Dmb_ereg_variation3.phpt39 if (is_array(@$regs)) {
40 $regs = null;
44 var_dump(mb_ereg($pattern, $string, $regs));
45 base64_encode_var_dump($regs);
51 * @param array $regs
53 function base64_encode_var_dump($regs) {
54 if ($regs) {
55 echo "array(" . count($regs) . ") {\n";
56 foreach ($regs as $key => $value) {
H A Dmb_ereg_variation7.phpt43 * @param array $regs
45 function base64_encode_var_dump($regs) {
46 if ($regs) {
47 echo "array(" . count($regs) . ") {\n";
48 foreach ($regs as $key => $value) {
H A Dmb_ereg_search_xxx.phpt22 $regs = mb_ereg_search_getregs();
23 array_shift( $regs );
24 …c, mb_ereg_search_getpos(), mb_convert_encoding( ( is_array( $regs ) ? implode( '-', $regs ): '' )…
H A Dmb_ereg_variation1.phpt79 if (@is_array($regs)){
80 $regs = null;
83 var_dump( mb_ereg($input, $string, $regs) );
84 var_dump($regs);
H A Dmb_ereg_variation6.phpt58 * @param array $regs
60 function base64_encode_var_dump($regs) {
61 if ($regs) {
62 echo "array(" . count($regs) . ") {\n";
63 foreach ($regs as $key => $value) {
H A Dmb_ereg_variation2.phpt95 if (@is_array($regs)){
96 $regs = null;
99 var_dump( mb_ereg($pattern, $input, $regs) );
100 var_dump($regs);
/PHP-5.4/ext/ereg/tests/
H A Dereg_basic_004.phpt11 $regs = 'original';
13 var_dump(ereg('A', 'a', $regs));
14 var_dump(ereg('[A-Z]', '0', $regs));
15 var_dump(ereg('(a){4}', 'aaa', $regs));
16 var_dump(ereg('^a', 'ba', $regs));
17 var_dump(ereg('b$', 'ba', $regs));
18 var_dump(ereg('[:alpha:]', 'x', $regs));
20 // Ensure $regs is unchanged
21 var_dump($regs);
H A Deregi_basic_004.phpt11 $regs = 'original';
13 var_dump(eregi('[A-Z]', '0', $regs));
14 var_dump(eregi('(a){4}', 'aaa', $regs));
15 var_dump(eregi('^a', 'ba', $regs));
16 var_dump(eregi('b$', 'ba', $regs));
17 var_dump(eregi('[:alpha:]', 'x', $regs));
19 // Ensure $regs is unchanged
20 var_dump($regs);
H A Dereg_basic_003.phpt16 var_dump(ereg(str_repeat('(.)', 2048), str_repeat('x', 2048), $regs));
17 var_dump(count($regs));
H A Deregi_basic_003.phpt16 var_dump(eregi(str_repeat('(.)', 2048), str_repeat('x', 2048), $regs));
17 var_dump(count($regs));
H A Dereg_error_002.phpt17 $regs = 'original';
26 var_dump(ereg("(+?*)", "hello", $regs));
33 var_dump(ereg('([9-0])', '1', $regs));
35 //ensure $regs unchanged
36 var_dump($regs);
H A Deregi_error_002.phpt17 $regs = 'original';
26 var_dump(eregi("(+?*)", "hello", $regs));
33 var_dump(eregi('([9-0])', '1', $regs));
35 //ensure $regs unchanged
36 var_dump($regs);
H A Dsplit_error_002.phpt17 $regs = 'original';
26 var_dump(split("(+?*)", "hello", $regs));
33 var_dump(split('([9-0])', '1', $regs));
35 //ensure $regs unchanged
36 var_dump($regs);
H A Dspliti_error_002.phpt17 $regs = 'original';
26 var_dump(spliti("(+?*)", "hello", $regs));
33 var_dump(spliti('([9-0])', '1', $regs));
35 //ensure $regs unchanged
36 var_dump($regs);
H A Dereg_basic_001.phpt2 Test ereg() function : basic functionality (with $regs)
12 * Test a number of simple, valid matches with ereg, specifying $regs
22 var_dump(ereg($pattern, $string, $regs));
23 var_dump($regs);
H A Deregi_basic_001.phpt2 Test eregi() function : basic functionality (with $regs)
12 * Test a number of simple, valid matches with eregi, specifying $regs
22 var_dump(eregi($pattern, $string, $regs));
23 var_dump($regs);
H A Dereg_basic_002.phpt2 Test ereg() function : basic functionality (without $regs)
12 * Test a number of simple, valid matches with ereg, without specifying $regs
H A Deregi_basic_002.phpt2 Test eregi() function : basic functionality (without $regs)
12 * Test a number of simple, valid matches with eregi, without specifying $regs
/PHP-5.4/ext/mbstring/
H A Dphp_mbregex.c745 match_len = regs->end[0] - regs->beg[0]; in _php_mb_regex_ereg_exec()
749 beg = regs->beg[i]; in _php_mb_regex_ereg_exec()
750 end = regs->end[i]; in _php_mb_regex_ereg_exec()
764 if (regs != NULL) { in _php_mb_regex_ereg_exec()
905 if (regs->beg[0] == regs->end[0]) { in _php_mb_regex_ereg_replace_exec()
925 if (regs->beg[n] >= 0 && regs->beg[n] < regs->end[n] && regs->end[n] <= string_len) { in _php_mb_regex_ereg_replace_exec()
926 smart_str_appendl(pbuf, string + regs->beg[n], regs->end[n] - regs->beg[n]); in _php_mb_regex_ereg_replace_exec()
965 add_next_index_stringl(subpats, string + regs->beg[i], regs->end[i] - regs->beg[i], 1); in _php_mb_regex_ereg_replace_exec()
989 n = regs->end[0]; in _php_mb_regex_ereg_replace_exec()
1010 if (regs != NULL) { in _php_mb_regex_ereg_replace_exec()
[all …]
/PHP-5.4/ext/mbstring/oniguruma/
H A Dreggnu.c65 struct re_registers* regs) in re_match() argument
68 (UChar* )(str + pos), regs, ONIG_OPTION_NONE); in re_match()
73 struct re_registers* regs) in re_search() argument
78 regs, ONIG_OPTION_NONE); in re_search()
/PHP-5.4/ext/fileinfo/tests/
H A Dmagic9280 >8 belong &0x80000000 save fp regs
9287 >8 belong &0x80000000 save fp regs
9294 >8 belong &0x80000000 save fp regs
9302 >8 belong &0x80000000 save fp regs

Completed in 80 milliseconds