1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00
Files
archived-php-src/ext/tidy/tests/bug77594.phpt
Christoph M. Becker 221345a013 Fix #77594: ob_tidyhandler is never reset
We reset to original INI value on request shutdown.

Closes GH-6425.
2020-11-22 14:02:29 +01:00

16 lines
301 B
PHP

--TEST--
Bug #77594 (ob_tidyhandler is never reset)
--DESCRIPTION--
Test is useful only with --repeat 2 (or more)
--SKIPIF--
<?php
if (!extension_loaded('tidy')) die('skip tidy extension not available');
?>
--FILE--
<?php
ob_start('ob_tidyhandler');
var_dump(ob_end_clean());
?>
--EXPECT--
bool(true)