
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
-
dleffler September 22nd, 2012 @ 11:25 PM
- State changed from new to knownissue
- Milestone order changed from 15 to 0
-
dleffler September 26th, 2012 @ 01:45 AM
- Milestone changed from 2.0.9 to 2.1.0
- Milestone order changed from 16 to 0
-
dleffler September 26th, 2012 @ 06:21 PM
- Assigned user cleared.
- Milestone cleared.
-
-
-
-
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.
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