summaryrefslogtreecommitdiff
path: root/ext/libxml/tests/003.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/libxml/tests/003.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/libxml/tests/003.phpt')
-rw-r--r--ext/libxml/tests/003.phpt28
1 files changed, 0 insertions, 28 deletions
diff --git a/ext/libxml/tests/003.phpt b/ext/libxml/tests/003.phpt
deleted file mode 100644
index dcf6c0bb65..0000000000
--- a/ext/libxml/tests/003.phpt
+++ /dev/null
@@ -1,28 +0,0 @@
---TEST--
-libxml_use_internal_errors() memory leaks
---SKIPIF--
-<?php if (!extension_loaded('simplexml')) die('skip'); ?>
---FILE--
-<?php
-var_dump(libxml_use_internal_errors(true));
-
-$xmlstr = <<< XML
-<?xml version='1.0' standalone='yes'?>
- <movies>
- <movie>
- <titles>PHP: Behind the Parser</title>
- </movie>
- </movies>
-XML;
-
-simplexml_load_string($xmlstr);
-
-// test memleaks here
-var_dump(libxml_use_internal_errors(false));
-
-echo "Done\n";
-?>
---EXPECTF--
-bool(false)
-bool(true)
-Done