Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | one last fix for array_shift | Brad LaFountain | 2002-08-03 | 1 | -0/+1 |
| | |||||
* | array_pop wasnt setting next index | Brad LaFountain | 2002-08-01 | 1 | -13/+10 |
| | |||||
* | That was not correct.. | foobar | 2002-08-01 | 1 | -3/+0 |
| | |||||
* | Reset index when doing array_pop() | foobar | 2002-08-01 | 1 | -1/+4 |
| | |||||
* | Nuke compile warning. | foobar | 2002-08-01 | 1 | -1/+2 |
| | |||||
* | - Removed the DOS line endings | foobar | 2002-08-01 | 1 | -1/+1 |
| | | | | | | - Changed the '//' comment (this is C, not C++) to /* */ # Brad, use some editor which works.. | ||||
* | made array_shift re-index like it did before previous fix | Brad LaFountain | 2002-08-01 | 1 | -6/+21 |
| | |||||
* | Reverted the patch..it breaks the original behaviour of at least array_shift. | foobar | 2002-07-31 | 1 | -4/+5 |
| | |||||
* | fixed bugs 16063 and 16068 | Brad LaFountain | 2002-07-30 | 1 | -5/+4 |
| | | | | | increased preformance of array_pop and array_shift | ||||
* | Silence warning | Derick Rethans | 2002-07-08 | 1 | -1/+1 |
| | |||||
* | Unify error messages | Derick Rethans | 2002-07-08 | 1 | -60/+60 |
| | |||||
* | - Fix for bug #14580: Made key() binary safe | Derick Rethans | 2002-07-08 | 1 | -3/+4 |
| | |||||
* | - Fix for bug #17654 | Derick Rethans | 2002-06-29 | 1 | -1/+1 |
| | |||||
* | Made array_unique() always keep the first occurrences of duplicates, | Stig Venaas | 2002-06-18 | 1 | -9/+20 |
| | | | | | making the behavior easier to understand, and maybe more useful. | ||||
* | - WS-fixes | Jan Lehnardt | 2002-06-18 | 1 | -59/+59 |
| | |||||
* | - whitespace fix | Jan Lehnardt | 2002-06-10 | 1 | -1/+1 |
| | |||||
* | fix the build | Harald Radi | 2002-06-10 | 1 | -15/+18 |
| | |||||
* | Fix bug #7045: shuffle() now provides consistent distribution of values | Andrei Zmievski | 2002-06-10 | 1 | -8/+52 |
| | | | | | in the array. | ||||
* | Fixed array_rand() on ZTS platforms. | Edin Kadribasic | 2002-06-03 | 1 | -9/+1 |
| | | | | | @- Fixed array_rand() on thread-safe platforms such as Windows. (Edin) | ||||
* | Changing email address. | Andrei Zmievski | 2002-05-13 | 1 | -1/+1 |
| | |||||
* | Fix Bug #14795. | Andrei Zmievski | 2002-04-24 | 1 | -8/+10 |
| | |||||
* | Fix unwanted type conversion in array_merge_recursive (Bug #14990). | Andrei Zmievski | 2002-04-24 | 1 | -0/+1 |
| | |||||
* | Fix TSRMLS_CC. | Sebastian Bergmann | 2002-03-12 | 1 | -1/+1 |
| | |||||
* | Make use of TSRMLS_C/D | Yasuo Ohgaki | 2002-03-12 | 1 | -5/+3 |
| | |||||
* | Fix php_splice() to work with large values | Zeev Suraski | 2002-03-01 | 1 | -1/+11 |
| | |||||
* | - Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2. | Andi Gutmans | 2002-02-05 | 1 | -1/+3 |
| | |||||
* | Converted extract() to use smart_str for variable name manipulation. This | Andrei Zmievski | 2002-02-01 | 1 | -29/+31 |
| | | | | | sped it up a bit. | ||||
* | (extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags | Rasmus Lerdorf | 2002-01-25 | 1 | -7/+24 |
| | | | | | | | | | | | | @- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract() @ EXTR_IF_EXISTS only extracts a variable if it already exists @ EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and @ then it prepends the prefix to it. ie. if $PATH exists then @ extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH @ This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS); @ and you only get the global request variables you have defined imported @ into your symbol table. (Rasmus) | ||||
* | Fix the recursive counting, it was broken for associative or non-sequential | Andrei Zmievski | 2002-01-10 | 1 | -5/+8 |
| | | | | | arrays. Also update NEWS file. | ||||
* | - Fix bug introduced in earlier patch | Derick Rethans | 2002-01-09 | 1 | -5/+10 |
| | |||||
* | - Added extra parameter to count() that recursively counts elements in an | Derick Rethans | 2001-12-29 | 1 | -15/+38 |
| | | | | | | array and added is_array_multidimensional(). (patch by Vlad Bosinceanu <glipy@fx.ro>) | ||||
* | @ Fix bug in krsort() where an extra character was being compared (Andi) | Andi Gutmans | 2001-12-29 | 1 | -2/+2 |
| | | | | | - Fix bug in krsort() where an extra character was being compared (Andi) | ||||
* | Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort, | Zak Greant | 2001-12-22 | 1 | -115/+69 |
| | | | | | | | | | | | | | | | | | | uasort, uksort and usort. Corrected prototype comments for all. Converted to use zend_parse_parameters, except for the u.?sort functions. Changed return values for failure from implicit NULL to explicit FALSE in asort(), krsort(), and ksort(). Changed pval to zval in the u.?sort functions. Added test to help ensure that fixes to code do not change function behavior. Tests are quite large (~237k) but compress down to ~16k. Please let me know if this is a problem! | ||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 |
| | |||||
* | - Renaming key_exists to array_key_exists | Derick Rethans | 2001-11-11 | 1 | -5/+5 |
| | | | | | | | | @- Renamed key_exists tp array_key_exists. (Derick) #- Not sure if this belongs in NEWS, but it was already in a released # version. And yes, I know I'm breaking BC here, but as it was not documented # yet, that doesn't matter. | ||||
* | @- Added array_chunk() function that splits an array into chunks of specified | Andrei Zmievski | 2001-10-27 | 1 | -0/+71 |
| | | | | | @ size. (Andrei) | ||||
* | As suggested on php-dev, array_fill() is probably a better name for this | Rasmus Lerdorf | 2001-10-23 | 1 | -2/+2 |
| | | | | | function. | ||||
* | Use references instead of making a copy each time in array_init(). About | Rasmus Lerdorf | 2001-10-22 | 1 | -9/+14 |
| | | | | | | | twice as fast for a high number of elements. 2.80 seconds for the copy of 1,000,000 elements and 1.39s for the reference version. Need to chunk it every 62k or so because refcount is a short. | ||||
* | Oops, leftover crud | Rasmus Lerdorf | 2001-10-21 | 1 | -2/+0 |
| | |||||
* | Motivated by bug #13607 I wrote up a simple array_init() function that | Rasmus Lerdorf | 2001-10-21 | 1 | -1/+50 |
| | | | | | | | lets you quickly create an array and initialize each element to a certain value. @ Add array_init() function (Rasmus) | ||||
* | Fix naming inside php_search_array, comp_func is not a compare function. | Jeroen van Wolffelaar | 2001-10-07 | 1 | -3/+3 |
| | |||||
* | Fix array_search and in_array. Now binary safe, and faster (returns when | Jeroen van Wolffelaar | 2001-10-05 | 1 | -3/+4 |
| | | | | | | | found, and doesn't duplicate the key each time, but only when necessary) Patch also by Edin Kadribasic | ||||
* | Fix bug 13567 and don't depend on a boolean int-value to be either 1 or 0 | Jeroen van Wolffelaar | 2001-10-05 | 1 | -6/+2 |
| | |||||
* | Added array_change_key_case() function that returns array with | Edin Kadribasic | 2001-10-05 | 1 | -0/+60 |
| | | | | | | | with all string keys lowercased or uppercased @- Added array_change_key_case() function that returns array with @ with all string keys lowercased or uppercased (EdinK) | ||||
* | Merge in qsort changes | Sterling Hughes | 2001-09-17 | 1 | -51/+46 |
| | |||||
* | Make rand thread safe when ZTS is defined. | Sterling Hughes | 2001-09-16 | 1 | -3/+4 |
| | |||||
* | - Don't wrap lines... this is annoying while coding. | Derick Rethans | 2001-09-09 | 1 | -2/+2 |
| | |||||
* | remove ARG_COUNT(ht) | Sterling Hughes | 2001-09-09 | 1 | -1/+1 |
| | | | | | | # Is there any reason that the set_compare_func call is passed SORT_STRING # instead of SORT_REGULAR?? | ||||
* | revert bad commit. | foobar | 2001-09-05 | 1 | -12/+14 |
| | |||||
* | fix zts+win32 build | Daniel Beulshausen | 2001-09-04 | 1 | -1/+1 |
| |