summaryrefslogtreecommitdiff
path: root/ext/xmlreader/tests/005.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
committerSVN Migration <svn@php.net>2006-10-15 21:09:28 +0000
commit88ec761548b66f58acc1a86cdd0fc164ca925476 (patch)
treed0af978fa00d83bb1d82c613f66477fbd6bb18aa /ext/xmlreader/tests/005.phpt
parent268984b4787e797db6054313fc9ba3b9e845306e (diff)
downloadphp-git-PECL_OPENSSL.tar.gz
This commit was manufactured by cvs2svn to create branch 'PECL_OPENSSL'.PECL_OPENSSL
Diffstat (limited to 'ext/xmlreader/tests/005.phpt')
-rw-r--r--ext/xmlreader/tests/005.phpt37
1 files changed, 0 insertions, 37 deletions
diff --git a/ext/xmlreader/tests/005.phpt b/ext/xmlreader/tests/005.phpt
deleted file mode 100644
index e6fd02c9aa..0000000000
--- a/ext/xmlreader/tests/005.phpt
+++ /dev/null
@@ -1,37 +0,0 @@
---TEST--
-XMLReader: libxml2 XML Reader, parser property set/get
---SKIPIF--
-<?php if (!extension_loaded("xmlreader")) print "skip"; ?>
---FILE--
-<?php
-/* $Id$ */
-
-$xmlstring = '<?xml version="1.0" encoding="UTF-8"?>
-<books></books>';
-
-$reader = new XMLReader();
-
-$reader->XML($xmlstring);
-
-
-$a = $reader->setParserProperty(XMLReader::LOADDTD, false);
-$b = $reader->getParserProperty(XMLReader::LOADDTD);
-
-if (!$a && !$b) {
- echo "ok\n";
-}
-
-$a = $reader->setParserProperty(XMLReader::SUBST_ENTITIES, true);
-$b = $reader->getParserProperty(XMLReader::SUBST_ENTITIES);
-
-if ($a && $b) {
- echo "ok\n";
-}
-// Only go through
-while ($reader->read());
-$reader->close();
-?>
-===DONE===
---EXPECT--
-ok
-===DONE===