1--TEST-- 2OSS-Fuzz #371445205 (Heap-use-after-free in attr_free) 3--FILE-- 4<?php 5#[Attribute] 6class MyAttrib{} 7#[MyAttrib(notinterned:'')] 8class Test1{} 9$attr=(new ReflectionClass(Test1::class))->getAttributes()[0]; 10try { 11 $attr->newInstance(); 12} catch (Error $e) { 13 echo $e->getMessage(), "\n"; 14} 15?> 16--EXPECT-- 17Unknown named parameter $notinterned 18