Compare commits

...
Author SHA1 Message Date
Johannes Schlüter 12a6ea6fff - PHP 5.3.5 2011-01-05 16:37:18 +00:00
Johannes Schlüter 7644cb4436 PHP 5.3.5 2011-01-05 16:35:33 +00:00
Johannes Schlüter 2a24558178 - Merge r307123
Added test for big year (iliaa)
2011-01-05 15:39:17 +00:00
Johannes Schlüter 2637ce9fb0 - Merge r307103
Optimize unix timestamp to date-string conversion for very high year values (iliaaa)
2011-01-05 15:34:34 +00:00
Johannes Schlüter 38faa59bc4 Merge rev. 307097
Add test for bug #53632 (scottmac)
2011-01-05 13:35:24 +00:00
Johannes Schlüter 57bf3eb6ca Merge rev. 307095
- Fix bug #53632 with x87 fpu (scottmac)
2011-01-05 13:32:26 +00:00
Johannes Schlüter 0e9fe5a2c2 - Go to -dev 2011-01-05 13:20:13 +00:00
Johannes Schlüter 29acd17ec2 - 5.3.5 release branch, based on tags/php_5_3_4 2011-01-05 13:11:22 +00:00
Johannes Schlüter 7d14f70776 PHP 5.3.4 2010-12-08 21:41:22 +00:00
7 changed files with 41 additions and 5 deletions

No files matched your search

+3
View File
@@ -1,5 +1,8 @@
PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
06 Jan 2011, PHP 5.3.5
- Fixed Bug #53632 (infinite loop with x87 fpu). (Scott, Rasmus)
09 Dec 2010, PHP 5.3.4
- Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)
- Upgraded bundled PCRE to version 8.10. (Ilia)
+10
View File
@@ -0,0 +1,10 @@
--TEST--
zend_strtod() hangs with 2.2250738585072011e-308
--FILE--
<?php
$d = 2.2250738585072011e-308;
echo "Done\n";
?>
--EXPECTF--
Done
+1 -1
View File
@@ -2035,7 +2035,7 @@ ZEND_API double zend_strtod (CONST char *s00, char **se)
int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, dsign,
e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign;
CONST char *s, *s0, *s1;
double aadj, aadj1, adj;
volatile double aadj, aadj1, adj;
volatile _double rv, rv0;
Long L;
ULong y, z;
+1 -1
View File
@@ -41,7 +41,7 @@ AC_CONFIG_HEADER(main/php_config.h)
PHP_MAJOR_VERSION=5
PHP_MINOR_VERSION=3
PHP_RELEASE_VERSION=4
PHP_RELEASE_VERSION=5
PHP_EXTRA_VERSION=""
PHP_VERSION="$PHP_MAJOR_VERSION.$PHP_MINOR_VERSION.$PHP_RELEASE_VERSION$PHP_EXTRA_VERSION"
PHP_VERSION_ID=`expr [$]PHP_MAJOR_VERSION \* 10000 + [$]PHP_MINOR_VERSION \* 100 + [$]PHP_RELEASE_VERSION`
+6
View File
@@ -55,6 +55,12 @@ void timelib_unixtime2gmt(timelib_time* tm, timelib_sll ts)
if (ts >= 0) {
tmp_days = days + 1;
if (tmp_days >= DAYS_PER_LYEAR_PERIOD || tmp_days <= -DAYS_PER_LYEAR_PERIOD) {
cur_year += YEARS_PER_LYEAR_PERIOD * (tmp_days / DAYS_PER_LYEAR_PERIOD);
tmp_days -= DAYS_PER_LYEAR_PERIOD * (tmp_days / DAYS_PER_LYEAR_PERIOD);
}
while (tmp_days >= DAYS_PER_LYEAR) {
cur_year++;
if (timelib_is_leap(cur_year)) {
+17
View File
@@ -0,0 +1,17 @@
--TEST--
Handling of large year values
--SKIPIF--
<?php echo PHP_INT_SIZE != 8 ? "skip 64-bit only" : "OK"; ?>
--FILE--
<?php
date_default_timezone_set("America/Toronto");
$t = mktime(0,0,0,1,1,292277026596);
var_dump(date("r", $t));
echo "OK\n";
?>
--EXPECT--
string(36) "Fri, 01 Jan 219250468 00:00:00 -0500"
OK
+3 -3
View File
@@ -2,7 +2,7 @@
/* edit configure.in to change version number */
#define PHP_MAJOR_VERSION 5
#define PHP_MINOR_VERSION 3
#define PHP_RELEASE_VERSION 4
#define PHP_RELEASE_VERSION 5
#define PHP_EXTRA_VERSION ""
#define PHP_VERSION "5.3.4"
#define PHP_VERSION_ID 50304
#define PHP_VERSION "5.3.5"
#define PHP_VERSION_ID 50305