I was debug my php script and found that the whole bug could be abatracted into below code:
<?php
$items = "1046";
if(isset($items['expr']))
{
echo "isset\n";
}
else
{
echo "not set\n";
}
?>
I think that apprently, 'expr' is not set, but the output is "isset"!
well, when tested under php 5.5.9, the output is "not set", but under php 5.3.10, the output is "isset"!
Is it a bug of php 5.3.10?