| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | This commit was manufactured by cvs2svn to create branch 'PHP_5'.PHP-5 | SVN Migration | 2003-02-27 | 1 | -3759/+0 |
| | | |||||
| * | 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(). | ||||
| * | @- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi) | Moriyoshi Koizumi | 2002-12-09 | 1 | -1/+3 |
| | | |||||
| * | Fixed bug #20865, array_key_exists() could not locate NULL keys. | Ilia Alshanetsky | 2002-12-06 | 1 | -0/+5 |
| | | |||||
| * | Remove pointless checks for array_init() return values. | Ilia Alshanetsky | 2002-12-05 | 1 | -6/+2 |
| | | |||||
| * | Fixed segfaults of array_walk() when keys are passed to cb by reference. | Moriyoshi Koizumi | 2002-12-04 | 1 | -7/+5 |
| | | | | | | Fixed bug #12776. | ||||
| * | Fixed leaks in array_walk() | Moriyoshi Koizumi | 2002-12-03 | 1 | -1/+1 |
| | | |||||
| * | Improved the error reporting portion of array_walk() as suggested by Markus | Moriyoshi Koizumi | 2002-11-26 | 1 | -29/+7 |
| | | |||||
| * | Prevent too many error reports from being displayed | Moriyoshi Koizumi | 2002-11-26 | 1 | -0/+1 |
| | | |||||
| * | Fixed incorrect error messages of array_walk() in case the callback is | Moriyoshi Koizumi | 2002-11-26 | 1 | -1/+30 |
| | | | | | | specified in an array form | ||||
| * | Fixed some odd behaviours of range() | Moriyoshi Koizumi | 2002-11-23 | 1 | -5/+25 |
| | | |||||
| * | Fixed bug #20381 | Moriyoshi Koizumi | 2002-11-15 | 1 | -0/+1 |
| | | |||||
| * | @- Added an optional "step" parameter to range(). (Jon) | Jon Parise | 2002-11-14 | 1 | -25/+37 |
| | | |||||
| * | Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob() | John Coggeshall | 2002-11-13 | 1 | -1/+1 |
| | | | | | | | | | | | function. Modified the layout and some minor logic in the experimental webHarness() test class Added Whitespace accidently to array.c :) | ||||
| * | Fixed a memory leak in array_fill(). | Ilia Alshanetsky | 2002-11-05 | 1 | -1/+4 |
| | | | | | | | | The refcount hack is now done for ZE1 only and is slightly faster then the original. After this patch array_fill() can consistently create arrays with >65k elements. | ||||
| * | revert patch | Sterling Hughes | 2002-10-10 | 1 | -37/+57 |
| | | |||||
| * | clean these functions up using zend_parse_parameters and nuke the use of | Sterling Hughes | 2002-10-09 | 1 | -57/+37 |
| | | | | | | HASH_OF() which is inappropriate in these cases... | ||||
| * | small cleanups... | Sterling Hughes | 2002-10-09 | 1 | -4/+1 |
| | | |||||
| * | ws fixes. | Andrey Hristov | 2002-09-21 | 1 | -35/+38 |
| | | | | | | #hope not to be flamed :) what a wonderful day. | ||||
| * | New function added - array_intersect_assoc() similar to array_intersect() | Andrey Hristov | 2002-09-21 | 1 | -10/+56 |
| | | | | | | | | but the keys are also used in the comparison. So the result is a subset of the result of array_intersect(). Test will be committed too. | ||||
| * | Fixing my zts fix. | Andrey Hristov | 2002-09-12 | 1 | -3/+3 |
| | | | | | | #Sorry Edin | ||||
| * | Removed magic numbers about the behavior of php_array_diff - proposed by | Andrey Hristov | 2002-09-12 | 1 | -13/+16 |
| | | | | | | | | Andi and Jon Parise. #It is strange that I commited ZTS code but after that Edin fixed ZTS build #when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build. | ||||
| * | Fix ZTS build. | Edin Kadribasic | 2002-09-11 | 1 | -3/+3 |
| | | |||||
| * | - Little whitespace changes | Derick Rethans | 2002-09-11 | 1 | -20/+30 |
| | | |||||
| * | New function added : array_diff_assoc() . Like array_diff() but does | Andrey Hristov | 2002-09-11 | 1 | -11/+55 |
| | | | | | | | additional checks on key values. Test script will be added too. #My first patch . it feels strange :) | ||||
| * | Fixed ZTS build. | Edin Kadribasic | 2002-09-10 | 1 | -4/+4 |
| | | |||||
| * | @- Fixed array_merge_recursive() to avoid problems with merging cyclical | Andrei Zmievski | 2002-09-10 | 1 | -3/+11 |
| | | | | | | @ arrays (bug #16064). (Andrei) | ||||
| * | @- Added ability to extract() variables as references via OR'able EXTR_REFS | Andrei Zmievski | 2002-09-09 | 1 | -4/+29 |
| | | | | | | @ flag. (Andrei) | ||||
| * | php_error_docref | Marcus Boerger | 2002-08-24 | 1 | -77/+61 |
| | | | | | | #New conversion available at: http://docref.txt.marcus-boerger.de | ||||
| * | Fixes array test 004.phpt. Nice copy paste error. | Marcus Boerger | 2002-08-21 | 1 | -1/+1 |
| | | |||||
| * | Fix for bug #18401, makes shuffle() properly generate all possibilities. | Dan Kalowsky | 2002-08-15 | 1 | -6/+5 |
| | | | | | | Patch provided by Adam Trachtenberg <adam@trachtenberg.com> | ||||
| * | 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 |
| | | |||||
