mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
c709b0ba84
commit
394d106b1f
1 changed files with 2 additions and 2 deletions
|
@ -1654,7 +1654,7 @@ $xml_parser->parse("<A ID=\"hallo\">PHP</A>");
|
|||
<programlisting>
|
||||
$simple = "<para><note>simple note</note></para>";
|
||||
$p = xml_parser_create();
|
||||
xml_parse_into_struct($p,$simple,&$vals,&$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,&$values,&$tags);
|
||||
xml_parse_into_struct($parser,$data,$values,$tags);
|
||||
xml_parser_free($parser);
|
||||
|
||||
// loop through the structures
|
||||
|
|
Loading…
Reference in a new issue