You are here: Re: what does this mean « PHP Programming Language « IT news, forums, messages
Re: what does this mean

Posted by ZeldorBlat on 10/17/07 08:41

On Oct 16, 10:24 pm, "Steve" <no....@example.com> wrote:
>
> it could be the version of php you're using...newer versions don't like the
> depreciated use of referencing an argument...as in the &$in. the newer the
> version, the more flack php gives about it.
>

A function taking an argument by reference is /not/ deprecated. Call-
time pass by reference is, however.

This is perfectly acceptable and has valid uses:

function RLE_Uncompress(&$in, $insize, $bytemode) {
//do something
}

Passing a parameter by reference when you call the function is
deprecated, however:

$x = RLE_Uncompress(&$foo, $bar, $baz);

 

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

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