function(myCar $cars)
myCars的技术术语是什么?
catch(Exception $e)
我知道什么是try、catch块和异常术语。但是我想要表示类名的技术名称。
这叫做类型提示。看见http://www.php.net/manual/en/language.oop5.typehinting.php.
function(myCar $cars)
myCars的技术术语是什么?
catch(Exception $e)
我知道什么是try、catch块和异常术语。但是我想要表示类名的技术名称。
这叫做类型提示。看见http://www.php.net/manual/en/language.oop5.typehinting.php.