Home
last modified time | relevance | path

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

12

/PHP-7.3/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-7.3/ext/standard/tests/file/
H A Dbug43008.phpt13 . urlencode("convert.iconv.ISO-8859-15/UTF-8")
14 . '|' . urlencode("string.rot13")
15 . '|' . urlencode("string.rot13")
16 . '|' . urlencode("convert.iconv.UTF-8/ISO-8859-15")
18 var_dump(urlencode(file_get_contents($url)));
H A Dbug27508.phpt54 $fp = fopen("myFile://" . urlencode($tn), "w+");
/PHP-7.3/ext/standard/tests/strings/
H A Dutf8.phpt5 printf("%s -> %s\n", urlencode("�"), urlencode(utf8_encode("�")));
6 printf("%s <- %s\n", urlencode(utf8_decode(urldecode("%C3%A6"))), "%C3%A6");
/PHP-7.3/ext/intl/tests/
H A Duconverter_oop_basic.phpt9 // 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 Duconverter_func_basic.phpt8 // 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 Dbug62070_3.phpt13 echo urlencode($res);
H A Dbug62070_2.phpt14 echo urlencode($res);
H A Dbug62070.phpt14 echo urlencode($res);
H A Didn.phpt13 echo urlencode(idn_to_utf8('xn--tst-qla.de'))."\n";
H A Dnormalizer_normalize_kc_cf.phpt70 $str_hex = urlencode($str);
71 $str_norm_hex = urlencode($str_norm);
H A Dgrapheme.phpt104 $arg1 = urlencode($test[1]);
105 $arg0 = urlencode($test[0]);
171 $arg1 = urlencode($test[1]);
172 $arg0 = urlencode($test[0]);
237 $arg1 = urlencode($test[1]);
238 $arg0 = urlencode($test[0]);
302 $arg1 = urlencode($test[1]);
303 $arg0 = urlencode($test[0]);
400 $arg0 = urlencode($test[0]);
464 $arg1 = urlencode($test[1]);
[all …]
H A Dgrapheme2.phpt104 $arg1 = urlencode($test[1]);
105 $arg0 = urlencode($test[0]);
171 $arg1 = urlencode($test[1]);
172 $arg0 = urlencode($test[0]);
237 $arg1 = urlencode($test[1]);
238 $arg0 = urlencode($test[0]);
302 $arg1 = urlencode($test[1]);
303 $arg0 = urlencode($test[0]);
400 $arg0 = urlencode($test[0]);
464 $arg1 = urlencode($test[1]);
[all …]
H A Dnormalizer_normalize.phpt81 $str_hex = urlencode($str);
82 $str_norm_hex = urlencode($str_norm);
/PHP-7.3/ext/iconv/tests/
H A Dbug48147.phpt9 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.3/tests/lang/
H A Dbug24783.phpt9 echo urlencode($key), ' => ', urlencode($val), "\n";
H A Deach_binary_safety.phpt9 echo urlencode($key), ' => ', urlencode($val), "\n";
/PHP-7.3/ext/standard/tests/array/
H A Dbug14580.phpt8 echo urlencode($key), "\n";
/PHP-7.3/ext/standard/
H A Durl.h44 PHP_FUNCTION(urlencode);
/PHP-7.3/tests/strings/
H A D001.phpt114 echo "Testing urlencode: ";
115 $encoded = urlencode($raw);
217 Testing urlencode: passed
/PHP-7.3/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-7.3/ext/hash/tests/
H A Dsha3.phpt20 echo '== ', urlencode($subject), " ==\n";
/PHP-7.3/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);

Completed in 63 milliseconds

12