1--TEST--
2__wakeup cannot take arguments
3--FILE--
4<?php
5class Foo {
6    public function __wakeup(string $name) {}
7}
8?>
9--EXPECTF--
10Fatal error: Method Foo::__wakeup() cannot take arguments in %s on line %d
11