mirror of
https://github.com/php/php-src.git
synced 2024-10-13 20:42:38 +00:00
d2f81e2083
Remove dl() from skipif, for potential problems accross platforms and versions.
22 lines
467 B
PHP
22 lines
467 B
PHP
--TEST--
|
|
Memoryleak in error printing
|
|
--SKIPIF--
|
|
<?php include("skipif.inc"); ?>
|
|
--INI--
|
|
error_reporting=2047
|
|
display_errors=0
|
|
track_errors=1
|
|
--FILE--
|
|
<?php
|
|
$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);
|
|
|
|
echo $php_errormsg."\n";
|
|
?>
|
|
--EXPECTF--
|
|
Sablotron error on line none: cannot open file '%s/ext/xslt/tests/non-existent.xsl'
|