]> granicus.if.org Git - php/commitdiff
Remove deprecated call-time reference
authorStanislav Malyshev <stas@php.net>
Sun, 3 Sep 2000 09:12:22 +0000 (09:12 +0000)
committerStanislav Malyshev <stas@php.net>
Sun, 3 Sep 2000 09:12:22 +0000 (09:12 +0000)
ext/xml/tests/003.phpt
tests/lang/028.phpt

index 81b7f9d47859b86e19ab80aac71450d2ee3aab55..acb9fc3394ee18e0c3db01a9e60817e752c46972 100644 (file)
@@ -7,7 +7,7 @@ XML parser test, xml_set_object callbacks
 
 $xml_parser = xml_parser_create();
 $obj = new myclass;
-xml_set_object($xml_parser, &$obj);
+xml_set_object($xml_parser, $obj);
 xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, 1);
 xml_set_element_handler($xml_parser, "startElement", "endElement");
 xml_set_character_data_handler($xml_parser, "characterData");
index cb21c2ead19355615a0296b497d8188614e70446..4fee8c3be7da502aca5af84b9d7a98bc0697b1fe 100644 (file)
@@ -51,7 +51,7 @@ endfor;
 
 $dafna = new dafna_class();
 
-print $name=call_user_method("GetMyName", &$dafna);
+print $name=call_user_method("GetMyName", $dafna);
 print "\n";
 
 ?>