1--TEST--
2Cannot pass by reference error with named parameters
3--FILE--
4<?php
5function test($a, &$e) {}
6try {
7    test(e: 42);
8} catch (Error $e) {
9    echo $e->getMessage(), "\n";
10}
11?>
12--EXPECT--
13test(): Argument #2 ($e) could not be passed by reference
14