mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
11 lines
274 B
PHP
11 lines
274 B
PHP
--TEST--
|
|
__call second parameter should be an array when typed
|
|
--FILE--
|
|
<?php
|
|
class Foo {
|
|
function __call(string $name, \Arguments $arguments) {}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Foo::__call(): Parameter #2 ($arguments) must be of type array when declared in %s on line %d
|