mirror of
https://github.com/php/php-src.git
synced 2026-04-28 18:53:33 +02:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
20 lines
429 B
PHP
20 lines
429 B
PHP
--TEST--
|
|
Bug #74705 Wrong reflection on Collator::getSortKey
|
|
--EXTENSIONS--
|
|
intl
|
|
--FILE--
|
|
<?php
|
|
$rm = new ReflectionMethod(Collator::class, 'getSortKey');
|
|
var_dump($rm->getNumberOfParameters());
|
|
var_dump($rm->getNumberOfRequiredParameters());
|
|
|
|
$rf = new ReflectionFunction('collator_get_sort_key');
|
|
var_dump($rf->getNumberOfParameters());
|
|
var_dump($rf->getNumberOfRequiredParameters());
|
|
?>
|
|
--EXPECT--
|
|
int(1)
|
|
int(1)
|
|
int(2)
|
|
int(2)
|