1--TEST-- 2Bug #26862 (ob_flush() before output_reset_rewrite_vars() results in data loss) 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6html_errors=0 7session.use_trans_sid=0 8session.save_handler=files 9--FILE-- 10<?php 11session_start(); 12output_add_rewrite_var('var', 'value'); 13 14echo '<a href="file.php">link</a>'; 15 16ob_flush(); 17 18output_reset_rewrite_vars(); 19echo '<a href="file.php">link</a>'; 20?> 21--EXPECT-- 22<a href="file.php?var=value">link</a><a href="file.php">link</a> 23