xref: /PHP-8.2/ext/mbstring/tests/bug77025.phpt (revision 74859783)
1--TEST--
2Bug #77025: mb_strpos throws Unknown encoding or conversion error
3--EXTENSIONS--
4mbstring
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