projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- fix PHP4 build (has no only_exceptions INI setting
[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 "-TEST\n";
10
echo http_absolute_uri('sec', 'https'), "\n";
11
echo http_absolute_uri('/pub', 'ftp'), "\n";
12
echo http_absolute_uri('/', null), "\n";
13
?>
14
--EXPECTF--
15
%sTEST
16
https://localhost/sec
17
ftp://localhost/pub
18
http://localhost/
19