Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added folder mark | Xinchen Hui | 2014-05-24 | 1 | -1/+2 |
| | |||||
* | Fixed memory leak in pow operator | Bob Weinand | 2014-02-06 | 1 | -2/+4 |
| | |||||
* | add T_POW (**) operator | datibbaw | 2014-02-06 | 1 | -0/+81 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed recognition of the operator Added opcode, still doing multiply instead of pow() opcode now always returns int(42) The right answer, but always a float Yanked code from pow() implementation. Should not handle negative long as exponent ourselves Added test cases from pow() Moved precedence higher than '~' Added GMP operator overloading Added ZEND_ASSIGN_POW (**=) operator. Added pow() as a language construct. Adjusted test cases for changed precedence. Reduced pow() to shell function around ZEND_API pow_function() Reduced test case to only contain edge cases Added overloading test case Moved unary minus above T_POW Revert "Added pow() as a language construct." Bad bad bad idea. This reverts commit f60b98cf7a8371233d800a6faa286ddba4432d02. Reverted unary minus behaviour due to previous revert. Convert arrays to int(0) Exponent with array as a base becomes int(0) Rebase against master Fixed tokenizer test case | ||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Provide more macros for handling of interned strings | Nikita Popov | 2013-09-13 | 1 | -29/+15 |
| | | | | | | | | | | | | | * str_erealloc behaves like erealloc for normal strings, but will use emalloc+memcpy for interned strings. * str_estrndup behaves like estrndup for normal strings, but will not copy interned strings. * str_strndup behaves like zend_strndup for normal strings, but will not copy interned strings. * str_efree_rel behaves like efree_rel for normal strings, but will not free interned strings. * str_hash will return INTERNED_HASH for interned strings and compute it using zend_hash_func for normal strings. | ||||
* | Merge branch 'PHP-5.5' | Xinchen Hui | 2013-08-27 | 1 | -2/+2 |
|\ | |||||
| * | Fixed compiler warnings | Xinchen Hui | 2013-08-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | warning: 'local_dval' may be used uninitialized in this function [-Wmaybe-uninitialized] warning: 'dval2' may be used uninitialized in this function [-Wmaybe-uninitialized] | ||||
* | | Implement internal operator overloading | Nikita Popov | 2013-06-17 | 1 | -55/+152 |
|/ | | | | As pre RFC https://wiki.php.net/rfc/operator_overloading_gmp | ||||
* | Merge branch 'pull-request/341' | Stanislav Malyshev | 2013-06-10 | 1 | -1/+1 |
| | | | | | * pull-request/341: (23 commits) typofixes | ||||
* | Fix compile failure introduced by the fix for bug #46408. | Adam Harvey | 2013-01-15 | 1 | -1/+1 |
| | |||||
* | Bug #46408: Fix double formatting for PostgreSQL bound parameters | Lars Strojny | 2013-01-14 | 1 | -0/+18 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-5.4' | Xinchen Hui | 2012-08-31 | 1 | -0/+3 |
|\ | |||||
| * | Merge branch 'PHP-5.3' into PHP-5.4 | Xinchen Hui | 2012-08-31 | 1 | -0/+3 |
| |\ | |||||
| | * | Fixed bug #62976 (Notice: could not be converted to int when comparing some ↵ | Xinchen Hui | 2012-08-31 | 1 | -0/+3 |
| | | | | | | | | | | | | builtin classes) | ||||
* | | | improve code in zend_operators | Stanislav Malyshev | 2012-07-14 | 1 | -8/+8 |
| | | | |||||
* | | | fix for bug#18556 - use simple tolower() function for internal things | Stanislav Malyshev | 2012-07-14 | 1 | -6/+86 |
|/ / | |||||
* | | Merge branch 'PHP-5.3' into PHP-5.4 | Felipe Pena | 2012-06-03 | 1 | -3/+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 | ||||
| * | - Optimize comparison between same HashTable pointer | Felipe Pena | 2012-06-03 | 1 | -3/+4 |
| | | |||||
| * | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
| * | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | | |||||
| * | - Fixed bug #52193 (converting closure to array yields empty array) | Felipe Pena | 2010-06-26 | 1 | -1/+9 |
| | | |||||
| * | Fixed a possible information leak because of interruption of XOR operator | Dmitry Stogov | 2010-05-12 | 1 | -7/+21 |
| | | |||||
* | | Fixed bug #62097 | Gustavo André dos Santos Lopes | 2012-05-23 | 1 | -0/+6 |
| | | | | | | | | | | | | 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. | ||||
* | | fix bug #54547 | Stanislav Malyshev | 2012-05-13 | 1 | -2/+17 |
| | | |||||
* | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | - Fixed ZTS build | Felipe Pena | 2011-08-30 | 1 | -2/+2 |
| | | |||||
* | | - Zend engine part for bug #55158: Add SORT_NATURAL type to array_multisort | Derick Rethans | 2011-08-29 | 1 | -2/+18 |
| | | | | | | | | | | (patch by Arpad Ray). | ||||
* | | MFH: Arithmetic speedup. Inlined most probable code-paths for arithmetic ↵ | Dmitry Stogov | 2011-05-31 | 1 | -3/+0 |
| | | | | | | | | operations directly into executor. | ||||
* | | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | | |||||
* | | Fix a bug where two doubles are equal but the maths operation makes it ↵ | Scott MacVicar | 2010-08-22 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | appear false. Best example with INF where equals and identical produce different results. <?php var_dump(INF==INF); var_dump(INF===INF); | ||||
* | | - Fixed bug #52193 (converting closure to array yields empty array) | Felipe Pena | 2010-06-26 | 1 | -1/+9 |
| | | |||||
* | | Fixed a possible information leak because of interruption of XOR operator | Dmitry Stogov | 2010-05-12 | 1 | -7/+21 |
| | | |||||
* | | Added concept of interned strings. All strings constants known at compile ↵ | Dmitry Stogov | 2010-04-20 | 1 | -21/+51 |
|/ | | | | time are allocated in a single copy and never changed. | ||||
* | sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-05 | 1 | -1/+1 |
| | |||||
* | Extend the previously added large string concatenation validation | Ilia Alshanetsky | 2009-11-23 | 1 | -1/+1 |
| | |||||
* | Fixed bug #50207 (segmentation fault when concatenating very large strings | Ilia Alshanetsky | 2009-11-19 | 1 | -0/+6 |
| | | | | | on 64bit linux). | ||||
* | 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 |
| |