xref: /php-src/ext/tidy/tests/018.phpt (revision 7f2f0c00)
1--TEST--
2binary safety
3--EXTENSIONS--
4tidy
5--FILE--
6<?php
7$x = tidy_repair_string("<p>abra\0cadabra</p>",
8    array(	'show-body-only' => true,
9            'clean' => false,
10            'newline' => "\n")
11    );
12var_dump($x);
13?>
14--EXPECT--
15string(19) "<p>abracadabra</p>
16"
17