xref: /PHP-8.0/ext/intl/tests/bug74433.phpt (revision a555cc0b)
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--EXPECT--
15int(2)
16int(1)
17int(2)
18int(1)
19