开发者

PHP parameter and argument question [duplicate]

开发者 https://www.devze.com 2023-02-17 20:50 出处:网络
This question already has answers here: What's the difference between an argument and a parameter?
This question already has answers here: What's the difference between an argument and a parameter? 开发者_如何学编程 (38 answers) Closed 9 years ago.

Are parameters the same as arguments in PHP?


Sort of. The parameter is the definition of what you pass to the function. Think of the argument as the actual value or object that you pass.

0

精彩评论

暂无评论...
验证码 换一张
取 消