Bug #64246 [NEW]: stream_metadata constants not defined
| From: | terrafrost@php.net | Date: | Tue, 19 Feb 2013 20:00:58 +0000 |
| Subject: | Bug #64246 [NEW]: stream_metadata constants not defined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-177220@lists.php.net to get a copy of this message | ||
From: terrafrost@php.net
Operating system: Windows 7
PHP version: 5.4.11
Package: Streams related
Bug Type: Bug
Bug description:stream_metadata constants not defined
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 bug report at https://bugs.php.net/bug.php?id=64246&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64246&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64246&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64246&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64246&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64246&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64246&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64246&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64246&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64246&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64246&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64246&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64246&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64246&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64246&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64246&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64246&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64246&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64246&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64246&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64246&r=mysqlcfg