Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | MFB: Revert patch for bug #27782. | Ilia Alshanetsky | 2004-04-01 | 1 | -8/+0 | |
| | ||||||
* | Fixed bug #27782 (Wrong behaviour of next(), prev() and each()). | Ilia Alshanetsky | 2004-03-30 | 1 | -0/+8 | |
| | ||||||
* | this should not belong to HEAD | Andrey Hristov | 2004-01-28 | 1 | -14/+0 | |
| | ||||||
* | Added third parameter (optional) to array_keys for strictness. It behaves | Andrey Hristov | 2004-01-24 | 1 | -4/+28 | |
| | | | | | | like the "strict" parameter of in_array(). #Closing feature request #24258 | |||||
* | HEAD is now bundled only with ZE2 | Andrey Hristov | 2004-01-17 | 1 | -15/+0 | |
| | ||||||
* | - A belated happy holidays and PHP 5 | Andi Gutmans | 2004-01-08 | 1 | -2/+2 | |
| | ||||||
* | New array functions for doing intersection of arrays that are complementary | Andrey Hristov | 2003-10-09 | 1 | -27/+231 | |
| | | | | | | | to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(), array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included. #docs and news entry later. | |||||
* | Fixed clobbering of the source array, when merging complex | Ilia Alshanetsky | 2003-10-05 | 1 | -0/+2 | |
| | | | | | multi-dimensional arrays. Bug reported by Lukas Smith. | |||||
* | Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS) | Moriyoshi Koizumi | 2003-10-02 | 1 | -11/+8 | |
| | ||||||
* | smash a segmentation fault | Andrey Hristov | 2003-09-30 | 1 | -1/+1 | |
| | ||||||
* | Memory leak fixed (no need of MFH since this is code specific to PHP5) | Andrey Hristov | 2003-09-30 | 1 | -0/+1 | |
| | ||||||
* | signed/unsigned compiler warning fixes | Hartmut Holzgraefe | 2003-09-26 | 1 | -1/+1 | |
| | ||||||
* | Fixed typo. | Ilia Alshanetsky | 2003-09-26 | 1 | -1/+1 | |
| | ||||||
* | 4 new functions : | Andrey Hristov | 2003-09-23 | 1 | -21/+203 | |
| | | | | | | | | | | | | | | | | array_udiff() array_udiff_assoc() array_diff_uassoc() array_udiff_uassoc() They work like array_diff() or array_diff_assoc() but callback function(s) can be used to perform the comparisons. For example array_udiff_uassoc() expects 2 callbacks are last 2 parameters one is used to compare the values of the entries in the arrays the second to compare the keys. Class methods are also valid callbacks. Even when the data that should be used in the comparison is private or protected then a static method of a class should be used (this behaviour can be seen in the regression test - 007.phpt). | |||||
* | improve the fix for #25494. If more then one bad parameter is passed | Andrey Hristov | 2003-09-22 | 1 | -4/+7 | |
| | | | | | an warning for all will be emitted. | |||||
* | Fixed bug #25494 (array_merge allowing "false" as argument (silent when | Jay Smith | 2003-09-11 | 1 | -1/+9 | |
| | | | | | | | non-array is passed)) # 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's # suggestion. | |||||
* | revert that, it did not fix anything | foobar | 2003-08-13 | 1 | -1/+0 | |
| | ||||||
* | Fix external builds (configure run outside srcdir) | foobar | 2003-08-13 | 1 | -0/+1 | |
| | ||||||
* | emalloc -> safe_emalloc | Ilia Alshanetsky | 2003-08-11 | 1 | -19/+19 | |
| | ||||||
* | Fixed bug #24897 (inconsistent behavior of shuffle() & array_multisort()) | Ilia Alshanetsky | 2003-08-09 | 1 | -2/+2 | |
| | ||||||
* | Do not assume array contains numeric values. | Ilia Alshanetsky | 2003-08-09 | 1 | -1/+1 | |
| | ||||||
* | Fixed bug #24980 (array_reduce() uses first element as default running | Ilia Alshanetsky | 2003-08-08 | 1 | -1/+3 | |
| | | | | | | | total). Fixed memory leak that can be replicated using the function example on http://www.php.net/array_reduce | |||||
* | Replace fast_call_user_function() with zend_call_function() | Zeev Suraski | 2003-08-05 | 1 | -14/+73 | |
| | ||||||
* | Fix bug #24652 - Sterling, do you begin to think that maybe it wasn't such | Zeev Suraski | 2003-08-04 | 1 | -1/+1 | |
| | | | | | a good idea? | |||||
* | Removed unused variable. | Ilia Alshanetsky | 2003-07-25 | 1 | -1/+0 | |
| | ||||||
* | - Use the new infrastructure of zend_symtable_*() (fixes bug #24565) | Zeev Suraski | 2003-07-22 | 1 | -5/+1 | |
| | | | | | - Fix bogus use of get_current_key() | |||||
* | Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive()) | Ilia Alshanetsky | 2003-06-16 | 1 | -1/+1 | |
| | ||||||
* | silly bug | Andrey Hristov | 2003-06-12 | 1 | -2/+2 | |
| | ||||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 | |
| | ||||||
* | fix array_key_exists() from HANDLE_NUMERIC() changes | Sterling Hughes | 2003-06-05 | 1 | -2/+6 | |
| | | | | | | # need to go through this file and find any stuff that relies on this # change | |||||
* | initialize these to NULL | Sterling Hughes | 2003-05-20 | 1 | -1/+1 | |
| | ||||||
* | convert array functions to use fast_call_user_function(), gives a nice | Sterling Hughes | 2003-05-20 | 1 | -6/+13 | |
| | | | | | performance win. | |||||
* | Fixed bug #22463 and bug #23581 | Moriyoshi Koizumi | 2003-05-11 | 1 | -35/+49 | |
| | ||||||
* | Bug Fix (22433). When the bottom of a range() is chr(0) or the top is ↵ | Sara Golemon | 2003-05-02 | 1 | -5/+12 | |
| | | | | chr(255), the for loop carries over and never exits. | |||||
* | Fixed implicit cast issue with is*() and to*() functions | Moriyoshi Koizumi | 2003-04-16 | 1 | -2/+2 | |
| | ||||||
* | Kludgy fix for floating point drift causing problems like range(1.0,1.5,0.1) ↵ | Sara Golemon | 2003-04-03 | 1 | -2/+4 | |
| | | | | == array(1.0,1.1,1.2,1.3,1.4); | |||||
* | MFB | Rasmus Lerdorf | 2003-04-01 | 1 | -0/+4 | |
| | ||||||
* | CS | Ilia Alshanetsky | 2003-03-27 | 1 | -178/+172 | |
| | ||||||
* | additional speedup for array_shift(). No need to rehash if the removed element's | Andrey Hristov | 2003-02-22 | 1 | -2/+8 | |
| | | | | | | | key is not scalar and elements with scalar keys are already well numbered (sequentially from 0) for some reason. This is the case if the leading elements have no scalar indexes. | |||||
* | rehash only in case something is changed. | Andrey Hristov | 2003-02-22 | 1 | -1/+3 | |
| | | | | | | #lowers the execution time in half on my machine on array with 1000 elements #with nonscalar keys. Maybe it can be optimized further. | |||||
* | - Fixed bug #22088 (array_shift() leaves next index to be +1 too much) | foobar | 2003-02-06 | 1 | -2/+3 | |
| | ||||||
* | Added array_walk_recursive() function that can apply array_walk recursively | Ilia Alshanetsky | 2003-02-05 | 1 | -24/+70 | |
| | | | | | to an array. | |||||
* | - Fixed bug: #21998 (array_pop() did not reset the current array position) | foobar | 2003-02-03 | 1 | -0/+2 | |
| | | | | | # This behaves now same as in PHP 4.2.3 | |||||
* | zend_error -> php_error_docref. | Ilia Alshanetsky | 2003-01-24 | 1 | -2/+1 | |
| | ||||||
* | ARG_COUNT(ht) -> ZEND_NUM_ARGS(). | Ilia Alshanetsky | 2003-01-21 | 1 | -2/+2 | |
| | ||||||
* | added array_combine(). | Andrey Hristov | 2003-01-13 | 1 | -0/+42 | |
| | | | | | | | | Creates an array by using the elements of the first parameter as keys and the elements of the second as correspoding keys. Error is thrown in case the arrays has different number of elements. Number of elements 0 is not valid for both parameters. | |||||
* | Fixed small leaks in array_map() in case the first parameter is NULL like | Moriyoshi Koizumi | 2003-01-03 | 1 | -0/+3 | |
| | | | | | array_map(NULL, array(...)); | |||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 | |
| | ||||||
* | Make range operate on the copies of the parameters rather then modify the | Ilia Alshanetsky | 2002-12-25 | 1 | -7/+7 | |
| | | | | | actual parameters. | |||||
* | When low & high are the same return an array containing the low value. | Ilia Alshanetsky | 2002-12-20 | 1 | -31/+86 | |
| | | | | | | | Added support for float values and handling of numeric values being passed as strings. Added a test case for range(). |