1--TEST-- 2__unset can only declare void return 3--FILE-- 4<?php 5class Foo { 6 function __unset($name) : bool {} 7} 8?> 9--EXPECTF-- 10Fatal error: Foo::__unset(): Return type must be void when declared in %s on line %d 11