Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Tidy up | Thomas Punt | 2016-05-16 | 1 | -2/+2 |
| | |||||
* | Remove unnecessary boundary checks | Thomas Punt | 2016-05-16 | 1 | -2/+2 |
| | |||||
* | Resolve bug #72017 | Thomas Punt | 2016-05-16 | 1 | -6/+6 |
| | |||||
* | Fixed bug #72116 (7.0.6 array_fill optimization breaks implementation) | Bob Weinand | 2016-04-28 | 1 | -0/+1 |
| | |||||
* | Use symtable lookup for arrays in array_column | Nikita Popov | 2016-04-16 | 1 | -1/+1 |
| | |||||
* | Respect property visibility in array_column | Nikita Popov | 2016-04-16 | 1 | -6/+5 |
| | |||||
* | Fixed bug #72031 | Nikita Popov | 2016-04-16 | 1 | -1/+7 |
| | |||||
* | Optimized array_fill(). This is a perfect function for fast creation of ↵ | Dmitry Stogov | 2016-04-07 | 1 | -18/+56 |
| | | | | packed arrays. | ||||
* | Fix bug #71334 | Nikita Popov | 2016-03-30 | 1 | -20/+13 |
| | | | | | | | | | | | | | Always duplicate the array before doing a sort with user-defined comparison function, to avoid access to the intermediate inconsistent state. I've also dropped the "array modification" warning, as protection against modifications is no longer relevant if we're always working on a copy anyway. This also required some changes to how SplArray forwards calls to sorting functions. | ||||
* | Fixed #71837 (Wrong arrays behaviour) | Xinchen Hui | 2016-03-17 | 1 | -0/+6 |
| | |||||
* | Introduce zend_symtable_exists_ind() for API consistency | Dmitry Stogov | 2016-03-02 | 1 | -2/+2 |
| | |||||
* | Use hash_exists_ind in symbol table | Xinchen Hui | 2016-03-02 | 1 | -1/+1 |
| | |||||
* | Maybe we should introduce a symtable_exists_ind | Xinchen Hui | 2016-03-01 | 1 | -2/+1 |
| | |||||
* | Fixed bug #71695 (Global variables are reserved before execution). | Xinchen Hui | 2016-03-01 | 1 | -1/+2 |
| | | | | | | | Instead of slow down hash_merge, we may also check the array(whether it contains INDIRECT) outside of the loop, however, consisdering hash_merge is not widly used, I prefer fix this in the current way to keep the codes simple | ||||
* | Fixed bug #71660 (array_column behaves incorrectly after foreach by reference) | Xinchen Hui | 2016-02-25 | 1 | -0/+4 |
| | |||||
* | Fixed bug #71603 (compact() maintains references in php7) | Xinchen Hui | 2016-02-16 | 1 | -0/+1 |
| | |||||
* | Fixed typo (I think it should be a typo) | Xinchen Hui | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | Fix extract() overwriting its own argument | Nikita Popov | 2016-02-13 | 1 | -4/+10 |
| | | | | Already covered by bug46873.phpt under valgrind. | ||||
* | use correct pointer in the math | Antony Dovgal | 2016-02-01 | 1 | -1/+1 |
| | |||||
* | re-apply patch for github PR #1695 | Thomas Punt | 2016-01-12 | 1 | -32/+54 |
| | |||||
* | Revert "patch for github PR #1695" | Anatol Belski | 2016-01-11 | 1 | -36/+14 |
| | | | | | | This reverts commit 58dd956b63e4fd2c9cf8210239cf5e56e3858ff5. crashes on travis | ||||
* | patch for github PR #1695 | Thomas Punt | 2016-01-11 | 1 | -14/+36 |
| | |||||
* | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | |||||
| * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | Fixed bug #71220 (Null pointer deref (segfault) in compact via ob_start) | Xinchen Hui | 2015-12-25 | 1 | -0/+4 |
| | | |||||
* | | Improved fix for bug (count on symbol table) | Xinchen Hui | 2015-11-23 | 1 | -38/+3 |
| | | |||||
* | | Fixed bug (count on symbol tables) | Xinchen Hui | 2015-11-21 | 1 | -2/+37 |
| | | |||||
* | | Fixed bug #70910 (extract() breaks variable references) | Xinchen Hui | 2015-11-13 | 1 | -2/+11 |
| | | |||||
* | | This couldn't be false as it has been checked before | Reeze Xia | 2015-10-30 | 1 | -1/+1 |
| | | |||||
* | | Use h parameter to avoid duplicate ht access of `array_combine()` | Reeze Xia | 2015-10-30 | 1 | -8/+8 |
| | | |||||
* | | Fixed bug #70808 (array_merge_recursive corrupts memory of unset items) | Xinchen Hui | 2015-10-29 | 1 | -0/+4 |
| | | | | | | | | I knew, this fix seems ugly | ||||
* | | Fixed bug #70668 (array_keys() doesn't respect references when $strict is true) | Dmitry Stogov | 2015-10-08 | 1 | -0/+1 |
| | | |||||
* | | Revert "Merge branch 'array_keys_strict_refs' of ↵ | Dmitry Stogov | 2015-10-06 | 1 | -0/+1 |
| | | | | | | | | | | | | https://github.com/tony2001/php-src" This reverts commit a6be0f3fd6cdd59ac00ecd76630c6c04fee03417. | ||||
* | | Merge branch 'array_keys_strict_refs' of https://github.com/tony2001/php-src | Bob Weinand | 2015-10-05 | 1 | -1/+0 |
| | | |||||
* | | Removed or simplified incorrect SEPARATE_*() macros usage. | Dmitry Stogov | 2015-09-29 | 1 | -6/+3 |
| | | |||||
* | | Don't allocate memory for empty HashTables. | Dmitry Stogov | 2015-09-17 | 1 | -0/+8 |
| | | |||||
* | | Change array sorting implementation to avoid two level callbacks system. | Dmitry Stogov | 2015-09-10 | 1 | -181/+582 |
| | | | | | | | | Simplify zval comparion API. | ||||
* | | Better array_compare improvement | Dmitry Stogov | 2015-09-09 | 1 | -14/+1 |
| | | |||||
* | | Improved array_compare | Xinchen Hui | 2015-09-09 | 1 | -27/+24 |
| | | |||||
* | | Avoid duplication | Dmitry Stogov | 2015-08-26 | 1 | -2/+4 |
| | | |||||
* | | fix array size calculation for range, related to bug #70239 | Anatol Belski | 2015-08-14 | 1 | -8/+18 |
| | | |||||
* | | Fixed bug #70239 Creating a huge array doesn't result in exhausted, but segfault | Anatol Belski | 2015-08-14 | 1 | -0/+5 |
| | | |||||
* | | Fixed bug #70250 (extract() turns array elements to references) | Xinchen Hui | 2015-08-13 | 1 | -0/+1 |
| | | |||||
* | | Deduplicate usort code | Nikita Popov | 2015-07-18 | 1 | -73/+12 |
| | | |||||
* | | Correctly handle zend_hash_sort failure | Nikita Popov | 2015-07-18 | 1 | -36/+32 |
| | | | | | | | | | | This can't actually happen right now, but should it become possible we won't be leaking everything anymore. | ||||
* | | Fix usort modification detection | Nikita Popov | 2015-07-18 | 1 | -18/+12 |
| | | | | | | | | This would delref the wrong array, leading to a segfault. | ||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -11/+11 |
| | | | | | | | | semantick changes). | ||||
* | | Improved zend_string API (Francois Laupretre) | Dmitry Stogov | 2015-06-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods | ||||
* | | Feature: Enhanced array_column() to also work with object elements. | Tjerk Meesters | 2015-06-27 | 1 | -19/+32 |
| | |