Memory value container interface

category Zend
package Zend_Memory
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License

 Methods

Get string value reference

getRef() : \&string

Must be used for value access before PHP v 5.2 or may be used for performance considerations

Returns

\&string

Return true if object is locked

isLocked() : boolean

Returns

boolean

Lock object in memory.

lock() 

Signal, that value is updated by external code.

touch() 

Should be used together with getRef()

Unlock object

unlock()