At least with uops 5.02 and PHP 7.2 (Win64), the constant ZEND_ACC_FETCH is not defined - while others are.
You can use:
if ( !defined( 'ZEND_ACC_FETCH' ) )
    define( 'ZEND_ACC_FETCH', PHP_INT_MAX );Estas constantes son definidas por esta extensión, y solo están disponibles si esta extensión ha sido compilada con PHP, o bien cargada en tiempo de ejecución.
Los siguientes opcodes son definidos como constantes por uopz antes de 5.0.0:
ZEND_EXIT
     (int)
    true para salir, false para continuar
     
    ZEND_NEW
     (int)
    ZEND_THROW
     (int)
    ZEND_FETCH_CLASS
     (int)
    ZEND_ADD_TRAIT
     (int)
    ZEND_ADD_INTERFACE
     (int)
    ZEND_INSTANCEOF
     (int)
    Las siguientes constantes controlan el comportamiento del VM después de que un gestor usuario sea llamado; sea extremadamente cuidadoso! Estas constantes son eliminadas a partir de uopz 5.0.0.
ZEND_USER_OPCODE_CONTINUE
     (int)
    ZEND_USER_OPCODE_ENTER
     (int)
    ZEND_USER_OPCODE_LEAVE
     (int)
    ZEND_USER_OPCODE_DISPATCH
     (int)
    ZEND_USER_OPCODE_DISPATCH_TO
     (int)
    ZEND_USER_OPCODE_RETURN
     (int)
    Los siguientes modificadores están registrados como constantes por uopz
ZEND_ACC_PUBLIC
     (int)
    ZEND_ACC_PROTECTED
     (int)
    ZEND_ACC_PRIVATE
     (int)
    ZEND_ACC_STATIC
     (int)
    ZEND_ACC_FINAL
     (int)
    ZEND_ACC_ABSTRACT
     (int)
    ZEND_ACC_CLASS
     (int)
    ZEND_ACC_INTERFACE
     (int)
    ZEND_ACC_TRAIT
     (int)
    ZEND_ACC_FETCH
     (int)
    At least with uops 5.02 and PHP 7.2 (Win64), the constant ZEND_ACC_FETCH is not defined - while others are.
You can use:
if ( !defined( 'ZEND_ACC_FETCH' ) )
    define( 'ZEND_ACC_FETCH', PHP_INT_MAX );