Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
0119bbba6b
Fixed compiler warnings
...
warning: 'local_dval' may be used uninitialized in this function
[-Wmaybe-uninitialized]
warning: 'dval2' may be used uninitialized in this function
[-Wmaybe-uninitialized]
2013-08-27 15:44:30 +08:00
Stanislav Malyshev
02e4d7a290
Merge branch 'pull-request/341'
...
* pull-request/341: (23 commits)
typofixes
2013-06-10 14:30:59 -07:00
Adam Harvey
be1700d467
Fix compile failure introduced by the fix for bug #46408 .
2013-01-15 10:08:26 +08:00
Lars Strojny
92965b033a
Bug #46408 : Fix double formatting for PostgreSQL bound parameters
2013-01-14 21:23:52 +01:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Xinchen Hui
b5d2c3174f
Merge branch 'PHP-5.4'
2012-08-31 11:25:21 +08:00
Xinchen Hui
66fad45724
Merge branch 'PHP-5.3' into PHP-5.4
2012-08-31 11:24:10 +08:00
Xinchen Hui
5dc2cef370
Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes)
2012-08-31 11:22:43 +08:00
Stanislav Malyshev
efdb7ce4b0
improve code in zend_operators
2012-07-14 21:06:40 -07:00
Stanislav Malyshev
582514d4c7
fix for bug#18556 - use simple tolower() function for internal things
2012-07-14 14:50:50 -07:00
Felipe Pena
60c5f9910f
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
- Optimize comparison between same HashTable pointer
- Fixed bug #62205 (php-fpm segfaults (null passed to strstr))
- fix missing include for unix sockets
- Comment unused function to avoid warnings
2012-06-03 18:20:26 -03:00
Felipe Pena
d57b278ad1
- Optimize comparison between same HashTable pointer
2012-06-03 18:16:57 -03:00
Gustavo André dos Santos Lopes
acd711685a
Fixed bug #62097
...
This fixes the fix for bug #54547 in 32-bit machines by accepting
float comparisons in 32-bit machines as long as the integer is
not larger than the mantissa.
2012-05-23 18:55:36 -05:00
Stanislav Malyshev
9344bf193c
fix bug #54547
2012-05-13 14:40:44 -07:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
895a10caf1
- Fixed ZTS build
2011-08-30 01:33:42 +00:00
Derick Rethans
56a87c2806
- Zend engine part for bug #55158 : Add SORT_NATURAL type to array_multisort
...
(patch by Arpad Ray).
2011-08-29 20:24:09 +00:00
Dmitry Stogov
c270347c0b
MFH: Arithmetic speedup. Inlined most probable code-paths for arithmetic operations directly into executor.
2011-05-31 12:05:25 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Scott MacVicar
1e48c71b96
Fix a bug where two doubles are equal but the maths operation makes it appear false.
...
Best example with INF where equals and identical produce different results.
<?php
var_dump(INF==INF);
var_dump(INF===INF);
2010-08-22 08:01:34 +00:00
Felipe Pena
87c87daaf3
- Fixed bug #52193 (converting closure to array yields empty array)
2010-06-26 17:14:33 +00:00
Felipe Pena
9ea7a70e24
- Fixed bug #52193 (converting closure to array yields empty array)
2010-06-26 17:14:33 +00:00
Dmitry Stogov
f94a437d9d
Fixed a possible information leak because of interruption of XOR operator
2010-05-12 11:10:06 +00:00
Dmitry Stogov
4ae16d351c
Fixed a possible information leak because of interruption of XOR operator
2010-05-12 11:10:06 +00:00
Dmitry Stogov
dd5c478be6
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
2010-04-20 11:05:54 +00:00
Sebastian Bergmann
d2281d1dff
sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
2010-01-05 20:46:53 +00:00
Ilia Alshanetsky
0ebe3a7690
Extend the previously added large string concatenation validation
2009-11-23 04:12:36 +00:00
Ilia Alshanetsky
63e4efe784
Fixed bug #50207 (segmentation fault when concatenating very large strings
...
on 64bit linux).
2009-11-19 14:04:34 +00:00
Matt Wilmas
b907aa4331
MFH:
...
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
* Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
* See bug #42868 (presumably-rare platform with different results in 5.2)
* On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
otherwise it's the same as 5.2
* Use this conversion method everywhere instead of some plain (long) casts
Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
* Essentially what 5.3's new conversion was doing in most cases
* Functions with "limit" or "length" type params could be updated to use this,
and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
- See bug #47854 , for example; or even #42868 again
# Test updates coming
2009-06-04 18:20:45 +00:00
Jani Taskinen
2a31dbbadf
MFH:- Removed unnecessary TSRMLS_FETCH() calls
2009-05-11 08:31:15 +00:00
Jani Taskinen
daae8fb6fc
MFH: cs + ws
2009-05-11 07:52:49 +00:00
Jani Taskinen
f3bd837434
MFH: sync
2009-05-10 23:08:52 +00:00
Jani Taskinen
1338aa26be
sync with HEAD
2009-05-10 22:39:33 +00:00
Dmitry Stogov
69ce7ea442
optimization
2009-03-18 11:25:37 +00:00
Dmitry Stogov
31c0af245e
Fixed floating point mathematic speed degradation (Christian)
2009-03-18 10:18:10 +00:00
Matt Wilmas
645e15c2ea
MFH: Overflow comment
2009-02-17 15:15:18 +00:00
Matt Wilmas
a7eb83fef5
MFH: Fixed bug #47422 (modulus operator returns incorrect results on 64 bit linux)
2009-02-17 14:15:52 +00:00
Felipe Pena
f8689552a4
MFH:
...
- Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux)
Patch by Shire
2009-01-05 20:31:54 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Christian Seiler
04c528609a
- MFH: Changed floating point behaviour to consistently use double precision
...
on all platforms and with all compilers.
2008-12-02 16:19:10 +00:00
Felipe Pena
85ab423565
- MFH: Removed some TSRMLS_FETCH()s
2008-08-15 19:47:33 +00:00
Felipe Pena
cf7384aa40
- MFH: Constness (Added const qualifier to several function parameters)
2008-08-12 17:20:25 +00:00
Antony Dovgal
53a957e5f8
MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*)
2008-08-07 08:36:24 +00:00
Moriyoshi Koizumi
023211d8d2
- MFH: Constify read-only arguments
2008-07-24 20:39:48 +00:00
Matt Wilmas
87dca00a8e
MFH: Fixed overflow crash (at least on Windows) in div_function with LONG_MIN / -1
2008-05-29 11:45:13 +00:00
Antony Dovgal
7b1bc753c6
MFH: add zend_atol()
2008-03-19 12:41:23 +00:00
Felipe Pena
2b10c53ae1
MFH: Dropped zend.ze1_compatibility_mode
...
[DOC]
2008-03-18 14:10:45 +00:00