Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - 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 | |
| | ||||||
* | vim-6 does folding - clean up a bunch of missing folding tags plus | Rasmus Lerdorf | 2001-06-05 | 1 | -0/+1 | |
| | | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions | |||||
* | Add missing end-folding delimiter | John Donagher | 2001-05-23 | 1 | -0/+1 | |
| | ||||||
* | Always free the callback_name when using zend_is_callable(). | Andrei Zmievski | 2001-05-10 | 1 | -0/+3 | |
| | ||||||
* | @ - Added key_exists() to check if a given key or index exists in an | David Croft | 2001-04-30 | 1 | -0/+38 | |
| | | | | | | @ array or object (David Croft) Added key_exists() to check if a given key or index exists in an array or object | |||||
* | Use correct string length. | Andrei Zmievski | 2001-04-02 | 1 | -1/+1 | |
| | ||||||
* | @- Added array_map() function that applies a callback to the elements | Andrei Zmievski | 2001-03-19 | 1 | -1/+112 | |
| | | | | | | @ of given arrays and returns the result. It can also be used with a @ null callback to transpose arrays. (Andrei) | |||||
* | @- Added array_filter(), which allows filtering of array elements via | Andrei Zmievski | 2001-03-16 | 1 | -0/+76 | |
| | | | | | @ the specified callback. (Andrei) | |||||
* | All user callbacks should be to EG(function_table). | Andrei Zmievski | 2001-03-16 | 1 | -5/+4 | |
| | ||||||
* | Fixing build on Win32 by adding missing BLS_FETCH(); | Frank M. Kromann | 2001-03-16 | 1 | -0/+1 | |
| | ||||||
* | @- Fixed all relevant array functions to avoid moving the internal array | Andrei Zmievski | 2001-03-16 | 1 | -65/+76 | |
| | | | | | @ pointer during operations. (Andrei) | |||||
* | Prevent memory leak | Stanislav Malyshev | 2001-03-12 | 1 | -1/+1 | |
| | ||||||
* | Use hash position with array_flip | Stanislav Malyshev | 2001-03-12 | 1 | -6/+8 | |
| | ||||||
* | This will have to do until the docs come along. | Andrei Zmievski | 2001-03-12 | 1 | -1/+1 | |
| | ||||||
* | @- Added array_reduce(), which allows iterative reduction of an array | Andrei Zmievski | 2001-03-12 | 1 | -0/+60 | |
| | | | | | | | | @ to a single value via a callback function. (Andrei) - Added array_reduce(), which allows iterative reduction of an array to a single value via a callback function. - Fixed usage of zend_is_callable() in PCRE. | |||||
* | - 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. |