Index: trunk/phase3/install-utils.inc |
— | — | @@ -56,9 +56,9 @@ |
57 | 57 | * Known fixed with PHP 5.2.9 + libxml2-2.7.3 |
58 | 58 | */ |
59 | 59 | class PhpXmlBugTester { |
60 | | - var $parsedData = ''; |
61 | | - var $ok = false; |
62 | | - function __construct() { |
| 60 | + private $parsedData = ''; |
| 61 | + public $ok = false; |
| 62 | + public function __construct() { |
63 | 63 | $charData = '<b>c</b>'; |
64 | 64 | $xml = '<a>' . htmlspecialchars( $charData ) . '</a>'; |
65 | 65 | |
— | — | @@ -67,7 +67,7 @@ |
68 | 68 | $parsedOk = xml_parse($parser, $xml, true); |
69 | 69 | $this->ok = $parsedOk && ($this->parsedData == $charData); |
70 | 70 | } |
71 | | - function chardata($parser, $data) { |
| 71 | + public function chardata($parser, $data) { |
72 | 72 | $this->parsedData .= $data; |
73 | 73 | } |
74 | 74 | } |