xref: /PHP-7.4/ext/gettext/tests/bug73730.phpt (revision 4b746fce)
1--TEST--
2Bug #73730 (textdomain(null) throws in strict mode)
3--SKIPIF--
4<?php
5if (!extension_loaded('gettext')) die('skip gettext extension is not available');
6?>
7--FILE--
8<?php
9declare(strict_types=1);
10
11var_dump(textdomain(null));
12?>
13===DONE===
14--EXPECT--
15string(8) "messages"
16===DONE===
17