projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-http]
/
tests
/
urlparser007.phpt
diff --git
a/tests/urlparser007.phpt
b/tests/urlparser007.phpt
index d7ec657e533c71ca8cfa672424df2170cd14a3a9..c1755458635cf65133292018247c1509f6472924 100644
(file)
--- a/
tests/urlparser007.phpt
+++ b/
tests/urlparser007.phpt
@@
-3,7
+3,7
@@
url parser multibyte/utf-8/idna
--SKIPIF--
<?php
include "skipif.inc";
--SKIPIF--
<?php
include "skipif.inc";
-if (!defined("http\\Url::PARSE_TOIDN")) {
+if (!defined("http\\Url::PARSE_TOIDN")
||!defined("http\\Url::PARSE_TOIDN_2003")
) {
die("skip need http\\Url::PARSE_TOIDN support");
}
?>
die("skip need http\\Url::PARSE_TOIDN support");
}
?>
@@
-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(new http\Url($url, null, http\Url::PARSE_MBUTF8|http\Url::PARSE_TOIDN));
+ var_dump(new http\Url($url, null, http\Url::PARSE_MBUTF8|http\Url::PARSE_TOIDN
|http\Url::PARSE_TOIDN_2003
));
}
?>
DONE
}
?>
DONE