mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
11 lines
205 B
PHP
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
|