Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFH: | Matt Wilmas | 2009-06-04 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | MFH:- Removed unnecessary TSRMLS_FETCH() calls | Jani Taskinen | 2009-05-11 | 1 | -13/+4 |
| | |||||
* | MFH: cs + ws | Jani Taskinen | 2009-05-11 | 1 | -116/+115 |
| | |||||
* | MFH: sync | Jani Taskinen | 2009-05-10 | 1 | -122/+148 |
| | |||||
* | sync with HEAD | Jani Taskinen | 2009-05-10 | 1 | -0/+5 |
| | |||||
* | optimization | Dmitry Stogov | 2009-03-18 | 1 | -4/+3 |
| | |||||
* | Fixed floating point mathematic speed degradation (Christian) | Dmitry Stogov | 2009-03-18 | 1 | -39/+0 |
| | |||||
* | MFH: Overflow comment | Matt Wilmas | 2009-02-17 | 1 | -0/+1 |
| | |||||
* | MFH: Fixed bug #47422 (modulus operator returns incorrect results on 64 bit ↵ | Matt Wilmas | 2009-02-17 | 1 | -1/+1 |
| | | | | linux) | ||||
* | MFH: | Felipe Pena | 2009-01-05 | 1 | -34/+0 |
| | | | | | | - Fixed bug #46701 (Creating associative array with long values in the key fails on 32bit linux) Patch by Shire | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | - MFH: Changed floating point behaviour to consistently use double precision | Christian Seiler | 2008-12-02 | 1 | -0/+39 |
| | | | | | on all platforms and with all compilers. | ||||
* | - MFH: Removed some TSRMLS_FETCH()s | Felipe Pena | 2008-08-15 | 1 | -7/+7 |
| | |||||
* | - MFH: Constness (Added const qualifier to several function parameters) | Felipe Pena | 2008-08-12 | 1 | -4/+4 |
| | |||||
* | MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) | Antony Dovgal | 2008-08-07 | 1 | -3/+6 |
| | |||||
* | - MFH: Constify read-only arguments | Moriyoshi Koizumi | 2008-07-24 | 1 | -4/+4 |
| | |||||
* | MFH: Fixed overflow crash (at least on Windows) in div_function with ↵ | Matt Wilmas | 2008-05-29 | 1 | -0/+4 |
| | | | | LONG_MIN / -1 | ||||
* | MFH: add zend_atol() | Antony Dovgal | 2008-03-19 | 1 | -0/+27 |
| | |||||
* | MFH: Dropped zend.ze1_compatibility_mode | Felipe Pena | 2008-03-18 | 1 | -34/+4 |
| | | | | | [DOC] | ||||
* | Added garbage collector | Dmitry Stogov | 2008-01-22 | 1 | -0/+1 |
| | |||||
* | Yet another comparison optimisation for usual cases | Dmitry Stogov | 2008-01-21 | 1 | -48/+51 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | Additional fix for bug #42868 | Dmitry Stogov | 2007-12-24 | 1 | -26/+28 |
| | |||||
* | Fixed bug #42868 (Floats cast to integer produce unpredicatable results). ↵ | Dmitry Stogov | 2007-12-17 | 1 | -10/+27 |
| | | | | (Zoe Slattery) | ||||
* | MFH: math and comparison optimization + use macroses | Dmitry Stogov | 2007-11-20 | 1 | -629/+612 |
| | |||||
* | optimization | Dmitry Stogov | 2007-10-29 | 1 | -10/+8 |
| | |||||
* | MFH: Added macros for managing zval refcounts and is_ref statuses | Yiduo (David) Wang | 2007-10-07 | 1 | -1/+1 |
| | |||||
* | MFH: Fixed compiler warnings | Jani Taskinen | 2007-07-21 | 1 | -1/+1 |
| | |||||
* | MFH: minor optimization - make sure the objects are not the same instance ↵ | Antony Dovgal | 2007-06-06 | 1 | -0/+5 |
| | | | | before we start comparing their properties | ||||
* | WIN64 support | Dmitry Stogov | 2007-04-23 | 1 | -2/+10 |
| | |||||
* | - Avoid sprintf, even when checked copy'n'paste or changes lead to errors | Marcus Boerger | 2007-02-24 | 1 | -12/+6 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | Simplify & optimize code | Ilia Alshanetsky | 2006-12-30 | 1 | -4/+8 |
| | | | | | # Patch by Matt Wilmas | ||||
* | is_numeric_string() optimization | Ilia Alshanetsky | 2006-12-26 | 1 | -23/+21 |
| | | | | | # Original Patch by Matt Wilmas | ||||
* | Fixed possible memory leak | Ilia Alshanetsky | 2006-12-21 | 1 | -0/+2 |
| | |||||
* | Fixed typo | Ilia Alshanetsky | 2006-12-11 | 1 | -1/+1 |
| | |||||
* | Removed bool<>long optimization as it causes issues with strict type checks | Ilia Alshanetsky | 2006-12-11 | 1 | -1/+1 |
| | |||||
* | Minor optimization (2-3%) from Brian Shire | Ilia Alshanetsky | 2006-12-11 | 1 | -7/+10 |
| | |||||
* | Improve tolower()-related functions on Windows and VC2005 by caching locale ↵ | Stanislav Malyshev | 2006-12-04 | 1 | -6/+22 |
| | | | | | | | | | and using tolower_l function. # Gives 10-18% speedup on bench.php # Does not change behaviour for non-windows | ||||
* | fix leak appearing when converting object to NULL | Antony Dovgal | 2006-11-15 | 1 | -0/+1 |
| | | | | | add test | ||||
* | MFH: throw a warning when doing modulus by 0 (fr #39027) | Antony Dovgal | 2006-10-03 | 1 | -0/+1 |
| | |||||
* | MFH: use if() instead of ?: | Antony Dovgal | 2006-09-27 | 1 | -1/+6 |
| | |||||
* | New memory manager | Dmitry Stogov | 2006-07-18 | 1 | -1/+0 |
| | |||||
* | fix logic | Antony Dovgal | 2006-07-18 | 1 | -1/+1 |
| | |||||
* | MFH: fix DVAL_TO_LVAL() on AIX with old gcc | Antony Dovgal | 2006-07-18 | 1 | -1/+1 |
| | |||||
* | - MFH Fix issue with comparing objects with objects | Marcus Boerger | 2006-07-09 | 1 | -10/+14 |
| | |||||
* | - MFH: | Marcus Boerger | 2006-07-09 | 1 | -44/+41 |
| | | | | | | . Fix comparision edgecases involving objects (Tony, Marcus) . Use ZVAL_LONG() where appropriate | ||||
* | Restore ZE1 compatibility mode (Zend Engine part - the modules patches | Zeev Suraski | 2006-06-05 | 1 | -3/+33 |
| | | | | | will follow later today) | ||||
* | fix error messages when converting objects to other types | Antony Dovgal | 2006-05-25 | 1 | -1/+2 |
| | | | | | | add new function MFB will follow soon | ||||
* | - MFH as discussed | Marcus Boerger | 2006-05-09 | 1 | -41/+23 |
| | | | | | | | | | | | | | | | | | | | | | . zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D) . zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D) . added E_RECOVERABLE_ERROR . added ZEND_TOSTRING_FUNC_NAME . added __tostring function cache to zend_class_entry . added ZEND_NAMED_ME . modified ZEND_ME_MAPPING to support method flags . added ZEND_MN . method entries now use prefix "zim_" instead of "zif_" . drop EG(ze1_compatibility_mode) . changed cast handler, now without (int should_free): typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC); . changed get_iterator, now receives whether value is by ref: zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); . added zend_objects_store_add_ref_by_handle . added zend_objects_store_del_ref_by_handle . convert_to_explicit_type(pzv, type) |