1--TEST--
2imap_mutf7_to_utf8
3--SKIPIF--
4<?php if (!extension_loaded("imap")) print "skip"; ?>
5<?php if (!function_exists("imap_mutf7_to_utf8")) print "skip"; ?>
6--FILE--
7<?php
8
9var_dump(imap_mutf7_to_utf8(""));
10var_dump(imap_mutf7_to_utf8(1));
11var_dump(imap_mutf7_to_utf8(array(1,2)));
12var_dump(imap_mutf7_to_utf8("t&AOQ-st"));
13
14echo "Done\n";
15?>
16--EXPECTF--
17string(0) ""
18string(1) "1"
19
20Warning: imap_mutf7_to_utf8() expects parameter 1 to be string, array given in %s on line %d
21NULL
22string(5) "täst"
23Done
24