mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
75a678a7e3
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
12 lines
381 B
PHP
12 lines
381 B
PHP
--TEST--
|
|
Bug #55719 (Argument restriction should come with a more specific error message)
|
|
--FILE--
|
|
<?php
|
|
class Sub implements ArrayAccess {
|
|
public function offsetSet(): void {
|
|
}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Declaration of Sub::offsetSet(): void must be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void in %sargument_restriction_005.php on line %d
|