[SR-Users] parsing issue 3.1.0

Daniel-Constantin Mierla miconda at gmail.com
Wed Nov 10 08:02:07 CET 2010


Hello,

On 11/10/10 5:16 AM, Jeremya wrote:
> These text lines parse
>
> if ($sht(ipban=>$si)!=$null)
>
> $sht(ipban=>$si)=1;
>
> These don't parse
>
> if($sht (ipban=>$si)!=$null)
>
> $sht (ipban=>$si)=1;
>
> In both cases the gap between $sht and the opening '(' is the problem.
>
> Is this expected behaviour?
$abc(xyz) are variables, like in any system if you add space inside the 
name of a variable does not work.

C case:

int counter; -- this is ok

int co unter; -- this is broken

Cheers,
Daniel

> Jeremy
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list