1--TEST-- 2GH-17216 (Trampoline crash on error) 3--FILE-- 4<?php 5class TrampolineTest { 6 public function __call(string $name, array $arguments) { 7 var_dump($name, $arguments); 8 } 9} 10$o = new TrampolineTest(); 11$callback = [$o, 'trampoline']; 12$array = ["a" => "b", 1]; 13try { 14 forward_static_call_array($callback, $array); 15} catch (Error $e) { 16 echo $e->getMessage(), "\n"; 17} 18echo "Done\n"; 19?> 20--EXPECT-- 21Cannot use positional argument after named argument 22Done 23