projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix: curl_easy_setopt expects a curl_write_callback argument for this option
[m6w6/ext-http]
/
tests
/
urlparser004.phpt
diff --git
a/tests/urlparser004.phpt
b/tests/urlparser004.phpt
index d1cd1eea061a1ac4f362b6e49d2dc8913bf1f5cd..4eab3b749a053169fd22bc4dac68fc40002fa5ba 100644
(file)
--- a/
tests/urlparser004.phpt
+++ b/
tests/urlparser004.phpt
@@
-4,13
+4,15
@@
url parser multibyte/locale
<?php
include "skipif.inc";
if (!defined("http\\Url::PARSE_MBLOC") or
<?php
include "skipif.inc";
if (!defined("http\\Url::PARSE_MBLOC") or
- !
stristr(setlocale(LC_CTYPE, NULL), "utf"
)) {
+ !
utf8locale(
)) {
die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
}
?>
--FILE--
<?php
echo "Test\n";
die("skip need http\\Url::PARSE_MBLOC support and LC_CTYPE=*.UTF-8");
}
?>
--FILE--
<?php
echo "Test\n";
+include "skipif.inc";
+utf8locale();
$urls = array(
"s\xc3\xa7heme:",
$urls = array(
"s\xc3\xa7heme:",