mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
10 lines
205 B
PHP
10 lines
205 B
PHP
--TEST--
|
|
__wakeup cannot take arguments
|
|
--FILE--
|
|
<?php
|
|
class Foo {
|
|
public function __wakeup(string $name) {}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Method Foo::__wakeup() cannot take arguments in %s on line %d
|