Skip to content

Stdlib: fstat Reflection return array|false (#28483) - #30085

Merged
PurHur merged 1 commit into
masterfrom
agent/advanced-stdlib-28483-fstat-reflection
Aug 11, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/advanced-stdlib-28483-fstat-reflection

Conversation

@PurHur

@PurHur PurHur commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • ./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php bin/vm.php test/repro/issue_28483_fstat_reflection_return.php' → array|false (master blob swap: array)
  • php -d memory_limit=1536M vendor/bin/phpunit --filter testFstatStubReturnArrayFalse test/unit/BuiltinParamNamesAliasTest.php → OK
  • php -d memory_limit=1536M vendor/bin/phpunit --filter FstatReflectionReturnVMTest test/compliance/FstatReflectionReturnVMTest.php → OK

Closes #28483

Made with Cursor

Override InternalArgInfo array-only return so Reflection matches file.stub.php array|false.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 4036586 into master Aug 11, 2026
1 check failed
@PurHur
PurHur deleted the agent/advanced-stdlib-28483-fstat-reflection branch August 11, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: fstat Reflection return array — Zend array|false (ext/standard/file.stub.php)

1 participant