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

Request #18678 Return false in url_stat for non existing files
Submitted: 2011-07-22 00:12 UTC
From: cweiske Assigned: cweiske
Status: Closed Package: Stream_Var (version SVN)
PHP Version: 5.3.6 OS:
Roadmaps: (Not assigned)    
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 : 41 + 10 = ?

 
 [2011-07-22 00:12 UTC] cweiske (Christian Weiske)
Description: ------------ Stream_Var does not work with file_exists() when the variable does not exist. url_stat[1] should return false in that case. [1] http://www.php.net/manual/en/streamwrapper.url-stat.php Related to bug #4229 in which url_stat was implemented

Comments

 [2011-07-30 15:40 UTC] doconnor (Daniel O'Connor)
Hey Christian, I'm not quite clear enough on this to implement a fix (based on about 3 seconds of familiarity with the package). It's unmaintained though; so go nuts on implementing this yourself with your QA hat on.
 [2015-12-11 21:55 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
Fixed in git.