Log in / create account | Login with OpenID
DocForge
An Open Wiki For Software Developers

PHP/Object

From DocForge

< PHP(Difference between revisions)
m (Reverted edits by Julieta (Talk) to last revision by Matt)
 
Line 2: Line 2:
By default, objects in PHP are assigned and passed by reference as of version 5 of the language.  This means that two variables both assigned to the same object are acting on the exact same object and not copies.
By default, objects in PHP are assigned and passed by reference as of version 5 of the language.  This means that two variables both assigned to the same object are acting on the exact same object and not copies.
-
 
-
[http://www.bestdissertation.com/ dissertation]
 

Current revision as of 14:15, 21 July 2010

PHP objects are instances of classes defined by the developer or the PHP runtime environment.

By default, objects in PHP are assigned and passed by reference as of version 5 of the language. This means that two variables both assigned to the same object are acting on the exact same object and not copies.