Reply to Re: caller has no way knowing whether the function will modify the argument?

Your name:

Reply:


Posted by NC on 09/27/07 07:35

On Sep 26, 7:13 pm, Summercool <Summercooln...@gmail.com> wrote:
>
> Is it true that the caller has no way to know whether the function it
> is calling uses
>
> function foo($a)
>
> or
>
> function foo(&$a)
>
> so the caller never knows whether it is "pass by value" or "pass by
> reference" and so won't know whether the argument can be modified or
> not?

That's what documentation is for...

Cheers,
NC

[Back to original 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

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