mirror of
https://github.com/php/php-src.git
synced 2026-10-29 02:07:35 +08:00
RFC: https://wiki.php.net/rfc/partial_function_application_v2 Co-authored-by: Joe Watkins <krakjoe@php.net>
9 lines
236 B
PHP
9 lines
236 B
PHP
--TEST--
|
|
PFA compile errors: can not use unpacking in PFA, including with variadic placeholders
|
|
--FILE--
|
|
<?php
|
|
foo(...["foo" => "bar"], ...);
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot combine partial application and unpacking in %s on line %d
|