1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 04:51:03 +02:00
Files
archived-php-src/ext/standard/tests/general_functions/bug44394.phpt
2016-08-11 08:31:48 +09:00

22 lines
352 B
PHP

--TEST--
Bug #44394 (Last two bytes missing from output)
--INI--
session.trans_sid_tags="a=href,area=href,frame=src,form="
url_rewriter.tags="a=href,area=href,frame=src,form="
--FILE--
<?php
$string = "<a href='a?q=1'>asd</a>";
output_add_rewrite_var('a', 'b');
echo $string;
ob_flush();
ob_end_clean();
?>
--EXPECT--
<a href='a?q=1&a=b'>asd</a>