@@ -1008,7 +1008,7 @@ PHP_METHOD(SoapServer, __construct)
1008
1008
1009
1009
service -> version = version ;
1010
1010
service -> type = SOAP_FUNCTIONS ;
1011
- service -> soap_functions .functions_all = FALSE ;
1011
+ service -> soap_functions .functions_all = false ;
1012
1012
service -> soap_functions .ft = zend_new_array (0 );
1013
1013
1014
1014
if (wsdl ) {
@@ -1136,7 +1136,7 @@ PHP_METHOD(SoapServer, getFunctions)
1136
1136
ft = & (Z_OBJCE (service -> soap_object )-> function_table );
1137
1137
} else if (service -> type == SOAP_CLASS ) {
1138
1138
ft = & service -> soap_class .ce -> function_table ;
1139
- } else if (service -> soap_functions .functions_all == TRUE ) {
1139
+ } else if (service -> soap_functions .functions_all ) {
1140
1140
ft = EG (function_table );
1141
1141
} else if (service -> soap_functions .ft != NULL ) {
1142
1142
zval * name ;
@@ -1177,7 +1177,7 @@ PHP_METHOD(SoapServer, addFunction)
1177
1177
zval * tmp_function ;
1178
1178
1179
1179
if (service -> soap_functions .ft == NULL ) {
1180
- service -> soap_functions .functions_all = FALSE ;
1180
+ service -> soap_functions .functions_all = false ;
1181
1181
service -> soap_functions .ft = zend_new_array (zend_hash_num_elements (Z_ARRVAL_P (function_name )));
1182
1182
}
1183
1183
@@ -1216,7 +1216,7 @@ PHP_METHOD(SoapServer, addFunction)
1216
1216
RETURN_THROWS ();
1217
1217
}
1218
1218
if (service -> soap_functions .ft == NULL ) {
1219
- service -> soap_functions .functions_all = FALSE ;
1219
+ service -> soap_functions .functions_all = false ;
1220
1220
service -> soap_functions .ft = zend_new_array (0 );
1221
1221
}
1222
1222
@@ -1235,7 +1235,7 @@ PHP_METHOD(SoapServer, addFunction)
1235
1235
efree (service -> soap_functions .ft );
1236
1236
service -> soap_functions .ft = NULL ;
1237
1237
}
1238
- service -> soap_functions .functions_all = TRUE ;
1238
+ service -> soap_functions .functions_all = true ;
1239
1239
} else {
1240
1240
zend_argument_value_error (1 , "must be SOAP_FUNCTIONS_ALL when an integer is passed" );
1241
1241
}
@@ -1516,7 +1516,7 @@ PHP_METHOD(SoapServer, handle)
1516
1516
}
1517
1517
function_table = & ((Z_OBJCE_P (soap_obj ))-> function_table );
1518
1518
} else {
1519
- if (service -> soap_functions .functions_all == TRUE ) {
1519
+ if (service -> soap_functions .functions_all ) {
1520
1520
function_table = EG (function_table );
1521
1521
} else {
1522
1522
function_table = service -> soap_functions .ft ;
0 commit comments