1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00
Files
archived-php-src/ext/tidy/tests/018.phpt
2005-10-25 18:04:59 +00:00

17 lines
295 B
PHP

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