Merge branch 'PHP-7.4'

* PHP-7.4:
  Avoid undefined behavior
This commit is contained in:
Christoph M. Becker 2019-12-30 23:18:34 +01:00
commit 1ff6911d6a

View file

@ -35,7 +35,7 @@
#include "zend_multiply.h"
#include "zend_object_handlers.h"
#define LONG_SIGN_MASK (((zend_long)1) << (8*sizeof(zend_long)-1))
#define LONG_SIGN_MASK ZEND_LONG_MIN
BEGIN_EXTERN_C()
ZEND_API int ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2);