Skip to content

Commit

Permalink
Merge branch 'PHP-5.4' into PHP-5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
laruence committed Jun 19, 2013
2 parents 86434be + 2ce4bd7 commit bb9928c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/xmlreader/tests/012.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $reader->close();

echo "\nUsing URI:\n";
$reader = new XMLReader();
$file = dirname(__FILE__) . '/_012.xml';
$file = dirname(__FILE__) . '/012.xml';
if (DIRECTORY_SEPARATOR == '\\') {
$file = str_replace('\\',"/", $file);
}
Expand All @@ -52,7 +52,7 @@ var_dump($reader->getAttribute('baz'));
$reader->close();

$reader = new XMLReader();
$reader->open(dirname(__FILE__) . '/_012.xml');
$reader->open(dirname(__FILE__) . '/012.xml');
$reader->setParserProperty(XMLReader::DEFAULTATTRS, true);
while($reader->read() && $reader->nodeType != XMLReader::ELEMENT);
var_dump($reader->getAttribute('bar'));
Expand Down

0 comments on commit bb9928c

Please sign in to comment.