Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | - Fix thread safe mode. | Andi Gutmans | 2001-09-03 | 1 | -2/+5 |
| | | | | | - Please don't use Java style function braces. | ||||
* | Fix array_rand and array_suffle to use php_rand correctly | Jeroen van Wolffelaar | 2001-09-03 | 1 | -16/+6 |
| | |||||
* | Fix prototype | Jeroen van Wolffelaar | 2001-09-03 | 1 | -1/+1 |
| | |||||
* | Merge RAND_REDESIGN into MAIN | Jeroen van Wolffelaar | 2001-09-03 | 1 | -0/+5 |
| | |||||
* | @- Made in_array() and search_array() allow the needle to be an array in | Andrei Zmievski | 2001-08-31 | 1 | -1/+1 |
| | | | | | @ itself. (Andrei) | ||||
* | Kill a warning | Rasmus Lerdorf | 2001-08-28 | 1 | -1/+2 |
| | |||||
* | @- Fixed a crash bug in array_map() if the input arrays had string or | Andrei Zmievski | 2001-08-24 | 1 | -3/+30 |
| | | | | | | @ non-sequential keys. Also modified it so that if a single array is passed, @ its keys are preserved in the resulting array. (Andrei) | ||||
* | API update | Zeev Suraski | 2001-08-21 | 1 | -9/+10 |
| | |||||
* | Whitespace | Zeev Suraski | 2001-08-11 | 1 | -13/+13 |
| | |||||
* | Fix a couple of leaks. | Andrei Zmievski | 2001-08-07 | 1 | -2/+9 |
| | |||||
* | more tsrm cleanup | Sascha Schumann | 2001-08-06 | 1 | -18/+15 |
| | |||||
* | @- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei) | Andrei Zmievski | 2001-08-04 | 1 | -6/+7 |
| | |||||
* | - Fix array_sum to switch to float on overflow. Fixes bug#12505 | Jeroen van Wolffelaar | 2001-08-03 | 1 | -5/+9 |
| | |||||
* | Zend compatibility patch | Zeev Suraski | 2001-07-30 | 1 | -33/+33 |
| | |||||
* | More TSRMLS_FETCH annihilation (Zend compatibility patch) | Zeev Suraski | 2001-07-30 | 1 | -10/+10 |
| | |||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -13/+6 |
| | |||||
* | - Get rid of ELS_*(), and use TSRMLS_*() instead. | Zeev Suraski | 2001-07-27 | 1 | -4/+4 |
| | | | | | | | - Move to the new ts_allocate_id() API This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it... | ||||
* | Make range() function smarter | Rasmus Lerdorf | 2001-07-09 | 1 | -10/+33 |
| | | | | | | @ - Improve range() function to support range('a','z') and range(9,0) @ types of ranges. (Rasmus) | ||||
* | - Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable)) | Andi Gutmans | 2001-06-19 | 1 | -1/+1 |
| | |||||
* | Fix folding and clean up some extensions | Rasmus Lerdorf | 2001-06-06 | 1 | -1/+2 |
| |