Reply to Re: Call-time pass-by-reference has been deprecated;

Your name:

Reply:


Posted by sisqorap@gmail.com on 11/11/31 12:00

On 16 jan, 18:24, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> sisqo...@gmail.com wrote:
> > Warning: Call-time pass-by-reference has been deprecated; If you would
> > like to pass it by reference, modify the declaration of
> > xml_parse_into_struct().
>
> In other words, instead of this:
>
> xml_parse_into_struct( $parser, $data, &$structure, &$index );
>
> Use this:
>
> xml_parse_into_struct( $parser, $data, $structure, $index );
>
> And modify the function definition of xml_parse_into_struct to include the
> ampersand symbols there instead.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 17 days, 4:36.]
>
> Gnocchi all'Amatriciana al Forno
> http://tobyinkster.co.uk/blog/2008/01/15/gnocchi-allamatriciana/

Tried this and warnings are gone but now I get this Notice:
Notice: Only variable references should be returned by reference in
blaja.php on line 165

The last line of the code is line 165
if ($uID == 0) {
$uID = $this->f_getUserID();
}

if ($uID <= 0) { return 0; }

Maybe someone can get me out of this?

[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

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