note 126625 added to class.arrayaccess
| From: | johannes dot kingma at gmail dot com | Date: | Fri, 19 Nov 2021 19:32:04 +0000 |
| Subject: | note 126625 added to class.arrayaccess | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217271@lists.php.net to get a copy of this message | ||
The example in the text is not complete and should read
<?php
interface ArrayAccess {
/* Methods */
public function offsetExists(mixed $offset): bool
public function offsetGet(mixed $offset): mixed
public function offsetSet(mixed $offset, mixed $value): void
public function offsetUnset(mixed $offset): void
}
?>
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 83.97.87.182)
----
Manual Page -- https://php.net/manual/en/class.arrayaccess.php
Edit -- https://main.php.net/note/edit/126625
Del: integrated -- https://main.php.net/note/delete/126625/integrated
Del: useless -- https://main.php.net/note/delete/126625/useless
Del: bad code -- https://main.php.net/note/delete/126625/bad+code
Del: spam -- https://main.php.net/note/delete/126625/spam
Del: non-english -- https://main.php.net/note/delete/126625/non-english
Del: in docs -- https://main.php.net/note/delete/126625/in+docs
Del: other reasons-- https://main.php.net/note/delete/126625
Reject -- https://main.php.net/note/reject/126625
Search -- https://main.php.net/manage/user-notes.php