mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
11 lines
248 B
PHP
11 lines
248 B
PHP
--TEST--
|
|
__unset first parameter should be a string when typed
|
|
--FILE--
|
|
<?php
|
|
class Foo {
|
|
function __unset(array $name) {}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Foo::__unset(): Parameter #1 ($name) must be of type string when declared in %s on line %d
|