projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
travis: fix test
[m6w6/ext-http]
/
tests
/
urlparser007.phpt
diff --git
a/tests/urlparser007.phpt
b/tests/urlparser007.phpt
index 518bb725671c141c47bd0459036c956df223558f..e2cb30965242d095f2e18b54f858ec87ed24900c 100644
(file)
--- a/
tests/urlparser007.phpt
+++ b/
tests/urlparser007.phpt
@@
-3,8
+3,8
@@
url parser multibyte/utf-8/idna
--SKIPIF--
<?php
include "skipif.inc";
--SKIPIF--
<?php
include "skipif.inc";
-if (!defined("http\\Url::PARSE_TOIDN")) {
- die("skip need http\\Url::PARSE_TOIDN support");
+if (!defined("http\\Url::PARSE_TOIDN
_2003
")) {
+ die("skip need http\\Url::PARSE_TOIDN
_2003
support");
}
?>
--FILE--
}
?>
--FILE--
@@
-19,7
+19,7
@@
$urls = array(
foreach ($urls as $url) {
printf("\n%s\n", $url);
foreach ($urls as $url) {
printf("\n%s\n", $url);
- var_dump(
http\Url::parse($url, http\Url::PARSE_MBUTF8|http\Url::PARSE_TOIDN
));
+ var_dump(
new http\Url($url, null, http\Url::PARSE_MBUTF8|http\Url::PARSE_TOIDN_2003
));
}
?>
DONE
}
?>
DONE