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