mirror of
https://github.com/php/php-src.git
synced 2024-10-03 15:56:11 +00:00
12 lines
346 B
Plaintext
12 lines
346 B
Plaintext
|
--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
|