Closed
Description
Description
The following code:
<?php
var_dump(mb_strrpos('foo', 'foo', -1, 'ASCII'));
var_dump(mb_strripos('foo', 'foo', -1, 'ASCII'));
Resulted in this output:
Segmentation fault
But I expected this output instead:
bool(false)
bool(false)
PHP Version
PHP 8.2.0
Operating System
No response