X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FPhpBugTests.php;h=5471264468eb81f3aa2eb9db4724045d57e69e99;hb=0e24ba0d9b1ba699f722b23bc3ef941b85df66cd;hp=773debe0f29eccbf41cc2c02bc25c940d651c0e0;hpb=ef27863d9f46e43ef0b2aeeeb02602fee6c5ef26;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/PhpBugTests.php b/includes/installer/PhpBugTests.php index 773debe0f2..5471264468 100644 --- a/includes/installer/PhpBugTests.php +++ b/includes/installer/PhpBugTests.php @@ -30,6 +30,7 @@ class PhpXmlBugTester { private $parsedData = ''; public $ok = false; + public function __construct() { $charData = 'c'; $xml = '' . htmlspecialchars( $charData ) . ''; @@ -39,6 +40,7 @@ class PhpXmlBugTester { $parsedOk = xml_parse( $parser, $xml, true ); $this->ok = $parsedOk && ( $this->parsedData == $charData ); } + public function chardata( $parser, $data ) { $this->parsedData .= $data; }