#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

(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

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

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