#44818 [Opn->Csd]: php://memory writeable when opened read only
| From: | lbarnaud@php.net | Date: | Tue, 11 Nov 2008 00:45:58 +0000 |
| Subject: | #44818 [Opn->Csd]: php://memory writeable when opened read only | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-130857@lists.php.net to get a copy of this message | ||
ID: 44818
Updated by: lbarnaud@php.net
Reported By: davemastergeneral at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Streams related
Operating System: Linux csl1226 2.6.22-14-generic
PHP Version: 5.2CVS-2008-04-24 (snap)
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-11-10 09:34:08] davemastergeneral at gmail dot com
Provided Feedback
------------------------------------------------------------------------
[2008-11-10 09:33:41] davemastergeneral at gmail dot com
<?php
echo phpversion(), PHP_EOL;
$fh = fopen('php://memory', 'r');
var_dump(fwrite($fh, 'dave'));
?>
Actual result:
5.2.7RC4-dev
int(4)
Expected result:
5.2.7RC4-dev
bool(false)
------------------------------------------------------------------------
[2008-11-07 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2008-10-30 17:06:05] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
------------------------------------------------------------------------
[2008-04-25 08:12:29] davemastergeneral at gmail dot com
Actually, expected result should be
bool(false)
For an error?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44818
--
Edit this bug report at http://bugs.php.net/?id=44818&edit=1