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