@@ -2570,7 +2570,7 @@ static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *act
2570
2570
}
2571
2571
2572
2572
if (zend_hash_find (Z_OBJPROP_P (this_ptr ), "trace" , sizeof ("trace" ), (void * * ) & trace ) == SUCCESS &&
2573
- (Z_LVAL_PP (trace ) == IS_BOOL || Z_LVAL_PP (trace ) == IS_LONG ) && Z_LVAL_PP (trace ) != 0 ) {
2573
+ (Z_TYPE_PP (trace ) == IS_BOOL || Z_TYPE_PP (trace ) == IS_LONG ) && Z_LVAL_PP (trace ) != 0 ) {
2574
2574
add_property_stringl (this_ptr , "__last_request" , buf , buf_size , 1 );
2575
2575
}
2576
2576
@@ -2605,7 +2605,7 @@ static int do_request(zval *this_ptr, xmlDoc *request, char *location, char *act
2605
2605
}
2606
2606
ret = FALSE;
2607
2607
} else if (zend_hash_find (Z_OBJPROP_P (this_ptr ), "trace" , sizeof ("trace" ), (void * * ) & trace ) == SUCCESS &&
2608
- (Z_LVAL_PP (trace ) == IS_BOOL || Z_LVAL_PP (trace ) == IS_LONG ) && Z_LVAL_PP (trace ) != 0 ) {
2608
+ (Z_TYPE_PP (trace ) == IS_BOOL || Z_TYPE_PP (trace ) == IS_LONG ) && Z_LVAL_PP (trace ) != 0 ) {
2609
2609
add_property_stringl (this_ptr , "__last_response" , Z_STRVAL_P (response ), Z_STRLEN_P (response ), 1 );
2610
2610
}
2611
2611
zval_ptr_dtor (& params [4 ]);
@@ -2650,7 +2650,7 @@ static void do_soap_call(zval* this_ptr,
2650
2650
SOAP_CLIENT_BEGIN_CODE ();
2651
2651
2652
2652
if (zend_hash_find (Z_OBJPROP_P (this_ptr ), "trace" , sizeof ("trace" ), (void * * ) & trace ) == SUCCESS &&
2653
- (Z_LVAL_PP (trace ) == IS_BOOL || Z_LVAL_PP (trace ) == IS_LONG ) && Z_LVAL_PP (trace ) != 0 ) {
2653
+ (Z_TYPE_PP (trace ) == IS_BOOL || Z_TYPE_PP (trace ) == IS_LONG ) && Z_LVAL_PP (trace ) != 0 ) {
2654
2654
zend_hash_del (Z_OBJPROP_P (this_ptr ), "__last_request" , sizeof ("__last_request" ));
2655
2655
zend_hash_del (Z_OBJPROP_P (this_ptr ), "__last_response" , sizeof ("__last_response" ));
2656
2656
}
0 commit comments