xref: /PHP-5.6/ext/tidy/tests/018.phpt (revision a329ecd8)
1--TEST--
2binary safety
3--SKIPIF--
4<?php if (!extension_loaded("tidy")) print "skip"; ?>
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