mirror of
https://github.com/php/php-src.git
synced 2026-04-18 13:31:27 +02:00
This is a mix of more automated and manual migration. It should remove all applicable extension_loaded() checks outside of skipif.inc files.
15 lines
176 B
PHP
15 lines
176 B
PHP
--TEST--
|
|
mb_scrub()
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
var_dump(
|
|
"?" === mb_scrub("\x80"),
|
|
"?" === mb_scrub("\x80", 'UTF-8')
|
|
);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|
|
bool(true)
|