Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | @- Added array_merge_recursive() that will recursively merge values | Andrei Zmievski | 2000-05-30 | 1 | -33/+58 | |
| | | | | | @ under the same keys. (Andrei) | |||||
* | @ Fixed min()/max() segfault. (Andrei) | Andrei Zmievski | 2000-05-24 | 1 | -0/+2 | |
| | ||||||
* | Update the license with the new clause 6 | Zeev Suraski | 2000-05-18 | 1 | -2/+2 | |
| | ||||||
* | (PHP array_multisort) Fix the array_size test. | Andrei Zmievski | 2000-05-18 | 1 | -1/+1 | |
| | ||||||
* | Update for sort functions - user can now specify sort type. | Andrei Zmievski | 2000-05-18 | 1 | -24/+99 | |
| | ||||||
* | @- Added array_rand() function. (Andrei) | Andrei Zmievski | 2000-05-09 | 1 | -0/+79 | |
| | ||||||
* | Fix an empty arrays condition and optimize a bit. | Andrei Zmievski | 2000-04-28 | 1 | -0/+9 | |
| | | | | | | @ Fixed a crash in array_multisort() that happened when empty arrays @ were passed to it. (Andrei) | |||||
* | @- array_walk() now automatically resets the array. (Andrei) | Andrei Zmievski | 2000-04-13 | 1 | -0/+2 | |
| | ||||||
* | Added natural comparison/sorting routines using code from Martin Pool. | Andrei Zmievski | 2000-04-12 | 1 | -0/+93 | |
| | | | | | | | | | @- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(), @ natsort(), and natcasesort(). These are useful for comparing and sorting @ strings that contain numbers. Based on the code from Martin Pool @ <mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/ @ for more info on natural sorting. (Andrei) | |||||
* | Return type was missing. | Egon Schmid | 2000-04-04 | 1 | -1/+1 | |
| | ||||||
* | #yikes stripes, didn't see that one | Sterling Hughes | 2000-03-29 | 1 | -4/+2 | |
| | | | | | | #its time to go to bed Re-fixed return value of min and max | |||||
* | 1. Holy protos Batman. | Sterling Hughes | 2000-03-29 | 1 | -38/+80 | |
| | | | | | 2. Converted some functions from using "return" to RETURN_FALSE | |||||
* | @- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei) | Andrei Zmievski | 2000-03-24 | 1 | -5/+4 | |
| | ||||||
* | @Cleaned up extension namespace (Stig) | Stig Bakken | 2000-03-06 | 1 | -58/+2 | |
| | | | | | | Cleaned up extension namespace, and changed ext/standard into one single extension. | |||||
* | @- Implemented default_charset and default_mimetype config directives (Stig) | Stig Bakken | 2000-02-25 | 1 | -0/+7 | |
| | | | | | | Implemented default_charset and default_mimetype configuration directives. Started implementing ticks in PHP. | |||||
* | There are more '|' and should be mixed. | Egon Schmid | 2000-02-24 | 1 | -1/+1 | |
| |