xref: /PHP-5.6/ext/intl/tests/bug66921.phpt (revision 8ba240a7)
1--TEST--
2Bug #66921 - Wrong argument type hint for function intltz_from_date_time_zone
3--SKIPIF--
4<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5--FILE--
6<?php
7$f = new ReflectionFunction('intltz_from_date_time_zone');
8var_dump($f->getParameters()[0]->getClass());
9
10?>
11--EXPECTF--
12object(ReflectionClass)#%d (1) {
13  ["name"]=>
14  string(12) "DateTimeZone"
15}
16