xref: /PHP-7.0/ext/intl/tests/bug74433.phpt (revision f05d74fe)
1--TEST--
2Bug #74433 Wrong reflection on the Normalizer methods
3--SKIPIF--
4<?php if (!extension_loaded('intl')) die('skip intl extension not available'); ?>
5--FILE--
6<?php
7$rm = new ReflectionMethod(Normalizer::class, 'isNormalized');
8var_dump($rm->getNumberOfParameters());
9var_dump($rm->getNumberOfRequiredParameters());
10$rm = new ReflectionMethod(Normalizer::class, 'normalize');
11var_dump($rm->getNumberOfParameters());
12var_dump($rm->getNumberOfRequiredParameters());
13?>
14===DONE===
15--EXPECT--
16int(2)
17int(1)
18int(2)
19int(1)
20===DONE===
21