php提示Warning: A non-numeric value encountered的解决方法
在使用(+ - * / ** % << >> | & ^) 运算时,例如a+b,如果a是开始一个数字值,但包含非数字字符(123a),b不是数字值开始时(b456),就会有A non-numeric value encountered警告。
PHP7.1官方文档,对这种错误的解释
New E_WARNING and E_NOTICE errors have been in...