xref: /PHP-7.2/ext/mbstring/tests/bug76704.phpt (revision c00f5e65)
1--TEST--
2Bug #76704 (mb_detect_order return value varies based on argument type)
3--SKIPIF--
4<?php
5if (!extension_loaded('mbstring')) die('skip mbstring extension not available');
6?>
7--FILE--
8<?php
9var_dump(mb_detect_order('Foo, UTF-8'));
10var_dump(mb_detect_order(['Foo', 'UTF-8']))
11?>
12===DONE===
13--EXPECT--
14bool(false)
15bool(false)
16===DONE===
17