projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f0da09e2b979d2347d4e333ed55c0fefc8a6ce1c
[m6w6/ext-http]
/
tests
/
abs_uri_001.phpt
1
--TEST--
2
http_absolute_uri() with relative paths
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
?>
7
--FILE--
8
<?php
9
echo http_absolute_uri('page'), "\n";
10
echo http_absolute_uri('with/some/path/'), "\n";
11
?>
12
--EXPECTF--
13
Content-type: text/html
14
X-Powered-By: PHP/%s
15
16
http://localhost/page
17
http://localhost/with/some/path/