xref: /PHP-5.6/ext/mbstring/tests/bug45722.phpt (revision 99497dea)
1--TEST--
2Bug #45722 (mb_check_encoding() crashes)
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
5--FILE--
6<?php
7var_dump(mb_check_encoding("&\xc2\xb7 TEST TEST TEST TEST TEST TEST", "HTML-ENTITIES"));
8?>
9--EXPECT--
10bool(false)
11