summaryrefslogtreecommitdiff
path: root/ext/xslt/tests/bug17791.phpt
blob: 0a9446e1b0e5e63bbbae54cac1885e2c1afd599b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Pass long string to 'file' argument, bug #17791
--SKIPIF--
<?php include("skipif.inc"); ?>
--FILE--
<?php
$xmlstring = str_repeat('x', 512);
$xslstring = 'x';
$xh = xslt_create();
$result = @xslt_process($xh, $xmlstring, $xslstring);
@xslt_free($xh);
echo("OK");
?>
--EXPECT--
OK