in end of nusoap.php io have this code:
RESULT :
line 7112 is first function of class nusoap_client.
when i run ths script i get "not loaded" , mean extension not loaded. but class soap_client also will load !!! .
in cli it will not load but in cgi it will load. so i think there is something in php.ini that cause class extend automatically.
What is the cause for it ?
Code:
if (!extension_loaded('soap')) {
echo "not loaded";
class [B]soapclient [/B]extends nusoap_client {}
}
else {
echo "loaded";
class [B]soap_client [/B]extends nusoap_client {}
}
$x = new soap_client;
not loaded
Warning: Missing argument 1 for nusoap_client:: nusoap_client() , called in nusoap2.php on line 7996 and defined in nusoap2.php on line 7112
Warning: Missing argument 1 for nusoap_client:: nusoap_client() , called in nusoap2.php on line 7996 and defined in nusoap2.php on line 7112
when i run ths script i get "not loaded" , mean extension not loaded. but class soap_client also will load !!! .
in cli it will not load but in cgi it will load. so i think there is something in php.ini that cause class extend automatically.
What is the cause for it ?
Comment