ArrayAccess::offsetSet
(PHP 5 >= 5.1.0)
ArrayAccess::offsetSet — Offset to set
Description
Assigns a value to the specified offset.
Parameters
- offset
-
The offset to assign the value to.
- value
-
The value to set.
Return Values
No value is returned.
Notes
Note: The offset parameter will be set to NULL if another value is not available, like in the following example.
<?php
$arrayaccess[] = "value";
?>
ArrayAccess::offsetSet
There are no user contributed notes for this page.
