Req #34823 [Opn->Wfx]: is_readable/is_writable should check dir access with url wrappers at least

From: Date: Wed, 25 Aug 2021 16:20:23 +0000
Subject: Req #34823 [Opn->Wfx]: is_readable/is_writable should check dir access with url wrappers at least
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236075@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=34823&edit=1

 ID:                 34823
 Updated by:         cmb@php.net
 Reported by:        titus at hochgreve dot de
 Summary:            is_readable/is_writable should check dir access with
                     url wrappers at least
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
 Package:            Filesystem function related
 Operating System:   any
 PHP Version:        4.4.1RC1
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

I don't see much point in this; where possible at all, it would be
inefficient or useless.  Apparently, there is generally almost no
interest in this feature, so I'm closing as WONTFIX.

Feel free to pursue the RFC process[1], if you still like to see
this implemented.

[1] <https://wiki.php.net/rfc/howto>


Previous Comments:
------------------------------------------------------------------------
[2005-10-11 09:10:49] titus at hochgreve dot de

Description:
------------
is_readable($url)
--> ini_get('allow_url_fopen') && fopen($url, 'r')

is_writable($url)
--> constant FALSE with most wrappers I suppose (e.g. http); otherwise (ftp & such) difficult
to handle. But wouldn?t it be nice to have it working!?!



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



--
Edit this bug report at https://bugs.php.net/bug.php?id=34823&edit=1


Thread (2 messages)

« previous php.bugs (#236075) next »