xref: /PHP-8.0/ext/gettext/tests/bug73730.phpt (revision a555cc0b)
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--EXPECT--
14string(8) "messages"
15