标签: php
PHP将此IF语句视为true,尽管变量等于0 NOT' subjob'!
echo 'start'; $my_var = 0; //Here, the result should skip the if BUT it doesn't: if($my_var == 'subjob'){ echo $l_job_par_type; } echo 'end'; die();
最后的结果是:
start0end
为什么?