You are here: Call-time pass-by-reference has been deprecated; « PHP Programming Language « IT news, forums, messages
Call-time pass-by-reference has been deprecated;

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

Hi all,

I have this kind of warning and would like to have it solved:
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(). If you would like to enable call-time pass-by-
reference, you can set allow_call_time_pass_reference to true in your
INI file. in /bla.php on line 94

The code which is behind is like this:
/* read the DSN from the file */
if( !($parser = xml_parser_create( ) )){
echo "Could not create parser<br>";
exit;
}

/* read the xml file */
$data = implode( file( $_SESSION[ 'CONF_file' ] ), "" );

/* parse into array */
xml_parse_into_struct( $parser, $data, &$structure, &$index );
xml_parser_free( $parser );

Somebody who can help me? And turning off/on
allow_call_time_pass_reference is not an option.

Greetz

 

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

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