projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
- ditch HttpMessage::__construct() and ::setRaw
[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
Content-type: text/html
15
X-Powered-By: PHP/%s
16
17
https://localhost/sec
18
ftp://localhost/pub
19
http://localhost/