#677 knownissue
dleffler

Bug? PHP v5 passes objects by ref handle, not value, so they may accidently be changed

Reported by dleffler | August 4th, 2012 @ 02:20 AM | in 2.3.7 (closed)

(Duh!) I just learned that in PHP v5 an object in a function parameter is passed as a handle reference to the object and NOT as a copy of the object (as was the case in v4). What this means is that we can't use the passed object parameter as if it were a local variable/object because it updates the reference object.

Comments and changes to this ticket

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Bug Tracker for Exponent CMS

Shared Ticket Bins

People watching this ticket

Pages