$b?$a:$b; } } $math = new Math(); echo "最大值是 ".$math->Max(99,100); ?>