1. A non well formed numeric value encountered 解决方案: php7版本以后,混合数值做运算会提示notice信息,强制转换变量 intval($a) 的类型以后再做运算