Home
last modified time | relevance | path

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

12

/php-src/ext/standard/tests/file/
H A Dbug51094.phpt6 $ini = parse_ini_string('ini="ini;raw"', false, INI_SCANNER_RAW);
8 $ini = parse_ini_string('ini="ini;raw', false, INI_SCANNER_RAW);
10 $ini = parse_ini_string('ini=ini;raw', false, INI_SCANNER_RAW);
12 $ini = parse_ini_string('ini=ini"raw', false, INI_SCANNER_RAW);
18 string(7) "ini;raw"
21 string(7) "ini"raw"
/php-src/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt10 echo "sha1(raw): " . bin2hex(hash_pbkdf2('sha1', 'password', 'salt', 1, 20, TRUE))."\n";
12 echo "sha1(rounds)(raw): " . bin2hex(hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltS…
15 echo "sha256(raw): " . bin2hex(hash_pbkdf2('sha256', 'password', 'salt', 1, 20, TRUE))."\n";
17 echo "sha256(rounds)(raw): " . bin2hex(hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTs…
24 sha1(raw): 0c60c80f961f0e71f3a9b524af6012062fe037a6
26 sha1(rounds)(raw): 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038
29 sha256(raw): 120fb6cffcf8b32c43e7225256c4f837a86548c9
31 sha256(rounds)(raw): 348c89dbcbd32b2f32d814b8116e84cf2b17347ebc1800181c4e2a1fb8dd53e1c635518c7dac47…
H A Dhash_file_basic1.phpt52 echo "adler32(raw): " . bin2hex(hash_file('adler32', $file, TRUE)) . "\n";
53 echo "md5(raw): " . bin2hex(hash_file('md5', $file, TRUE)). "\n";
54 echo "sha256(raw): " . bin2hex(hash_file('sha256', $file, TRUE)). "\n";
85 adler32(raw): ff87222e
86 md5(raw): 704bf818448f5bbb94061332d2c889aa
87 sha256(raw): a0f5702fa5d3670b80033d668e8732b70550392abb53841355447f8bb0f72245
H A Dhash_hmac_basic.phpt27 echo "md5(raw): " . bin2hex(hash_hmac('md5', $content, $key, TRUE)) . "\n";
28 echo "sha256(raw): " . bin2hex(hash_hmac('sha256', $content, $key, TRUE)) . "\n";
49 md5(raw): 2a632783e2812cf23de100d7d6a463ae
50 sha256(raw): 49bde3496b9510a17d0edd8a4b0ac70148e32a1d51e881ec76faa96534125838
H A Dhash_hmac_file_basic.phpt48 echo "md5(raw): " . bin2hex(hash_hmac_file('md5', $file, $key, TRUE)). "\n";
49 echo "sha256(raw): " . bin2hex(hash_hmac_file('sha256', $file, $key, TRUE)). "\n";
72 md5(raw): 8bddf39dd1c566c27acc7fa85ec36acf
73 sha256(raw): 9135286ca4c84dec711e4b831f6cd39e672e5ff93d011321274eb76733cc1e40
/php-src/ext/mbstring/tests/
H A Dhtmlent_encoding.phpt11 function convertToEntities($raw, $htmlent) {
12 $converted = mb_convert_encoding($raw, 'HTML-ENTITIES', 'UTF-8');
14 …die('Expected ' . bin2hex($raw) . ' to convert to "' . $htmlent . '"; actually got "' . $converted…
17 function convertFromEntities($raw, $htmlent) {
19 if ($converted !== $raw)
20 …die('Expected "' . $htmlent . '" to convert to ' . bin2hex($raw) . '; actually got ' . bin2hex($co…
23 function testConversion($raw, $htmlent) {
24 convertToEntities($raw, $htmlent);
25 convertFromEntities($raw, $htmlent);
H A Duuencode_encoding.phpt13 function testConversion($uuencode, $raw) {
15 if ($converted !== $raw)
16 …die('Expected "' . $uuencode . '" to convert to ' . bin2hex($raw) . '; actually got ' . bin2hex($c…
17 $converted = mb_convert_encoding($raw, 'UUENCODE', '8bit');
19 …die('Expected ' . bin2hex($raw) . ' to convert to "' . $uuencode . '"; actually got "' . $converte…
H A Dbase64_encoding.phpt11 function testConversion($raw, $base64) {
12 $converted = mb_convert_encoding($raw, 'Base64', '8bit');
14 …die('Expected ' . bin2hex($raw) . ' to convert to "' . $base64 . '"; actually got "' . $converted …
16 if ($converted !== $raw)
17 …die('Expected "' . $base64 . '" to convert to ' . bin2hex($raw) . '; actually got ' . bin2hex($con…
H A Dqprint_encoding.phpt11 function testConversion($raw, $qprint) {
12 $converted = mb_convert_encoding($raw, 'QPrint', '8bit');
14 …die('Expected ' . bin2hex($raw) . ' to convert to "' . $qprint . '"; actually got "' . $converted …
16 if ($converted !== str_replace("\n", "\r\n", $raw))
17 …die('Expected "' . $qprint . '" to convert to ' . bin2hex($raw) . '; actually got ' . bin2hex($con…
/php-src/ext/standard/tests/strings/
H A Dsha1_basic.phpt9 echo "\n-- Without raw argument --\n";
18 echo "\n-- With raw == false --\n";
27 echo "\n-- With raw == true --\n";
40 -- Without raw argument --
49 -- With raw == false --
58 -- With raw == true --
H A Dmd5_basic2.phpt2 Test md5() function : basic functionality - with raw output
5 echo "*** Testing md5() : basic functionality - with raw output***\n";
21 *** Testing md5() : basic functionality - with raw output***
H A Dstrncmp_variation7.phpt9 /* A binary function should not expect a null terminated string, and it should treat input as a raw
H A Dstrncasecmp_variation7.phpt9 /* A binary function should not expect a null terminated string, and it should treat input as a raw
H A Dmd5_file.phpt2 Test md5_file() function with ASCII output and raw binary output
55 /* Normal operation with raw binary output */
/php-src/tests/strings/
H A D001.phpt87 $raw = ' !"#$%&\'()*+,-./0123456789:;<=>?'
93 $encoded = rawurlencode($raw);
106 if ($decoded == $raw) {
113 $encoded = urlencode($raw);
126 if ($decoded == $raw) {
133 $raw = "a.\\+*?" . chr(91) . "^" . chr(93) . "b\$c";
134 $quoted = quotemeta($raw);
/php-src/ext/standard/tests/network/
H A Ddns_get_record_error_conditions.phpt30 dns_get_record(): Argument #2 ($type) must be between 1 and 65535 when argument #5 ($raw) is true
31 dns_get_record(): Argument #2 ($type) must be between 1 and 65535 when argument #5 ($raw) is true
/php-src/ext/standard/
H A Ddns_win32.c145 static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, bool raw, zval *subarray) in php_parserr() argument
169 if (raw) { in php_parserr()
361 bool raw = 0; in PHP_FUNCTION() local
364 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) { in PHP_FUNCTION()
381 if (!raw) { in PHP_FUNCTION()
396 if (raw) { in PHP_FUNCTION()
480 php_parserr(pRec, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
488 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
503 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
H A Ddns.c449 …int8_t *cp, uint8_t *end, querybuf *answer, int type_to_fetch, int store, bool raw, zval *subarray) in php_parserr() argument
494 if (raw) { in php_parserr()
829 bool raw = 0; in PHP_FUNCTION() local
837 Z_PARAM_BOOL(raw) in PHP_FUNCTION()
853 if (!raw) { in PHP_FUNCTION()
877 if (raw) { in PHP_FUNCTION()
1010 cp = php_parserr(cp, end, &answer, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
1023 cp = php_parserr(cp, end, &answer, DNS_T_ANY, authns != NULL, raw, &retval); in PHP_FUNCTION()
1035 cp = php_parserr(cp, end, &answer, DNS_T_ANY, 1, raw, &retval); in PHP_FUNCTION()
H A Durl.c449 static zend_always_inline zend_string *php_url_encode_impl(const char *s, size_t len, bool raw) /* … in php_url_encode_impl() argument
489 if (!raw) { in php_url_encode_impl()
497 if (raw) { in php_url_encode_impl()
523 if (!raw && c == ' ') { in php_url_encode_impl()
528 (c > 'z' && (!raw || c != '~'))) { in php_url_encode_impl()
/php-src/ext/curl/tests/
H A Dcurl_postfields_array.phpt15 $url = "http://127.0.0.1:29999/get.inc?test=raw";
47 POST /get.inc?test=raw HTTP/1.1
/php-src/ext/openssl/tests/
H A Dopenssl_x509_fingerprint_basic.phpt16 echo "**Testing raw output md5 **\n";
33 **Testing raw output md5 **
/php-src/ext/sockets/tests/
H A Dsocket_icmp.phpt8 // IPPROTO_ICMP* functions with raw sockets, thus requiring administrative role.
/php-src/ext/intl/tests/
H A Dnormalizer_get_raw_decomposition.phpt11 * Try getting raw decomposition mappings
/php-src/Zend/
H A DREADME.md36 raw PHP code execution (with specialized executor and direct threading execution
37 method). As in most PHP applications raw execution speed isn't the limiting
/php-src/
H A DNEWS53 . Added IPPROTO_ICMP/IPPROTO_ICMPV6 to create raw socket for ICMP usage.

Completed in 25 milliseconds

12