Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.0a3

Request #15707 file_get_contents has incomplete support
Submitted: 2009-01-21 12:20 UTC
From: hm2k Assigned: arpad
Status: Closed Package: PHP_Compat (version CVS)
PHP Version: Irrelevant OS:
Roadmaps: 1.6.0a3    
Subscription  
Comments Add Comment Add patch


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:
MUST BE VALID
Solve the problem : 48 + 34 = ?

 
 [2009-01-21 12:20 UTC] hm2k (James Wade)
Description: ------------ It lacks support for ftp/https/ftps/socket. It also lacks support to the latest changes: 5.0.0 Added context support. 5.1.0 Added the offset and maxlen parameters. 6.0.0 The use_include_path parameter was replaced by the flags parameter. See: http://php.net/function.file_get_contents Also $http_response_header is not handled. See: http://php.net/reserved.variables.httpresponseheader

Comments

 [2009-05-01 20:10 UTC] hm2k (James Wade)
There's a lot to do here, I've no motivation to do this right now, as I don't need this support. If anyone does, let me know and I'll look into it.
 [2009-05-07 02:40 UTC] arpad (Arpad Ray)
-Status: Open +Status: Closed -Assigned To: +Assigned To: arpad
It doesn't lack support for ftp/https/ftps/socket, it just doesn't have special cases for them so they go straight through to fopen(). The new flags argument can wait until PHP 6. I've added the rest in CVS.