Expand|Select|Wrap|Line Numbers
- if (!extension_loaded('soap')) {
- echo "not loaded";
- class soapclient extends nusoap_client {}
- }
- else {
- echo "loaded";
- class soap_client extends nusoap_client {}
- }
- $x = new soap_client;
not loadedline 7112 is first function of class nusoap_client.
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 ?