Changed ZEND_ACCESSOR_GET defines into an enum, renamed
ZEND_ACCESSOR_COUNT to ZEND_NUM_ACCESSORS, updated function calls to use
enum type AccessorFuncIndex