OK, this is a rant. No flame intentioned. But dynamic language rubs me in the wrong way and I have to complain about it.
Tell me what's wrong with the following code:
$client = new SoapClient($wsdl); $dwer= $client->login(array('userid'=>$usrname, 'password'=>$pass)); $param = array('sessionId'=>$sessionId, 'caseId'=>$caseId, 'delIndex'=>$delIndex); $result = $client->derivateCase($params);
I spent an hour trying to debug this code. It turned out that I misspelled $params-- it should be $param ( with no s at the back).
I wouldn't get this if I were using a static type language.