Tuesday, March 1, 2011

References and Cloning examples

A very interesting example of the subtleties of cloning and referencing variables. Particularly noteworthy is the manner in which the references can be exploited to show ambiguous behavior. See the following example from php.net.

Object cloning with php5

No comments: