Home
last modified time | relevance | path

Searched refs:from (Results 26 – 50 of 1368) sorted by relevance

12345678910>>...55

/PHP-5.6/ext/mbstring/oniguruma/
H A Dregext.c95 conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* end, in conv_encoding() argument
101 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) { in conv_encoding()
108 else if (from == ONIG_ENCODING_UTF16_LE) { in conv_encoding()
118 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) { in conv_encoding()
125 else if (from == ONIG_ENCODING_UTF16_BE) { in conv_encoding()
130 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) { in conv_encoding()
137 else if (from == ONIG_ENCODING_UTF32_LE) { in conv_encoding()
147 if (from == ONIG_ENCODING_ASCII || from == ONIG_ENCODING_ISO_8859_1) { in conv_encoding()
154 else if (from == ONIG_ENCODING_UTF32_BE) { in conv_encoding()
/PHP-5.6/ext/standard/tests/math/
H A Dbase_convert_variation2.phpt78 Warning: base_convert(): Invalid `from base' (0) in %s on line %d
83 Warning: base_convert(): Invalid `from base' (1) in %s on line %d
88 Warning: base_convert(): Invalid `from base' (-1) in %s on line %d
116 Warning: base_convert(): Invalid `from base' (0) in %s on line %d
121 Warning: base_convert(): Invalid `from base' (0) in %s on line %d
126 Warning: base_convert(): Invalid `from base' (0) in %s on line %d
131 Warning: base_convert(): Invalid `from base' (0) in %s on line %d
136 Warning: base_convert(): Invalid `from base' (1) in %s on line %d
141 Warning: base_convert(): Invalid `from base' (0) in %s on line %d
146 Warning: base_convert(): Invalid `from base' (1) in %s on line %d
[all …]
/PHP-5.6/ext/standard/tests/file/
H A Dfread_variation1.phpt83 // read from file, by giving the file actual size,
115 Reading 1024 bytes from file, expecting 1024 bytes ... OK
122 Reading 1000 bytes from file, expecting 1000 bytes ... OK
130 Reading 1024 bytes from file, expecting 1024 bytes ... OK
137 Reading 1000 bytes from file, expecting 1000 bytes ... OK
145 Reading 1024 bytes from file, expecting 1024 bytes ... OK
152 Reading 1000 bytes from file, expecting 1000 bytes ... OK
160 Reading 1024 bytes from file, expecting 1024 bytes ... OK
167 Reading 1000 bytes from file, expecting 1000 bytes ... OK
175 Reading 1024 bytes from file, expecting 1024 bytes ... OK
[all …]
H A Dfgets_socket_variation1.phpt31 echo "\n\nRead a line from the client:\n";
34 echo "\n\nRead another line from the client:\n";
37 echo "\n\nClose the server side socket and read the remaining data from the client\n";
51 Read a line from the client:
56 Read another line from the client:
61 Close the server side socket and read the remaining data from the client
/PHP-5.6/tests/lang/
H A D024.phpt540 $j should go from 3 to 4, and $q should go from 3 to 4
556 $j should go from 3 to 4, and $q should go from 3 to 4
572 $j should go from 3 to 4, and $q should go from 3 to 4
765 $j should go from 3 to 4, and $q should go from 3 to 4
781 $j should go from 3 to 4, and $q should go from 3 to 4
797 $j should go from 3 to 4, and $q should go from 3 to 4
990 $j should go from 3 to 4, and $q should go from 3 to 4
1006 $j should go from 3 to 4, and $q should go from 3 to 4
1022 $j should go from 3 to 4, and $q should go from 3 to 4
1215 $j should go from 3 to 4, and $q should go from 3 to 4
[all …]
H A DforeachLoop.011.phpt2 Changing from an interable type to a non iterable type during the iteration
5 echo "\nChange from array to non iterable:\n";
13 echo "\nChange from object to non iterable:\n";
26 Change from array to non iterable:
31 Change from object to non iterable:
/PHP-5.6/ext/intl/tests/
H A Dgrapheme.phpt105 $res_str .= " from $test[2]";
169 $res_str .= " from $test[2]";
235 $res_str .= " from $test[2]";
300 $res_str .= " from $test[2]";
795 find "a" in "abc" - grapheme_strpos from 0 = 0 == 0
797 find "a" in "ababc" - grapheme_strpos from 1 = 2 == 2
813 find "ab" in "abc" - grapheme_strpos from 0 = 0 == 0
814 find "abc" in "abc" - grapheme_strpos from 0 = 0 == 0
836 find "A" in "abc" - grapheme_stripos from 0 = 0 == 0
852 find "ab" in "ABc" - grapheme_stripos from 0 = 0 == 0
[all …]
/PHP-5.6/ext/reflection/tests/
H A DReflectionClass_getConstant_basic.phpt6 const a = 'hello from C';
13 const a = 'hello from F';
28 string(12) "hello from C"
31 string(12) "hello from C"
34 string(12) "hello from C"
37 string(12) "hello from F"
H A DReflectionObject_getConstants_basic.phpt6 const a = 'hello from C';
13 const a = 'hello from F';
30 string(12) "hello from C"
35 string(12) "hello from C"
40 string(12) "hello from C"
45 string(12) "hello from F"
H A DReflectionObject_getConstant_basic.phpt6 const a = 'hello from C';
13 const a = 'hello from F';
28 string(12) "hello from C"
31 string(12) "hello from C"
34 string(12) "hello from C"
37 string(12) "hello from F"
H A DReflectionParameter_001.phpt26 echo "Parameters from twoArgMethod:\n\n";
35 echo "Parameters from oneArgNonStatic:\n\n";
45 echo "Parameters from noArgs:\n\n";
57 Parameters from twoArgMethod:
69 Parameters from oneArgNonStatic:
76 Parameters from noArgs:
/PHP-5.6/ext/sybase_ct/tests/
H A Dtest_unbuffered_no_full_fetch.phpt18 $q= sybase_unbuffered_query('select name from master..systypes', $db);
21 // Fetch #2 - without having fetched all rows from previous query
22 $q= sybase_unbuffered_query('select name from master..systypes', $db);
25 // Fetch #3 - free first, without having fetched all rows from previous query
27 $q= sybase_unbuffered_query('select name from master..systypes', $db);
30 // Close - without having fetched all rows from previous query
39 Notice: sybase_unbuffered_query(): Sybase: Called without first fetching all rows from a previous …
H A Dbug43578.phpt27 var_dump(sybase_select_ex($db, 'select DC_Rights from #Resource where Resource_ID = 122'));
30 var_dump(sybase_select_ex($db, 'select DC_Rights from #Resource where Resource_ID = 123'));
33 var_dump(sybase_select_ex($db, 'select DC_Rights from #Resource where Resource_ID = 124'));
43 >>> Query: select DC_Rights from #Resource where Resource_ID = 122
47 >>> Query: select DC_Rights from #Resource where Resource_ID = 123
56 >>> Query: select DC_Rights from #Resource where Resource_ID = 124
/PHP-5.6/tests/classes/
H A Dconstants_basic_003.phpt16 const MY_CONST = "hello from C";
25 string(12) "hello from A"
26 string(12) "hello from C"
27 string(12) "hello from A"
28 string(12) "hello from C"
/PHP-5.6/ext/standard/tests/strings/
H A Dconvert_cyr_string_error.phpt6 /* Prototype : string convert_cyr_string ( string $str , string $from , string $to )
7 * Description: Convert from one Cyrillic character set to another
12 $from = "k";
22 var_dump( convert_cyr_string($str, $from) );
25 var_dump( convert_cyr_string($str, $from, $to, $extra_arg) );
27 echo "\n-- Testing convert_cyr_string() function with invalid 'from' character set --\n";
31 var_dump(bin2hex( convert_cyr_string($str, $from, "?")) );
33 echo "\n-- Testing convert_cyr_string() function with invalid 'from' and 'to' character set --\n";
56 -- Testing convert_cyr_string() function with invalid 'from' character set --
66 -- Testing convert_cyr_string() function with invalid 'from' and 'to' character set --
H A Dstrtr_variation6.phpt2 Test strtr() function : usage variations - unexpected inputs for 'from' argument
5 /* Prototype : string strtr(string $str, string $from[, string $to]);
11 /* Test strtr() function: with unexpected inputs for 'from'
15 echo "*** Testing strtr() function: with unexpected inputs for 'from' ***\n";
34 // array of values for 'from'
78 // loop through with each element of the $from array to test strtr() function
82 $from = $from_arr[$index];
83 var_dump( strtr($str, $from, $to) );
91 *** Testing strtr() function: with unexpected inputs for 'from' ***
/PHP-5.6/ext/bz2/tests/
H A D003.txt.bz2
/PHP-5.6/ext/oci8/tests/
H A Drefcur_prefetch_4.phpt92 // Fetch from PL/SQL
97 echo "Fetch Row from PL/SQL\n";
101 // Fetch from PHP
102 echo "Fetch Row from PHP\n";
112 // Fetch from PHP
117 echo "Fetch Row from PHP\n";
125 // Fetch from PL/SQL
162 Fetch Row from PL/SQL
165 Fetch Row from PHP
173 Fetch Row from PHP
[all …]
H A Drefcur_prefetch_1.phpt125 Fetch Row from PHP
132 Fetch Row from PL/SQL
138 Fetch Row from PHP
145 Fetch Row from PL/SQL
151 Fetch Row from PHP
162 Fetch Row from PL/SQL
168 Fetch Row from PHP
181 Fetch Row from PHP
194 Fetch Row from PHP
213 Fetch Row from PHP
[all …]
/PHP-5.6/ext/iconv/tests/
H A Diconv_mime_decode_headers_variation2.phpt27 Received: from localhost (localhost [127.0.0.1]) by localhost
30 (envelope-from example-return-0000-example=example.com@example.com)
135 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
154 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
173 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
192 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
211 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
230 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
249 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
268 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
[all …]
H A Diconv_mime_decode_headers_variation3.phpt30 Received: from localhost (localhost [127.0.0.1]) by localhost
33 (envelope-from example-return-0000-example=example.com@example.com)
138 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
157 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
176 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
195 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
214 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
233 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
252 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
271 …"from localhost (localhost [127.0.0.1]) by localhost with SMTP id example for <example@example.com…
[all …]
/PHP-5.6/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c284 enum mbfl_no_encoding from, in mbfl_convert_filter_common_init() argument
292 if ((filter->from = mbfl_no2encoding(from)) == NULL) { in mbfl_convert_filter_common_init()
325 enum mbfl_no_encoding from, in mbfl_convert_filter_new() argument
334 vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_new()
413 vtbl = mbfl_convert_filter_get_vtbl(from, to); in mbfl_convert_filter_reset()
419 mbfl_convert_filter_common_init(filter, from, to, vtbl, in mbfl_convert_filter_reset()
584 from = mbfl_no_encoding_8bit; in mbfl_convert_filter_get_vtbl()
585 } else if (from == mbfl_no_encoding_base64 || in mbfl_convert_filter_get_vtbl()
586 from == mbfl_no_encoding_qprint || in mbfl_convert_filter_get_vtbl()
587 from == mbfl_no_encoding_uuencode) { in mbfl_convert_filter_get_vtbl()
[all …]
/PHP-5.6/ext/gd/tests/
H A Dcreatefromgd2.phpt12 echo 'test create from gd2: ';
17 echo 'test create from gd2 part: ';
22 test create from gd2: ok
23 test create from gd2 part: ok
/PHP-5.6/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt24 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); //false (EAGAIN - no warning)
35 $from = "";
38 socket_recvfrom($socket, $buf, 12, 0, $from); // cause warning
39 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port);
41 die('An error occurred while receiving from the socket');
45 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
56 Received Ping! from remote address 127.0.0.1 and remote port 1223
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt21 var_dump(socket_recvfrom($socket, $buf, 12, 0, $from, $port)); // false (EAGAIN, no warning)
37 $from = "";
40 socket_recvfrom($socket, $buf, 12, 0, $from); // cause warning
41 $bytes_received = socket_recvfrom($socket, $buf, 12, 0, $from, $port);
43 die('An error occurred while receiving from the socket');
47 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
58 Received Ping! from remote address ::1 and remote port 1223

Completed in 79 milliseconds

12345678910>>...55