xref: /PHP-7.3/ext/mbstring/tests/bug77025.phpt (revision 56665a1b)
1--TEST--
2Bug #77025: mb_strpos throws Unknown encoding or conversion error
3--FILE--
4<?php
5
6var_dump(mb_strpos('Hello', 'e', 0, '8bit'));
7var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
8
9?>
10--EXPECT--
11int(1)
12int(1)
13