|  | Posted by Vince Morgan on 04/17/07 00:16 
"ZeldorBlat" <zeldorblat@gmail.com> wrote in messagenews:1176739280.731307.163510@l77g2000hsb.googlegroups.com...
 > > | Where does PHP5 allow parameters by reference: in the function
 > definition,
 > > | in the function call, or in both?
 >
 > > it's both isn't it...and that's been since php 3, hasn't it?
 >
 > Warning: Call-time pass-by-reference has been deprecated .
 > If it's in both ;)
 > Vince
 
 No, not if you use it in both -- only if you use it when calling the
 function.
 
 Yep, that is certainly correct.  And also incorrect.
 If you are silly enough to use it in both, similtaneously,  you will also
 get the above warning.  But to do that you would have to be, errr, me.
 I read the question like. When will a  gearbox break, when it's in first
 gear, in reverse, or in both?
 Nothing wrong with the question, it's just a mild retardation that shows
 itself after bedtime :)
 Vince
  Navigation: [Reply to this message] |