|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-07-07 07:50 UTC] stas@php.net
[2014-07-07 07:50 UTC] stas@php.net
-Status: Open
+Status: Closed
[2014-07-07 15:21 UTC] dmitry@php.net
[2014-07-21 09:31 UTC] ab@php.net
[2014-07-21 10:02 UTC] ab@php.net
[2014-07-30 09:52 UTC] tyrael@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 23:00:01 2025 UTC |
Description: ------------ The argument type hint of function intltz_from_date_time_zone is wrong. php_intl.c line 448 ZEND_ARG_OBJ_INFO( 0, dateTimeZone, IntlDateTimeZone, 0 ) IntlDateTimeZone should be DateTimeZone Test script: --------------- <?php $f = new ReflectionFunction('intltz_from_date_time_zone'); var_dump($f->getParameters()[0]->getClass()); Expected result: ---------------- class ReflectionClass#2 (1) { public $name => string(12) "DateTimeZone" } Actual result: -------------- PHP Fatal error: Uncaught exception 'ReflectionException' with message 'Class IntlDateTimeZone does not exist'