EG(scope) is going to be NULL in plain functions.