diff options
author | SVN Migration <svn@php.net> | 2002-10-06 23:58:52 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-10-06 23:58:52 +0000 |
commit | 212e49bc38b31e693926c1287ea1b267058f3056 (patch) | |
tree | 7012f4bce6a7777d4f8228e12e02f8f7a887c068 | |
parent | 9eb5ddd32acf222927dcc209e3c5209bd14c2a6a (diff) | |
download | php-git-212e49bc38b31e693926c1287ea1b267058f3056.tar.gz |
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
-rw-r--r-- | ext/xslt/tests/009.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/xslt/tests/009.phpt b/ext/xslt/tests/009.phpt new file mode 100644 index 0000000000..a03780bd61 --- /dev/null +++ b/ext/xslt/tests/009.phpt @@ -0,0 +1,17 @@ +--TEST-- +Memoryleak in error printing +--SKIPIF-- +<?php include("skipif.inc"); ?> +--FILE-- +<?php +error_reporting(E_ALL); +$xmlfile = 'ext/xslt/tests/non-existent.xml'; +$xslfile = 'ext/xslt/tests/non-existent.xsl'; + +$xh = xslt_create(); +$result = xslt_process($xh, $xmlfile, $xslfile, NULL); +xslt_free($xh); +?> +--EXPECTF-- +Warning: Sablotron error on line none: cannot open file '%s/ext/xslt/tests/non-existent.xsl' in %s/ext/xslt/tests/phpt.%s on line %i +%sext/xslt/tests/%s(%i) : Warning - Sablotron error on line none: cannot open file '%sext/xslt/tests/non-existent.xsl' |