|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23345 Streams not working, fails with Undefined function
Submitted: 2003-04-25 08:42 UTC Modified: 2003-04-25 09:15 UTC
From: markus dot lervik at vaasa dot fi Assigned:
Status: Not a bug Package: Network related
PHP Version: 4.3.0 OS: FreeBSD 4.7-RELEASE
Private report: No CVE-ID: None
 [2003-04-25 08:42 UTC] markus dot lervik at vaasa dot fi
I'm not sure if this is only error in the documentation,
but I decided to file it under Network Related anyway.

According to the manual,

"Streams are an integral part of PHP  as of version 4.3.0. No steps are required to enable them."

When I try a simple


 $f = stream_get_wrappers();
 echo '<pre>';
 echo '</pre>';


all I get is 

Fatal error:  Call to undefined function: stream_get_wrappers()

./configure --help doesn't mention streams anywhere,
nor does phpinfo() mention anything about it either
(apart from "Registered PHP Streams").

According to the linker, main/streams.lo is linked. 

I haven't been able to find anything on the web about it either, nor did the good people on EFNet's #php channel know anything about it.

My configure line is 



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-25 09:15 UTC]
Also according to the manual 
(PHP 5 CVS only)" 
This function doesn't exist in PHP 4.3.0.  
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Aug 14 02:05:45 2022 UTC