Fix coredump when syntax error in phplib

But I can't add a case, because all other case will broken, too.