- fix PHP4 build (has no only_exceptions INI setting
[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 "-TEST\n";
10 echo http_absolute_uri('page'), "\n";
11 echo http_absolute_uri('with/some/path/'), "\n";
12 ?>
13 --EXPECTF--
14 %sTEST
15 http://localhost/page
16 http://localhost/with/some/path/
17