[PEAR-BUG] Req #18678 [Opn]: Return false in url_stat for non existing files

[email protected]
Newsgroups php.pear.bugs
Message-ID <[email protected]>
Edit report at http://pear.php.net/bugs/bug.php?id=18678&edit=1

 ID:               18678
 Updated by:       [email protected]
 Reported By:      cweiske at php dot net
 Summary:          Return false in url_stat for non existing files
 Status:           Open
 Type:             Feature/Change Request
 Package:          Stream_Var
 Package Version:  SVN
 PHP Version:      5.3.6
 Roadmap Versions: 
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2011-07-21 20:12:12] cweiske

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

------------------------------------------------------------------------


-- 
Edit this bug report at http://pear.php.net/bugs/bug.php?id=18678&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.