setting $var(xyz) to null makes its value to integer 0. There is no
'null' state for the value of the $var(xyz), same as for $avp(xyz) --
making avp null actually deletes it.
In your comparison, you test integer '0' against unexisting avp.
Cheers,
Daniel
On 06/11/07 19:34, Juha Heinanen wrote:
Juha Heinanen writes:
here is a proof of a third one which i have suspected already earlier.
-- juha
statements
$var(test) = null;
$avp(s:test) = null;
if ($var(test) != $avp(s:test)) {
xlog("L_INFO", "$var(test) != $avp(s:test)\n");
};
produce
0 != <null>
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel