1149.1. Zend\Memory\Value
String value object
It’s an OO string wrapper.
Used to intercept string updates.
1149.1.1. Methods
1149.1.1.1. __construct
-
__construct()
Object constructor
Parameters: |
- string –
- ZendMemoryContainerMovable –
|
1149.1.1.2. count
-
count()
Countable
1149.1.1.3. offsetExists
-
offsetExists()
ArrayAccess interface method
returns true if string offset exists
Parameters: | integer – |
Return type: | bool |
1149.1.1.4. offsetGet
-
offsetGet()
ArrayAccess interface method
Get character at $offset position
Parameters: | integer – |
Return type: | string |
1149.1.1.5. offsetSet
-
offsetSet()
ArrayAccess interface method
Set character at $offset position
1149.1.1.6. offsetUnset
-
offsetUnset()
ArrayAccess interface method
Unset character at $offset position
1149.1.1.7. __toString
-
__toString()
To string conversion
1149.1.1.8. getRef
-
getRef()
Get string value reference
_Must_ be used for value access before PHP v 5.2
or _may_ be used for performance considerations
1149.1.1.9. startTrace
-
startTrace()
Start modifications trace
_Must_ be used for value access before PHP v 5.2
or _may_ be used for performance considerations