File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ PHP_GMP_API zend_class_entry *php_gmp_class_entry(void) {
96
96
((__GNU_MP_VERSION >= 6) || (__GNU_MP_VERSION >= 5 && __GNU_MP_VERSION_MINOR >= 1))
97
97
98
98
#define IS_GMP (zval ) \
99
- (Z_TYPE_P(zval) == IS_OBJECT && instanceof_function( Z_OBJCE_P(zval), gmp_ce) )
99
+ (Z_TYPE_P(zval) == IS_OBJECT && Z_OBJCE_P(zval) == gmp_ce)
100
100
101
101
#define GET_GMP_OBJECT_FROM_OBJ (obj ) \
102
102
php_gmp_object_from_zend_object(obj)
@@ -116,7 +116,7 @@ static bool gmp_zend_parse_arg_into_mpz_ex(
116
116
bool is_operator
117
117
) {
118
118
if (EXPECTED (Z_TYPE_P (arg ) == IS_OBJECT )) {
119
- if (EXPECTED (instanceof_function ( Z_OBJCE_P (arg ), gmp_ce ) )) {
119
+ if (EXPECTED (Z_OBJCE_P (arg ) == gmp_ce )) {
120
120
* destination_mpz_ptr = GET_GMP_FROM_ZVAL (arg );
121
121
return true;
122
122
}
You can’t perform that action at this time.
0 commit comments