diff options
Diffstat (limited to 'ext/xmlreader/tests/005.phpt')
-rw-r--r-- | ext/xmlreader/tests/005.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/xmlreader/tests/005.phpt b/ext/xmlreader/tests/005.phpt index e6fd02c9aa..5ec0c9102b 100644 --- a/ext/xmlreader/tests/005.phpt +++ b/ext/xmlreader/tests/005.phpt @@ -1,9 +1,9 @@ --TEST-- -XMLReader: libxml2 XML Reader, parser property set/get +XMLReader: libxml2 XML Reader, parser property set/get --SKIPIF-- <?php if (!extension_loaded("xmlreader")) print "skip"; ?> --FILE-- -<?php +<?php /* $Id$ */ $xmlstring = '<?xml version="1.0" encoding="UTF-8"?> @@ -17,14 +17,14 @@ $reader->XML($xmlstring); $a = $reader->setParserProperty(XMLReader::LOADDTD, false); $b = $reader->getParserProperty(XMLReader::LOADDTD); -if (!$a && !$b) { +if (!$a && !$b) { echo "ok\n"; } $a = $reader->setParserProperty(XMLReader::SUBST_ENTITIES, true); $b = $reader->getParserProperty(XMLReader::SUBST_ENTITIES); -if ($a && $b) { +if ($a && $b) { echo "ok\n"; } // Only go through |