mirror of
https://github.com/php/php-src.git
synced 2024-10-05 08:46:11 +00:00
c4805ffeb1
002.phpt and 003.phpt are regression tests for reported bugs. 004.phpt has been known to cause problems in some Sab/PHP combinations. No known reports in bug db for that one. Added skip mechanism @- Added regression test for bugs #17791 and #17931 (Melvyn)
16 lines
289 B
PHP
16 lines
289 B
PHP
--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
|