|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
22 - 21 = ?
Subscribe to this entry?

 [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-2020 The PHP Group
All rights reserved.
Last updated: Tue Aug 04 15:01:25 2020 UTC