1--TEST-- 2Parent type with interning disabled 3--INI-- 4opcache.interned_strings_buffer=0 5--FILE-- 6<?php 7 8class Foo { 9 public function test(): self { 10 } 11} 12 13class Bar extends Foo { 14 public function test(): parent { 15 } 16} 17 18?> 19===DONE=== 20--EXPECT-- 21===DONE=== 22