xref: /php-src/ext/intl/tests/bug74468.phpt (revision 3815a773)
1--TEST--
2Bug #74468 Wrong reflection on Collator::sortWithSortKeys
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7$rm = new ReflectionMethod(Collator::class, 'sortWithSortKeys');
8var_dump($rm->getNumberOfParameters());
9var_dump($rm->getNumberOfRequiredParameters());
10
11$rf = new ReflectionFunction('collator_sort_with_sort_keys');
12var_dump($rf->getNumberOfParameters());
13var_dump($rf->getNumberOfRequiredParameters());
14?>
15--EXPECT--
16int(1)
17int(1)
18int(2)
19int(2)
20