php-src/Zend/tests/magic_methods_wakeup.phpt
Nikita Popov c5401854fc Run tidy
This should fix most of the remaining issues with tabs and spaces
being mixed in tests.
2020-09-18 14:28:32 +02:00

11 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