Slow DateTimeZone::getTransitions with no argument

From: Date: Tue, 15 Aug 2017 21:54:20 +0000
Subject: Slow DateTimeZone::getTransitions with no argument
Groups: php.internals 
Request: Send a blank email to internals+get-100221@lists.php.net to get a copy of this message
Hi, Is the first entry in the return value of http://php.net/manual/en/datetimezone.gettransitions.php with the timestamp PHP_INT_MIN / ZEND_LONG_MIN intended? The difference with no arguments is over 100 times slower on 64 bit systems: DateTimeZone::getTransitions() Duration: 0.075577 DateTimeZone::getTransitions(-62135596800) Duration: 0.000587 https://3v4l.org/8osB8#output

« previous php.internals (#100221) next »