php-src/ext/standard/tests/general_functions/bug44394.phpt
2008-05-14 13:04:05 +00:00

19 lines
233 B
PHP

--TEST--
Bug #44394 (Last two bytes missing from output)
--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>