repo.or.cz
/
hiphop-php.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Allow duplicate items in encoded urls
[hiphop-php.git]
/
hphp
/
test
/
slow
/
ext_stream
/
context_array.php
blob
395ec35d4892002e23629ec9f4c5dce5e4e2b451
1
<
?php
2
3
$opts
=
array
(
4
'http'
=>
array
(
5
'header'
=>
array
(
6
"Accept-Encoding: gzip"
,
7
"User-Agent: Composer/source PHP 5.5.99)"
,
8
)
9
)
10
);
11
12
$context
=
stream_context_create
(
$opts
);
13
var_dump
(
stream_context_get_params
(
$context
));