Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
String value object
It's an OO string wrapper. Used to intercept string updates.

__construct(
string $value, \Zend_Memory_Container_Movable $container
)
:
void
Object constructor
Name | Type | Description |
---|---|---|
$value | string | |
$container | \Zend_Memory_Container_Movable |

offsetExists(
integer $offset
)
:
boolean
ArrayAccess interface method returns true if string offset exists
Name | Type | Description |
---|---|---|
$offset | integer |
Type | Description |
---|---|
boolean |

offsetGet(
integer $offset
)
:
string
ArrayAccess interface method Get character at $offset position
Name | Type | Description |
---|---|---|
$offset | integer |
Type | Description |
---|---|
string |

offsetSet(
integer $offset, string $char
)
:
void
ArrayAccess interface method Set character at $offset position
Name | Type | Description |
---|---|---|
$offset | integer | |
$char | string |