mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
12 lines
345 B
PHP
12 lines
345 B
PHP
--TEST--
|
|
Bug #55719 (Argument restriction should come with a more specific error message)
|
|
--FILE--
|
|
<?php
|
|
class Sub implements ArrayAccess {
|
|
public function offsetSet() {
|
|
}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Declaration of Sub::offsetSet() must be compatible with ArrayAccess::offsetSet($offset, $value) in %sargument_restriction_005.php on line %d
|