PHP5 has been out for years now.
authorChad Horohoe <demon@users.mediawiki.org>
Wed, 12 Aug 2009 00:13:39 +0000 (00:13 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Wed, 12 Aug 2009 00:13:39 +0000 (00:13 +0000)
install-utils.inc

index d8f73ce..234b12c 100644 (file)
@@ -56,9 +56,9 @@ function install_version_checks() {
  * Known fixed with PHP 5.2.9 + libxml2-2.7.3
  */
 class PhpXmlBugTester {
-       var $parsedData = '';
-       var $ok = false;
-       function __construct() {
+       private $parsedData = '';
+       public $ok = false;
+       public function __construct() {
                $charData = '<b>c</b>';
                $xml = '<a>' . htmlspecialchars( $charData ) . '</a>';
                
@@ -67,7 +67,7 @@ class PhpXmlBugTester {
                $parsedOk = xml_parse($parser, $xml, true);
                $this->ok = $parsedOk && ($this->parsedData == $charData);
        }
-       function chardata($parser, $data) {
+       public function chardata($parser, $data) {
                $this->parsedData .= $data;
        }
 }