ID: 47336
Updated by: vrana@php.net
Reported By: evert at rooftopsolutions dot nl
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: *
PHP Version: 5.2.9RC1
New Comment:
Documented at http://www.php.net/manual/en/wrappers.data.php
Previous Comments:
------------------------------------------------------------------------
[2009-02-07 22:33:47] evert at rooftopsolutions dot nl
Description:
------------
Looks like data: streams are restricted by allow_url_fopen, but the
documentation seems to state otherwise..
http://ca2.php.net/manual/en/wrappers.data.php
Reproduce code:
---------------
php -d allow_url_fopen=0 -r "fopen('data://text/plain,hi','r');"
Expected result:
----------------
nothing
Actual result:
--------------
Warning: fopen(): URL file-access is disabled in the server
configuration in Command line code on line 1
Call Stack:
0.0002 47712 1. {main}() Command line code:0
0.0003 47792 2. fopen() Command line code:1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47336&edit=1