Improved ZTS support
Optimized for fast path
Avoid repeatable zend_is_autogolobal() calls
Optimized for fast path