Fix the bug that php return is null will return false