Hi,
I found an issue with custom class getter (__get), I got PHP1401 error:
<?php
declare(strict_types=1);
namespace Devsense\Builtin;
final class Test
{
public function &__get(string $name)
{
$item =& $this->_store[$name];
return $item;
}
}
$test = new Test();
/**
* Only variables can be passed by referencePHP(PHP1401)
*/
array_walk($test->__get('key'), function(&$item) {
});
Thank you for the fix.
Regards,