Changing more pass by refs errors for backwards compatibility

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@38550 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
James Moore 2001-01-03 20:20:36 +00:00
parent c709b0ba84
commit 394d106b1f

View file

@ -1654,7 +1654,7 @@ $xml_parser->parse("<A ID=\"hallo\">PHP</A>");
<programlisting>
$simple = &quot;&lt;para&gt;&lt;note&gt;simple note&lt;/note&gt;&lt;/para&gt;&quot;;
$p = xml_parser_create();
xml_parse_into_struct($p,$simple,&amp;$vals,&amp;$index);
xml_parse_into_struct($p,$simple,$vals,$index);
xml_parser_free($p);
echo "Index array\n";
print_r($index);
@ -1769,7 +1769,7 @@ function readDatabase($filename) {
$parser = xml_parser_create();
xml_parser_set_option($parser,XML_OPTION_CASE_FOLDING,0);
xml_parser_set_option($parser,XML_OPTION_SKIP_WHITE,1);
xml_parse_into_struct($parser,$data,&amp;$values,&amp;$tags);
xml_parse_into_struct($parser,$data,$values,$tags);
xml_parser_free($parser);
// loop through the structures