1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/ext/tidy/tests/018.phpt
Niels Dossche b8e9f7c44c Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
  Fix GH-20374: PHP with tidy and custom-tags
  pgsql: Fix memory leak when object init fails (#20387)
2025-11-04 20:21:09 +01:00

17 lines
272 B
PHP

--TEST--
binary safety
--EXTENSIONS--
tidy
--FILE--
<?php
$x = tidy_repair_string("<p>abra\0cadabra</p>",
array( 'show-body-only' => true,
'clean' => false,
'newline' => "LF")
);
var_dump($x);
?>
--EXPECT--
string(19) "<p>abracadabra</p>
"