2010/9/15 Iñaki Baz Castillo <i...@aliax.net>:
> Conclusions:
>
> - $var cannot store null value. If so it converts it to 0.

However this is not the case with sqlops module:

I retrieve the value of an integer column in a MySQL table. In this
case the value is NULL. I store the result in a $var:

 $var(client_max_calls) = $dbr(client=>[0,0]);

But the stored value is "" (empty string) rather than 0. Isn't a bit confussing?


-- 
Iñaki Baz Castillo
<i...@aliax.net>

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

Reply via email to