Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /usr/local/src/php7/php-7.0.5/ext/curl/tests/ |
Current File : //usr/local/src/php7/php-7.0.5/ext/curl/tests/curl_escape.phpt |
--TEST-- Test curl_escape and curl_unescape() functions --SKIPIF-- <?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); if (!function_exists("curl_escape")) exit("skip curl_escape doesn't exists"); $curl_version = curl_version(); if ($curl_version['version_number'] < 0x071502) { exit("skip: tests works only on curl >= 7.21.2"); } ?> --FILE-- <?php $str = "http://www.php.net/ ?!"; $a = curl_init(); $escaped = curl_escape($a, $str); $original = curl_unescape($a, $escaped); var_dump($escaped, $original); var_dump(curl_unescape($a, 'a%00b')); ?> --EXPECT-- string(36) "http%3A%2F%2Fwww.php.net%2F%20%3F%21" string(22) "http://www.php.net/ ?!" string(3) "a b"
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare