Fixed bug #1048: Can not get $GLOBAL variable by property_value on function context.