1--TEST-- 2GH-16266 (_ZendTestClass::test() segfaults on named parameter) 3--EXTENSIONS-- 4zend_test 5--FILE-- 6<?php 7try { 8 $o = new _ZendTestClass(); 9 $o->test('a', 'b', c: 'c'); 10} catch (Error $e) { 11 echo $e->getMessage(), "\n"; 12} 13try { 14 _ZendTestClass::test('a', 'b', c: 'c'); 15} catch (Error $e) { 16 echo $e->getMessage(), "\n"; 17} 18?> 19--EXPECT-- 20Unknown named parameter $c 21Unknown named parameter $c 22