mirror of
https://github.com/php/php-src.git
synced 2026-03-25 00:32:23 +01:00
Resources used as array keys are generally handled by throwing a notice and converting the resource to the resource handle. The only exception is the [$resource => null] syntax, where this was treated as an illegal offset type instead. However, this also only happened for VM evaluations, the AST evaluator did handle resources correctly.
2.2 KiB
Executable File
2.2 KiB
Executable File