In the PHP Manual we can find statements like this:
list()
is used to assign a list of variables in a single operation. Likearray()
, it's not really a function, it's a constructor of the language .
It always strikes me when the Manual emphasizes that difference . I imagine that a constructor of the language would be a kind of internal function, while a function would be the ones created by the programmer, but it is not entirely clear to me.
I would appreciate any answer that clears my doubts.