projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cccae322d8f2b757d297e21711bd05ec24d471f5
[m6w6/ext-http]
/
tests
/
abs_uri_002.phpt
1
--TEST--
2
http_absolute_uri() with proto
3
--SKIPIF--
4
<?php
5
include 'skip.inc';
6
?>
7
--FILE--
8
<?php
9
echo http_absolute_uri('sec', 'https'), "\n";
10
echo http_absolute_uri('/pub', 'ftp'), "\n";
11
echo http_absolute_uri('/', null), "\n";
12
?>
13
--EXPECTF--
14
%shttps://localhost/sec
15
ftp://localhost/pub
16
http://localhost/