变量时$speed = 120;问题
function __call($name,$are){
echo $name+=-12;
echo "<br/>";
echo $are;
}
输出:
-12
Array120
===============================
function __call($name,$are){
echo $name;
}
输出:
speedDown120
===========================
function __call($name,$are){
echo $name-=12;
}
输出:-12120
改变变量名一切正常
改变调用的方法名为$car->Downspeed();问依旧。改变调用的方法名为$car->Down();问题消失。这是PHP的BUG吗????????