/PHP-7.0/ext/standard/tests/url/ |
H A D | urlencode_error_001.phpt | 2 Test urlencode() function : error conditions 5 /* Prototype : proto string urlencode(string str) 13 echo "*** Testing urlencode() : error conditions ***\n"; 16 echo "\n-- Testing urlencode() function with Zero arguments --\n"; 17 var_dump( urlencode() ); 19 //Test urlencode with one more than the expected number of arguments 23 var_dump( urlencode($str, $extra_arg) ); 28 *** Testing urlencode() : error conditions *** 30 -- Testing urlencode() function with Zero arguments -- 32 Warning: urlencode() expects exactly 1 parameter, 0 given in %s on line 14 [all …]
|
H A D | urlencode_variation_001.phpt | 2 Test urlencode() function : usage variations - <type here specifics of this variation> 5 /* Prototype : proto string urlencode(string str) 18 echo "*** Testing urlencode() : usage variations ***\n"; 77 var_dump( urlencode($value) ); 83 *** Testing urlencode() : usage variations *** 116 Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74) 121 Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74) 126 Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74) 131 Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74) 136 Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74) [all …]
|
/PHP-7.0/ext/standard/tests/file/ |
H A D | bug43008.phpt | 13 . urlencode(b"convert.iconv.ISO-8859-15/UTF-8") 14 . b'|' . urlencode(b"string.rot13") 15 . b'|' . urlencode(b"string.rot13") 16 . b'|' . urlencode(b"convert.iconv.UTF-8/ISO-8859-15") 18 var_dump(urlencode(file_get_contents($url)));
|
H A D | bug27508.phpt | 54 $fp = fopen("myFile://" . urlencode($tn), "w+");
|
/PHP-7.0/ext/xml/tests/ |
H A D | xml006.phpt | 7 printf("%s -> %s\n", urlencode("�"), urlencode(utf8_encode("�"))); 8 printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6");
|
/PHP-7.0/ext/intl/tests/ |
H A D | uconverter_oop_basic.phpt | 9 // urlencode so that non-ascii shows up parsable in phpt file 10 var_dump(urlencode($c->convert("Espa\xF1ol"))); // U+00F1 LATIN SMALL LETTER N WITH TILDE 11 var_dump(urlencode($c->convert("Stra\xDFa"))); // U+00DF LATIN SMALL LETTER SHARP S 12 var_dump(urlencode($c->convert("Stra\xC3\x9Fa", true))); // Reverse prior op
|
H A D | uconverter_func_basic.phpt | 8 // urlencode so that non-ascii shows up parsable in phpt file 9 var_dump(urlencode(UConverter::transcode("Espa\xF1ol", 'utf-8', 'latin1'))); 10 var_dump(urlencode(UConverter::transcode("Stra\xDFa", 'utf-8', 'latin1')));
|
H A D | idn.phpt | 13 echo urlencode(idn_to_utf8('xn--tst-qla.de'))."\n";
|
H A D | bug62070_2.phpt | 13 echo urlencode($res);
|
H A D | bug62070.phpt | 14 echo urlencode($res);
|
H A D | grapheme.phpt | 98 $arg1 = urlencode($test[1]); 99 $arg0 = urlencode($test[0]); 162 $arg1 = urlencode($test[1]); 163 $arg0 = urlencode($test[0]); 228 $arg1 = urlencode($test[1]); 229 $arg0 = urlencode($test[0]); 293 $arg1 = urlencode($test[1]); 294 $arg0 = urlencode($test[0]); 391 $arg0 = urlencode($test[0]); 455 $arg1 = urlencode($test[1]); [all …]
|
H A D | normalizer_normalize.phpt | 76 $str_hex = urlencode($str); 77 $str_norm_hex = urlencode($str_norm);
|
/PHP-7.0/ext/iconv/tests/ |
H A D | bug48147.phpt | 9 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", $text))); 11 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", "\xC3"))); 13 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", "\xC3\xC3\xC3\xB8aa"))); 15 var_dump(urlencode(iconv("UTF-8", "UTF-8//IGNORE", "aa\xC3\xC3\xC3")));
|
/PHP-7.0/tests/lang/ |
H A D | bug24783.phpt | 9 echo urlencode($key), ' => ', urlencode($val), "\n";
|
H A D | each_binary_safety.phpt | 9 echo urlencode($key), ' => ', urlencode($val), "\n";
|
/PHP-7.0/ext/standard/ |
H A D | url_scanner_ex.h | 30 …onst char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int urlencode); 31 …php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode);
|
H A D | url.h | 44 PHP_FUNCTION(urlencode);
|
H A D | url_scanner_ex.c | 888 …const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int urlencode) in php_url_scanner_adapt_single_url() argument 898 if (urlencode) { in php_url_scanner_adapt_single_url() 906 if (urlencode) { in php_url_scanner_adapt_single_url() 1009 … php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode) in php_url_scanner_add_var() argument 1025 if (urlencode) { in php_url_scanner_add_var()
|
H A D | url_scanner_ex.re | 405 …const char *url, size_t urllen, const char *name, const char *value, size_t *newlen, int urlencode) 415 if (urlencode) { 423 if (urlencode) { 526 … php_url_scanner_add_var(char *name, size_t name_len, char *value, size_t value_len, int urlencode) 542 if (urlencode) {
|
/PHP-7.0/ext/standard/tests/array/ |
H A D | bug14580.phpt | 8 echo urlencode($key), "\n";
|
/PHP-7.0/tests/strings/ |
H A D | 001.phpt | 114 echo "Testing urlencode: "; 115 $encoded = urlencode($raw); 217 Testing urlencode: passed
|
/PHP-7.0/ext/ftp/tests/ |
H A D | ftp_get_basic.phpt | 27 var_dump(urlencode(file_get_contents($tmpfname)));
|
H A D | ftp_fget_basic.phpt | 28 var_dump(urlencode(fgets($fp)));
|
/PHP-7.0/ext/phar/tests/files/ |
H A D | pear2coverage.phar.php | 65 return $this->rooturl . '?file=' . urlencode($file) . '&line=' . $line; 68 return $this->rooturl . '?file=' . urlencode($file) . '&test=' . $test; 70 return $this->rooturl . '?file=' . urlencode($file); 82 return $this->rooturl . '?test=' . urlencode($test);
|
/PHP-7.0/ext/mbstring/ |
H A D | README_PHP3-i18n-ja | 387 ex. $str = urlencode( i18n_convert($str, i18n_http_output()) ); 696 xxxx.php?data=<Japanese text>, use urlencode function in PHP. If not, 699 ex: <a href="hoge.php?data=<? echo urlencode($data) ?>">Link</a>
|