summaryrefslogtreecommitdiff
path: root/Zend/zend_operators.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.1' into PHP-7.2Sara Golemon2017-07-271-20/+0
|\ | | | | | | | | * PHP-7.1: Simpler fix for #74974
| * 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.1' into PHP-7.2Sara Golemon2017-07-221-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Use compatability zend_isnan() instead of POSIX isnan()
| * | 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.1' into PHP-7.2Sara Golemon2017-07-221-0/+20
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fix compile-time optimization of NAN comparisons
| * | 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
| | |
* | | further sync for vim mode linesAnatol Belski2017-07-041-0/+2
| | |
* | | Use interned empty and "one char" strings.Dmitry Stogov2017-05-181-4/+8
| | |
* | | Interned strings unification for TS/NTSAnatol Belski2017-03-041-37/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hereby, interned strings are supported in thread safe PHP. The patch implements two types of interned strings - interning per process, strings are not freed till process end - interning per request, strings are freed at request end There is no runtime interning. With Opcache, all the permanent iterned strings are copied into SHM on startup, additional copying into SHM might happen on demand.
* | | Merge branch 'PHP-7.1'Xinchen Hui2017-02-121-18/+48
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.1: Update NEWS Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
| * | 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
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
| | |
* | | Fixed memory leaks caused by exceptions thrown from destructors.Dmitry Stogov2016-12-071-4/+55
| | |
* | | Merge branch 'PHP-7.1'Dmitry Stogov2016-12-051-36/+64
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
| * | 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.1'Nikita Popov2016-12-021-1/+1
|\ \ \ | |/ /
| * | 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.1'Dmitry Stogov2016-12-021-0/+11
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
| * | 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.1'Dmitry Stogov2016-12-021-20/+40
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed behavior of failing compound assignments (they shouldn't change the source value).
| * | 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.1'Dmitry Stogov2016-12-021-0/+9
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed possible memory leak in &=, |=, ^=.
| * | 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
| | |
* | | Revert "Fix return value memory leaks upon exceptions in opcode operand freeing"Dmitry Stogov2016-12-021-74/+18
| | | | | | | | | | | | This reverts commit 9ad9d7ae375a6e8847ceaab287d3d23e0963a06e.
* | | Fix return value memory leaks upon exceptions in opcode operand freeingBob Weinand2016-11-301-18/+74
| | |
* | | Convert numeric keys in object/array castsAndrea Faulds2016-11-141-16/+10
| | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts This converts key types as appropriate in object to array and array to object casts, as well as in get_object_vars().
* | | Sync convert_to_null with VM cast behaviorNikita Popov2016-09-041-13/+0
|/ / | | | | | | | | Do not call cast_object, this is useless and we haven't been doing it in the VM as of 7.0.
* | 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
|