blob: 58ae9c0f8207974e3fbb400daad5e250c4beab66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--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"
}
|