|  | Posted by sisqorap@gmail.com on 06/10/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?
  Navigation: [Reply to this message] |