xlog("L_INFO", "[$ci][$mi][CSeq $cs] Validating meeting ($rU). Result: $var(result) Return code: $retcode \n");
if(is_int($retcode))
{
xlog("L_INFO", "[$ci][$mi][CSeq $cs] retcode is an integer \n");
}
if(typeof("$retcode", "str"))
{
xlog("L_INFO", "[$ci][$mi][CSeq $cs] retcode is a string \n");
}
None of these xlog outputed.
How do I check for $retcode in if or switch statement?
Thanks