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 );
Folgende Konstanten werden von dieser Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.
The following opcodes are defined as constants by uopz before 5.0.0:
ZEND_EXIT
(int)
true
to exit, false
to continue
ZEND_NEW
(int)
ZEND_THROW
(int)
ZEND_FETCH_CLASS
(int)
ZEND_ADD_TRAIT
(int)
ZEND_ADD_INTERFACE
(int)
ZEND_INSTANCEOF
(int)
The following constants control the VM's behaviour after a user handler is invoked, be extremely careful! These constants are removed as of 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)
The following modifiers are registered as constants by 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 );