![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #45722 (mb_check_encoding() crashes) ! 3: --SKIPIF-- ! 4: <?php extension_loaded('mbstring') or die('skip mbstring not available'); ?> ! 5: --FILE-- ! 6: <?php ! 7: var_dump(mb_check_encoding("&\xc2\xb7 TEST TEST TEST TEST TEST TEST", "HTML-ENTITIES")); ! 8: ?> ! 9: --EXPECT-- ! 10: bool(false)