1--TEST-- 2set $value parameter variance 3--FILE-- 4<?php 5 6spl_autoload_register(function ($className) { 7 echo "Autoloading $className\n"; 8}); 9 10include __DIR__ . "/set_value_parameter_type_variance_004.inc"; 11 12?> 13--EXPECTF-- 14Autoloading X 15Autoloading Y 16 17Fatal error: Type of parameter $prop of hook Test::$prop::set must be compatible with property type in %s on line %d 18