xref: /PHP-8.0/ext/mbstring/tests/bug77025.phpt (revision 74f26ba8)
1--TEST--
2Bug #77025: mb_strpos throws Unknown encoding or conversion error
3--SKIPIF--
4<?php if(!extension_loaded('mbstring')) die('skip mbstring not loaded'); ?>
5--FILE--
6<?php
7
8var_dump(mb_strpos('Hello', 'e', 0, '8bit'));
9var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
10
11?>
12--EXPECT--
13int(1)
14int(1)
15