Category
stdlib
Problem
stream_metadata() is missing. Zend uses it internally and exposes it for custom stream wrappers to handle touch/chmod/chown/chgrp/access metadata operations on stream resources.
function_exists('stream_metadata') is false on bin/vm.php; Zend returns true.
php-src reference
Repro (failure today)
php bin/vm.php test/repro/maintainer_stream_metadata_missing.php
# stream_metadata: no
Scope (this repo)
| Layer |
Path |
| ext/standard |
stream_metadata.php + VM hook into wrapper ops table |
| VM |
Dispatch STREAM_META_* codes to registered wrapper; php-src-strict operand checks |
| Tests |
test/compliance/cases/stdlib/stream_metadata.phpt |
Pair with #3448 (stream context helpers) and wrapper registration issues.
Done when
Related
Category
stdlibProblem
stream_metadata()is missing. Zend uses it internally and exposes it for custom stream wrappers to handletouch/chmod/chown/chgrp/accessmetadata operations on stream resources.function_exists('stream_metadata')is false onbin/vm.php; Zend returns true.php-src reference
ext/standard/streamsfuncs.c—PHP_FUNCTION(stream_metadata)ext/standard/basic_functions.stub.phpRepro (failure today)
php bin/vm.php test/repro/maintainer_stream_metadata_missing.php # stream_metadata: noScope (this repo)
stream_metadata.php+ VM hook into wrapper ops tableSTREAM_META_*codes to registered wrapper; php-src-strict operand checkstest/compliance/cases/stdlib/stream_metadata.phptPair with #3448 (stream context helpers) and wrapper registration issues.
Done when
function_exists('stream_metadata')true on VMTypeErrorlike ZendSTREAM_META_*codes forwarded to wrapper callbackRelated