xref: /PHP-8.0/ext/mbstring/tests/mb_scrub.phpt (revision 8ad4ef98)
1--TEST--
2mb_scrub()
3--SKIPIF--
4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
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