summaryrefslogtreecommitdiff
path: root/ext/gettext/tests/bug73730.phpt
blob: df6d7b0f11c069f8152a1342ba181103b5215da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #73730 (textdomain(null) throws in strict mode)
--SKIPIF--
<?php
if (!extension_loaded('gettext')) die('skip gettext extension is not available');
?>
--FILE--
<?php
declare(strict_types=1);

var_dump(textdomain(null));
?>
===DONE===
--EXPECT--
string(8) "messages"
===DONE===