xref: /PHP-8.4/ext/intl/tests/bug74433.phpt (revision 74859783)
1--TEST--
2Bug #74433 Wrong reflection on the Normalizer methods
3--EXTENSIONS--
4intl
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