/usr/share/php/test/XML_Parser/tests/bug-9328.phpt is in php-xml-parser 1.3.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | --TEST--
XML Parser: test for Bug #9328 "assigned by reference error in XML_RSS parse"
--FILE--
<?php
/*
* this issue only exists in PHP4
*/
require_once 'XML/RSS.php';
$url = 'www.someverybogusurl.com';
$rss =& new XML_RSS($url);
$error = $rss->parse();
echo $error->getMessage() . PHP_EOL;
?>
--EXPECT--
XML_Parser: Invalid document end at XML input line 1:1
|