summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
Commit message (Collapse)AuthorAgeFilesLines
* Trim trailing whitespace in source code filesPeter Kokot2018-10-131-2/+2
|
* fix double cast to int on 32-bitRemi Collet2018-08-301-1/+1
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-09-241-1/+3
|\ | | | | | | | | | | * PHP-7.0: Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()). Compiler warning
| * Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).Xinchen Hui2017-09-241-1/+3
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-07-271-20/+0
|\ \ | |/ | | | | | | * PHP-7.0: Simpler fix for #74974
| * Simpler fix for #74974Pedro Magalhães2017-07-271-20/+0
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-07-221-2/+2
|\ \ | |/ | | | | | | * PHP-7.0: Use compatability zend_isnan() instead of POSIX isnan()
| * Use compatability zend_isnan() instead of POSIX isnan()Sara Golemon2017-07-221-2/+2
| | | | | | | | s/isnan/zend_isnan/g
* | Merge branch 'PHP-7.0' into PHP-7.1Sara Golemon2017-07-221-0/+20
|\ \ | |/ | | | | | | * PHP-7.0: Fix compile-time optimization of NAN comparisons
| * Fix compile-time optimization of NAN comparisonsSara Golemon2017-07-221-0/+20
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-02-121-18/+48
|\ \ | |/ | | | | | | | | | | | | * PHP-7.0: Fixed bug #74084 (Out of bound read - zend_mm_alloc_small) Conflicts: Zend/zend_operators.c
| * Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)Xinchen Hui2017-02-121-19/+48
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-12-051-36/+64
|\ \ | |/ | | | | | | * PHP-7.0: Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
| * Fixed behavior of failing compound assignments (they shouldn't change the ↵Dmitry Stogov2016-12-051-34/+62
| | | | | | | | source value when exception thrown during type converion).
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-12-021-1/+1
|\ \ | |/
| * Fix leak in shift_right_functionNikita Popov2016-12-021-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-12-021-0/+11
|\ \ | |/ | | | | | | * PHP-7.0: Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
| * Fixed behavior of failing compound assignments (they shouldn't change the ↵Dmitry Stogov2016-12-021-0/+11
| | | | | | | | source value when exception thrown during type converion).
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-12-021-20/+40
|\ \ | |/ | | | | | | * PHP-7.0: Fixed behavior of failing compound assignments (they shouldn't change the source value).
| * Fixed behavior of failing compound assignments (they shouldn't change the ↵Dmitry Stogov2016-12-021-20/+40
| | | | | | | | source value).
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-12-021-0/+9
|\ \ | |/ | | | | | | * PHP-7.0: Fixed possible memory leak in &=, |=, ^=.
| * Fixed possible memory leak in &=, |=, ^=.Dmitry Stogov2016-12-021-0/+9
| |
| * Fix bug #72221 (segfault, past-the-end access)Lauri Kenttä2016-05-281-0/+3
| |
* | Use "fast" assembler functions in "slow" ones.Dmitry Stogov2016-06-011-26/+4
| | | | | | | | Mark assembler functions that changes memory.
* | Fix bug #72221 (segfault, past-the-end access)Lauri Kenttä2016-05-211-0/+3
| |
* | Intern some known (and offten used) strings.Dmitry Stogov2016-05-121-1/+1
| |
* | Revert "Refactor zval cleanup into single function"Dmitry Stogov2016-05-061-19/+19
| | | | | | | | This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.
* | Refactor zval cleanup into single functionBob Weinand2016-05-051-19/+19
| | | | | | | | Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()
* | Fixed compilation warningsDmitry Stogov2016-04-291-6/+8
| |
* | Remove IS_VAR_RET_REF flagNikita Popov2016-04-151-11/+0
| | | | | | | | | | | | | | Instead decide whether a function returned by reference or by value by checking whether the return value has REFERENCE type. This means that functions returning by reference must always return a reference and functions returning by value must not return a reference.
* | Delay IS_UNDEF check for FETCH_DIM_R and familyDmitry Stogov2016-04-131-0/+1
| |
* | Warn about invalid strings in arithmeticAndrea Faulds2016-03-301-29/+75
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit e05d3b67325d4521418483ed924ac9211a188919 Author: Andrea Faulds <ajf@ajf.me> Date: Wed Mar 30 01:43:35 2016 +0100 UPGRADING and NEWS commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d Author: Andrea Faulds <ajf@ajf.me> Date: Sun Mar 20 21:18:33 2016 +0000 Fixes commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 02:15:01 2016 +0000 Add test for numeric string errors in assignment commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 23:53:05 2016 +0000 Add test for numeric string errors commit c72e92f16d512bcae30cc9639c89bcb08d971742 Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 23:28:33 2016 +0000 Add test for scientific notation in integer operations commit d94c08852d405b3a7ef6c84d24bf7915c890ce78 Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 01:25:57 2016 +0000 Disable optimiser evaluation for numeric string errors commit 30ee954ed13d933e766c68605d683c8ebae3d8ee Author: Andrea Faulds <ajf@ajf.me> Date: Sun Feb 14 01:46:25 2016 +0000 fixup commit a6403b79e054c95e2b7345d787f3092b261eed27 Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 22:00:27 2016 +0000 Do not convert error-causing numeric strings ahead-of-time commit f9dc35401471ef3035954cb6f171826769297548 Author: Andrea Faulds <ajf@ajf.me> Date: Sat Feb 13 19:15:38 2016 +0000 Disable compile-time evaluation for numeric string errors commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5 Author: Andrea Faulds <ajf@ajf.me> Date: Fri Feb 5 11:42:26 2016 +0000 Make _zval_get_long_func_noisy function for inlining commit 84d66321a57e579759109650c8bb7e3d5002854a Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 23:10:00 2016 +0000 Update tests commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d Author: Andrea Faulds <ajf@ajf.me> Date: Tue Jan 26 22:08:19 2016 +0000 Use is_numeric_string_ex for zval_get_long etc. commit c21f08848533723331012a62a153de3577731d6a Author: Andrea Faulds <ajf@ajf.me> Date: Thu Jan 7 21:13:04 2016 +0000 Update tests commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af Author: Andrea Faulds <ajf@ajf.me> Date: Wed Jan 6 00:28:01 2016 +0000 Warn on non-/bad numeric strings in arithmetic
* Also protects object to array castXinchen Hui2016-03-211-1/+3
|
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* fix decrement_function regarding bug #70863Anatol Belski2015-11-061-1/+1
|
* Fixed bug #70863 Incorect logic to increment_function for proxy objectsAnatol Belski2015-11-061-1/+1
|
* Double declarationXinchen Hui2015-10-121-1/+0
|
* Restored the original (php-5) behavior of convert_to_cstring(). It was ↵Dmitry Stogov2015-10-071-1/+10
| | | | broken in php7 by mistake and caused problems in ext/pgsql/tests/bug46408.phpt.
* Revert "Merge branch 'array_keys_strict_refs' of ↵Dmitry Stogov2015-10-061-13/+41
| | | | | | https://github.com/tony2001/php-src" This reverts commit a6be0f3fd6cdd59ac00ecd76630c6c04fee03417.
* Merge branch 'array_keys_strict_refs' of https://github.com/tony2001/php-srcBob Weinand2015-10-051-41/+13
|
* Added folder marksXinchen Hui2015-09-101-1/+2
|
* Change array sorting implementation to avoid two level callbacks system.Dmitry Stogov2015-09-101-39/+26
| | | | Simplify zval comparion API.
* Better array_compare improvementDmitry Stogov2015-09-091-3/+23
|
* Add myself into list of authors of the most refactored files.Dmitry Stogov2015-08-311-0/+1
|
* Avoid array duplicationDmitry Stogov2015-08-251-4/+6
|
* Fixed signed/unsigned warnings in wddxNikita Popov2015-07-171-2/+2
| | | | Also added extra const annotation to zend_memnstr.
* Fixed bug #70057 (Build failure on 32-bit Mac OS X 10.6.8: recursive inlining)Xinchen Hui2015-07-131-8/+2
|