Bug #64246 [Opn->Csd]: stream_metadata constants not defined
| From: | bjori@php.net | Date: | Sun, 03 Mar 2013 00:34:49 +0000 |
| Subject: | Bug #64246 [Opn->Csd]: stream_metadata constants not defined | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-9613@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64246&edit=1
ID: 64246
Updated by: bjori@php.net
Reported by: terrafrost@php.net
Summary: stream_metadata constants not defined
-Status: Open
+Status: Closed
Type: Bug
-Package: Streams related
+Package: Documentation problem
Operating System: Windows 7
PHP Version: 5.4.11
-Assigned To:
+Assigned To: bjori
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
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/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2013-03-03 00:34:38] bjori@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=329623
Log: Fixed bug#64246 (stream_metadata constants not defined)
# The userspace constants are without the PHP_ prefix :)
------------------------------------------------------------------------
[2013-02-19 20:00:58] terrafrost@php.net
Description:
------------
<http://www.php.net/manual/en/streamwrapper.stream-metadata.php>
mentions a bunch
of constants but none appear to be defined.
Test script:
---------------
<?php
echo PHP_STREAM_META_TOUCH . "\n";
echo PHP_STREAM_META_OWNER_NAME . "\n";
echo PHP_STREAM_META_OWNER . "\n";
echo PHP_STREAM_META_GROUP_NAME . "\n";
echo PHP_STREAM_META_GROUP . "\n";
echo PHP_STREAM_META_ACCESS . "\n";
Expected result:
----------------
1
2
3
4
5
6
Actual result:
--------------
PHP_STREAM_META_TOUCH
PHP_STREAM_META_OWNER_NAME
PHP_STREAM_META_OWNER
PHP_STREAM_META_GROUP_NAME
PHP_STREAM_META_GROUP
PHP_STREAM_META_ACCESS
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64246&edit=1