Bug #54156 [Opn->Csd]: touch() doesn't support streams

From: Date: Fri, 26 Aug 2016 14:12:13 +0000
Subject: Bug #54156 [Opn->Csd]: touch() doesn't support streams
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203586@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=54156&edit=1

 ID:                 54156
 Updated by:         cmb@php.net
 Reported by:        stas@php.net
 Summary:            touch() doesn't support streams
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Filesystem function related
 Operating System:   *
 PHP Version:        5.3.6RC2
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

That appears to have been fixed as of PHP 5.4.


Previous Comments:
------------------------------------------------------------------------
[2011-03-04 00:49:49] stas@php.net

Description:
------------
Unlike most of other filesystem functions, touch() completely ignores stream 
filenames, including overriding file stream, etc. It should support streams and do 
fopen("c")/fclose on them. 



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



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


Thread (2 messages)

« previous php.bugs (#203586) next »