You are here: Re: Really hardcore question about PHP needed :) « PHP Programming Language « IT news, forums, messages
Re: Really hardcore question about PHP needed :)

Posted by Vince Morgan on 04/17/07 00:16

"ZeldorBlat" <zeldorblat@gmail.com> wrote in message
news: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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация