projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- remove the declaration of http_request_global_init() from the header too
[m6w6/ext-http]
/
tests
/
abs_uri_001.phpt
diff --git
a/tests/abs_uri_001.phpt
b/tests/abs_uri_001.phpt
index f0da09e2b979d2347d4e333ed55c0fefc8a6ce1c..e76191e9ff2d71638d02406b363f74938a046197 100644
(file)
--- a/
tests/abs_uri_001.phpt
+++ b/
tests/abs_uri_001.phpt
@@
-1,17
+1,17
@@
--TEST--
http_absolute_uri() with relative paths
--SKIPIF--
--TEST--
http_absolute_uri() with relative paths
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
?>
--FILE--
<?php
include 'skip.inc';
?>
--FILE--
<?php
+echo "-TEST\n";
echo http_absolute_uri('page'), "\n";
echo http_absolute_uri('with/some/path/'), "\n";
?>
--EXPECTF--
echo http_absolute_uri('page'), "\n";
echo http_absolute_uri('with/some/path/'), "\n";
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
-
+%sTEST
http://localhost/page
http://localhost/with/some/path/
http://localhost/page
http://localhost/with/some/path/
+