![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: binary 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: ); 12: var_dump($x); 13: ?> 14: --EXPECT-- 15: string(19) "<p>abracadabra</p> 16: "