Quantcast
Channel: What is the meaning of three dots (...) in PHP? - Stack Overflow
Viewing all articles
Browse latest Browse all 10

What is the meaning of three dots (...) in PHP?

$
0
0

While I am installing Magento 2 on my Server, I got an error. After investigating the code and found that there are three dots (...), which is producing the error. I included the code I found below:

return new $type(...array_values($args));

What is this operator called, and what is its purpose?


Viewing all articles
Browse latest Browse all 10

Latest Images

Trending Articles





Latest Images