cvs: php4(PHP_4_3) /ext/xslt/tests 009.phpt
| From: | Melvyn Sopacua | Date: | Mon, 07 Oct 2002 00:34:03 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/xslt/tests 009.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14639@lists.php.net to get a copy of this message | ||
msopacua Sun Oct 6 20:34:03 2002 EDT
Added files: (Branch: PHP_4_3)
/php4/ext/xslt/tests 009.phpt
Log:
MFH
Index: php4/ext/xslt/tests/009.phpt
+++ php4/ext/xslt/tests/009.phpt
--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'