| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | - Fix copyright notices with 2001 | Andi Gutmans | 2001-02-26 | 1 | -1/+1 |
| | | |||||
| * | Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 ↵ | James Moore | 2001-02-22 | 1 | -12/+1 |
| | | | | | and rand. | ||||
| * | Fix memory leak. | Andrei Zmievski | 2001-02-21 | 1 | -0/+2 |
| | | |||||
| * | Changed default behavior of array_search to match in_array | Jason Greene | 2001-02-20 | 1 | -12/+3 |
| | | | | | | (strict was default on, and is now default off) | ||||
| * | Rename to array_search(). | Andrei Zmievski | 2001-02-20 | 1 | -5/+4 |
| | | |||||
| * | Moved the core of in_array into the function php_search_array, which is ↵ | Jason Greene | 2001-02-20 | 1 | -11/+59 |
| | | | | | | | | | | | called by in_array and search_array (new) @ Added search_array which works similar to in_array but returns @ the key instead of a boolean. (jason@php.net) | ||||
| * | For those lucky systems with both random() and *rand48(), the random() | Jim Jagielski | 2001-02-06 | 1 | -6/+6 |
| | | | | | | family is the prefered choice. So if both exist, we now choose that. | ||||
| * | @- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is | Andrei Zmievski | 2001-01-22 | 1 | -61/+86 |
| | | | | | | | | @ used. (Andrei) @- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix @ string keys that do not constitute valid variable names. (Andrei) | ||||
| * | @- Changed extract() to check that prefixed name is a valid one. (Andrei) | Andrei Zmievski | 2001-01-08 | 1 | -36/+35 |
| | | | | | | | | | Changed extract() to check that prefixed name is a valid one. Optimized extract() a bit too. # It'd be nice if someone made regression tests for extract(). | ||||
| * | @- Changed extract() to return the number of variables extracted. (Andrei) | Andrei Zmievski | 2001-01-08 | 1 | -2/+6 |
| | | |||||
| * | Hopefully solves some bad behavior in array_unique(), array_intersect() | Stig Venaas | 2000-12-28 | 1 | -69/+21 |
| | | | | | | | | and array_diff(). Now using SORT_STRING instead of SORT_REGULAR @- Fixed misbehavior of array_unique(), array_intersect() and array_diff(); @ could in certain cases give wrong result or segfault (Stig Venaas) | ||||
| * | (PHP preg_replace) Fix to allow proper escaping of captured subpattern | Andrei Zmievski | 2000-12-22 | 1 | -0/+6 |
| | | | | | | | references in the replacement string. (PHP array_sum) Check that argument is an array. | ||||
| * | Heads up people! | Zeev Suraski | 2000-12-22 | 1 | -19/+12 |
| | | | | | | | Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok... | ||||
| * | Make php_array_merge() an API function. | Andrei Zmievski | 2000-12-11 | 1 | -7/+7 |
| | | |||||
| * | The result of conv_z_macros and some manual conversion of | Sascha Schumann | 2000-11-27 | 1 | -193/+190 |
| | | | | | | "return_value.*=.*IS_STRING" constructs to RETVAL_STRINGL. | ||||
| * | Fixed memory leak in array_diff and array_intersect, was introduced with | Stig Venaas | 2000-11-03 | 1 | -2/+0 |
| | | | | | | last change. | ||||
| * | Namespace protect mergesort (caused conflict on Darwin). | Sascha Schumann | 2000-11-02 | 1 | -2/+2 |
| | | |||||
| * | @- Fixed array_rand() to shuffle results when the number of requested | Andrei Zmievski | 2000-10-27 | 1 | -0/+7 |
| | | | | | | @ elements is the same as the number of elements in the array. (Andrei) | ||||
| * | Added array_sum() function. | Andrei Zmievski | 2000-10-25 | 1 | -2/+37 |
| | | |||||
| * | Fixed array_type_data_compare(). I want strings to always differ from | Stig Venaas | 2000-10-22 | 1 | -3/+6 |
| | | | | | | numbers, but not say 7 and 7.0 to differ. | ||||
| * | Made array_unique use array_type_data_compare instead of array_data_compare | Stig Venaas | 2000-10-21 | 1 | -2/+2 |
| | | |||||
| * | Added array_type_data_compare which is like array_data_compare but | Stig Venaas | 2000-10-21 | 1 | -61/+117 |
| | | | | | | | | compares type first. Also rewrote array_intersect and array_diff, so that the order is not changed. @- Made array_intersect and array_diff not alter order (Stig Venaas) | ||||
| * | - Change to Z_BVAL macro | Andi Gutmans | 2000-09-19 | 1 | -1/+1 |
| | | |||||
| * | - Fix warnings | Zeev Suraski | 2000-09-19 | 1 | -1/+1 |
| | | | | | | - Fix URL scanner startup crash | ||||
| * | Forgot to update proto. | Andrei Zmievski | 2000-09-12 | 1 | -1/+1 |
| | | |||||
| * | @- Added second argument to array_reverse() that indicatese whether | Andrei Zmievski | 2000-09-12 | 1 | -11/+23 |
| | | | | | | @ the original array keys should be preserved. (Andrei) | ||||
| * | @- Updated array_walk() to be able to accept array($obj, 'method') | Andrei Zmievski | 2000-08-22 | 1 | -2/+9 |
| | | | | | | @ syntax for the walk function. (Andrei) | ||||
| * | typo fix in array_diff error message, fixes bug #6236 | Hartmut Holzgraefe | 2000-08-18 | 1 | -1/+1 |
| | | |||||
| * | minor typo fix in proto | Hartmut Holzgraefe | 2000-08-18 | 1 | -1/+1 |
| | | |||||
| * | ooops - theese new parameters are optional | Hartmut Holzgraefe | 2000-08-04 | 1 | -6/+6 |
| | | |||||
| * | added new second parameter to osrt functions in the protos | Hartmut Holzgraefe | 2000-08-04 | 1 | -6/+6 |
| | | |||||
| * | Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files. | David Croft | 2000-07-24 | 1 | -1/+3 |
| | | | | | | | | | | Added a few RCS $Id$ tags. # Note: I have avoided changing any .h files if the corresponding .c file # had not already been changed as I am not sure if there are any legal # issues here. So some extensions still have PHP 3 headers. | ||||
| * | *** empty log message *** | Andrei Zmievski | 2000-07-17 | 1 | -1/+1 |
| | | |||||
| * | Updated comments. | Andrei Zmievski | 2000-07-11 | 1 | -10/+10 |
| | | |||||
| * | @- Improved array_multisort() to be able to specify sort type as well sort | Andrei Zmievski | 2000-07-11 | 1 | -38/+70 |
| | | | | | | | @ order. Incidentally, it can be used to sort multi-dimensional arrays @ as well. (Andrei) | ||||
| * | Not every argument type is mixed. | Egon Schmid | 2000-07-04 | 1 | -5/+5 |
| | | |||||
| * | Missed a two liner. | Egon Schmid | 2000-07-04 | 1 | -2/+1 |
| | | |||||
| * | Oops, didn't mean to commit that. | Andrei Zmievski | 2000-06-28 | 1 | -2/+2 |
| | | |||||
| * | @- Added an optional parameter to preg_replace() that can be used to | Andrei Zmievski | 2000-06-28 | 1 | -2/+2 |
| | | | | | | @ specify how many replacements to make. (Andrei) | ||||
| * | The second array_merge() is now array_merge_recursive(). | Egon Schmid | 2000-06-25 | 1 | -12/+11 |
| | | |||||
| * | One more place. | Andrei Zmievski | 2000-06-18 | 1 | -1/+1 |
| | | |||||
| * | @- Modified in_array() to not touch array pointer. (Andrei) | Andrei Zmievski | 2000-06-18 | 1 | -2/+3 |
| | | |||||
| * | - Fix a couple of wranings in the FTP code and in parsedate.y | Zeev Suraski | 2000-06-17 | 1 | -2/+2 |
| | | | | | | | - Be safer with LC_MESSAGES - Align with the latest Zend change in call_user_function_ex() | ||||
| * | Forgot to set_compare_func in the new array functions, had only tested | Stig Venaas | 2000-06-11 | 1 | -0/+3 |
| | | | | | | with older source. | ||||
| * | Changed array_subtract to array_diff | Stig Venaas | 2000-06-10 | 1 | -2/+2 |
| | | |||||
| * | Adding fuctions array_unique, array_intersect and array_subtract. | Stig Venaas | 2000-06-10 | 1 | -0/+248 |
| | | |||||
| * | - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch | Andi Gutmans | 2000-06-05 | 1 | -61/+61 |
| | | |||||
| * | \0 is part of they key, but not of the variable | Stanislav Malyshev | 2000-06-04 | 1 | -2/+2 |
| | | |||||
| * | - Allow all functions that receive user-defined function callbacks to accept | Zeev Suraski | 2000-06-03 | 1 | -3/+0 |
| | | | | | | | | | | an array that contains an object and a method name, in place of a function name, e.g. usort($array, array($obj, "ObjSort")) (I checked the code in array.c and basic_functions.c, other code which uses call_user_function() may still force the function_name argument to be of type IS_STRING, which prevents this feature from working - and is no longer necessary) | ||||
| * | @- Added third argument to in_array(). If it's true, then in_array() | Andrei Zmievski | 2000-06-01 | 1 | -8/+15 |
| | | | | | | | | @ will use strict comparison instead of the default one. (Andrei) Fixes bug #4753 | ||||
