Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/standard/tests/url/
H A Durlencode_error_001.phpt2 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 Durlencode_variation_001.phpt2 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-5.4/ext/standard/tests/file/
H A Dbug43008.phpt11 . urlencode(b"convert.iconv.ISO-8859-15/UTF-8")
12 . b'|' . urlencode(b"string.rot13")
13 . b'|' . urlencode(b"string.rot13")
14 . b'|' . urlencode(b"convert.iconv.UTF-8/ISO-8859-15")
16 var_dump(urlencode(file_get_contents($url)));
H A Dbug27508.phpt54 $fp = fopen("myFile://" . urlencode($tn), "w+");
/PHP-5.4/ext/xml/tests/
H A Dxml006.phpt7 printf("%s -> %s\n", urlencode("�"), urlencode(utf8_encode("�")));
8 printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6");
/PHP-5.4/tests/lang/
H A Deach_binary_safety.phpt9 echo urlencode($key), ' => ', urlencode($val), "\n";
H A Dbug24783.phpt9 echo urlencode($key), ' => ', urlencode($val), "\n";
/PHP-5.4/ext/standard/tests/array/
H A Dbug14580.phpt8 echo urlencode($key), "\n";
/PHP-5.4/ext/intl/tests/
H A Didn.phpt13 echo urlencode(idn_to_utf8('xn--tst-qla.de'))."\n";
H A Dbug62070_2.phpt13 echo urlencode($res);
H A Dbug62070.phpt14 echo urlencode($res);
H A Dgrapheme.phpt98 $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 Dnormalizer_normalize.phpt76 $str_hex = urlencode($str);
77 $str_norm_hex = urlencode($str_norm);
/PHP-5.4/ext/standard/
H A Durl_scanner_ex.h31 …url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC);
H A Durl.h43 PHP_FUNCTION(urlencode);
H A Durl_scanner_ex.c999 …_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC) in php_url_scanner_add_var()
1016 if (urlencode) { in php_url_scanner_add_var()
1033 if (urlencode) in php_url_scanner_add_var()
H A Durl_scanner_ex.re464 …_url_scanner_add_var(char *name, int name_len, char *value, int value_len, int urlencode TSRMLS_DC)
481 if (urlencode) {
498 if (urlencode)
/PHP-5.4/tests/strings/
H A D001.phpt114 echo "Testing urlencode: ";
115 $encoded = urlencode($raw);
203 Testing urlencode: passed
/PHP-5.4/ext/ftp/tests/
H A Dftp_fget_basic.phpt28 var_dump(urlencode(fgets($fp)));
H A Dftp_get_basic.phpt27 var_dump(urlencode(file_get_contents($tmpfname)));
/PHP-5.4/ext/ereg/tests/
H A Deregi_replace_variation_002.phpt77 var_dump(urlencode(eregi_replace($pattern, $value, $string)));
H A Dereg_replace_variation_002.phpt77 var_dump(urlencode(ereg_replace($pattern, $value, $string)));
/PHP-5.4/ext/phar/tests/files/
H A Dpear2coverage.phar.php65 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-5.4/ext/mbstring/
H A DREADME_PHP3-i18n-ja387 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>
/PHP-5.4/
H A Dserver-tests.php162 $post = "php_test_data=" . urlencode(base64_encode(preg_replace("/[\\x00]/", "[0x0]", $data)));
1033 … !post_result_data("status=$status&version=".urlencode(TESTED_PHP_VERSION),$failed_tests_data)) {

Completed in 61 milliseconds

12