mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
16 lines
367 B
PHP
16 lines
367 B
PHP
--TEST--
|
|
Bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone
|
|
--SKIPIF--
|
|
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
|
|
--FILE--
|
|
<?php
|
|
$f = new ReflectionFunction('intltz_from_date_time_zone');
|
|
var_dump($f->getParameters()[0]->getClass());
|
|
|
|
?>
|
|
--EXPECTF--
|
|
object(ReflectionClass)#%d (1) {
|
|
["name"]=>
|
|
string(12) "DateTimeZone"
|
|
}
|