Zend - The PHP Company




Code Gallery: 7aint3d


get(var)  

Type: code fragment
Added by: 7aint3d
Entered: 29/04/2005
Last modified: 02/12/2005
Rating: - (fewer than 3 votes)
Views: 2510
Get the value of a string or array If an array is passed, then it is split into two components: the array name and its keys. If you pass array('array','one','two','three'), then the resulting variable name would be $array['one']['two']['three']. This can be up to an infinite depth. This is especially useful in Objects. It was specifically designed for that purpose.




Search