HF RL Explorer

PHP's array column() incorrectly rejects arrays of objects as first argument

PHP's array column() incorrectly rejects arrays of objects as first argument: a task in LegoFlow-SWE (Harbor dataset). When array column() is given an array (or list) of named class instances as the first argument, Mago’s static analyzer currently treats the call as invalid and reports a type…

The task

When `array_column()` is given an array (or list) of **named class instances** as the first argument, Mago’s static analyzer currently treats the call as invalid and reports a type error. In PHP, `array_column()` supports this usage by reading public object properties, but the analyzer erroneously expects the input…

Part of Lego-X/LegoFlow-SWE.