mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
e7d0ca39e5
The 13 arguments are for the benefit of PHP 7, where the first twelve use the bitmask.
18 lines
254 B
PHP
18 lines
254 B
PHP
--TEST--
|
|
Closure::__invoke() with variadic parameter
|
|
--FILE--
|
|
<?php
|
|
|
|
$closure = function(&...$refs) {};
|
|
$closure->__invoke(
|
|
$v1, $v2, $v3, $v4,
|
|
$v5, $v6, $v7, $v8,
|
|
$v9, $v10, $v11, $v12,
|
|
$v13
|
|
);
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|