xref: /PHP-8.1/ext/mbstring/tests/mb_scrub.phpt (revision 39131219)
1--TEST--
2mb_scrub()
3--EXTENSIONS--
4mbstring
5--FILE--
6<?php
7var_dump(
8    "?" === mb_scrub("\x80"),
9    "?" === mb_scrub("\x80", 'UTF-8')
10);
11?>
12--EXPECT--
13bool(true)
14bool(true)
15