开发者

What's the term for calling a function this way?

开发者 https://www.devze.com 2022-12-17 18:49 出处:网络
unset $arr[$key]; 开发者_Python百科 Shouldn\'t it be : unset($query[$key]); from the php manual: echo is not actually a function (it is a language construct)
unset $arr[$key];
开发者_Python百科

Shouldn't it be :

unset($query[$key]);


from the php manual:

echo is not actually a function (it is a language construct)

same with unset.


If I understand you correctly then it would be called a language construct, such as echo.

What is the difference between a language construct and a "built-in" function in PHP?


isset and unset are actually implemented as PHP unary operators also, so they can be used without parens.

0

精彩评论

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