mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
21 lines
534 B
PHP
21 lines
534 B
PHP
--TEST--
|
|
Bug #74433 Wrong reflection on the Normalizer methods
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('intl')) die('skip intl extension not available'); ?>
|
|
--FILE--
|
|
<?php
|
|
$rm = new ReflectionMethod(Normalizer::class, 'isNormalized');
|
|
var_dump($rm->getNumberOfParameters());
|
|
var_dump($rm->getNumberOfRequiredParameters());
|
|
$rm = new ReflectionMethod(Normalizer::class, 'normalize');
|
|
var_dump($rm->getNumberOfParameters());
|
|
var_dump($rm->getNumberOfRequiredParameters());
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
int(2)
|
|
int(1)
|
|
int(2)
|
|
int(1)
|
|
===DONE===
|