--TEST-- Testing anonymous function return as array key and accessing $GLOBALS --FILE-- --EXPECT-- int(2) bool(true)