Ellipsis (computer programming): Difference between revisions

Content deleted Content added
Ranges: ".." in perl - some details
Variable number of parameters: PHP 5.6 now effectively uses the ellipsis
Line 55:
===PHP===
 
PHP 5.6 willsupports<ref>https://wiki.php.net/rfc/variadics</ref> support use of ellipsis to define an explicitly [[variadic function]], where <code>...</code> before an argument in a function definition means that arguments from that point on will be collected into an array. For example:
 
<source lang="php">