#
6195f146 |
| 16-Mar-2001 |
Frank M. Kromann |
Fixing build on Win32 by adding missing BLS_FETCH(); |
#
561cc743 |
| 16-Mar-2001 |
Andrei Zmievski |
@- Fixed all relevant array functions to avoid moving the internal array @ pointer during operations. (Andrei) |
Revision tags: php-4.0.5RC1 |
|
#
0fa068e1 |
| 12-Mar-2001 |
Stanislav Malyshev |
Prevent memory leak |
#
be83ba17 |
| 12-Mar-2001 |
Stanislav Malyshev |
Use hash position with array_flip |
#
40dd7eef |
| 12-Mar-2001 |
Andrei Zmievski |
This will have to do until the docs come along. |
#
d73ef124 |
| 12-Mar-2001 |
Andrei Zmievski |
@- Added array_reduce(), which allows iterative reduction of an array @ to a single value via a callback function. (Andrei) - Added array_reduce(), which allows iterative reduction of an arr
@- Added array_reduce(), which allows iterative reduction of an array @ 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.
show more ...
|
#
eb6ba01d |
| 26-Feb-2001 |
Andi Gutmans |
- Fix copyright notices with 2001 |
#
118c0155 |
| 22-Feb-2001 |
James Moore |
Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 and rand. |
#
8d7972b6 |
| 21-Feb-2001 |
Andrei Zmievski |
Fix memory leak. |
#
ffa08fc2 |
| 20-Feb-2001 |
Jason Greene |
Changed default behavior of array_search to match in_array (strict was default on, and is now default off) |
#
1424e363 |
| 20-Feb-2001 |
Andrei Zmievski |
Rename to array_search(). |
#
1888a98a |
| 20-Feb-2001 |
Jason Greene |
Moved the core of in_array into the function php_search_array, which is called by in_array and search_array (new) @ Added search_array which works similar to in_array but returns @ t
Moved the core of in_array into the function php_search_array, which is 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)
show more ...
|
#
e541a27e |
| 06-Feb-2001 |
Jim Jagielski |
For those lucky systems with both random() and *rand48(), the random() family is the prefered choice. So if both exist, we now choose that. |
#
21aeba29 |
| 22-Jan-2001 |
Andrei Zmievski |
@- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is @ used. (Andrei) @- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix @ string keys that do
@- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is @ used. (Andrei) @- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix @ string keys that do not constitute valid variable names. (Andrei)
show more ...
|
Revision tags: php-4.0.4pl1, php-4.0.4pl1RC2 |
|
#
145f60a4 |
| 08-Jan-2001 |
Andrei Zmievski |
@- Changed extract() to check that prefixed name is a valid one. (Andrei) Changed extract() to check that prefixed name is a valid one. Optimized extract() a bit too. # It'd be
@- Changed extract() to check that prefixed name is a valid one. (Andrei) 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().
show more ...
|
#
74175e42 |
| 08-Jan-2001 |
Andrei Zmievski |
@- Changed extract() to return the number of variables extracted. (Andrei) |
Revision tags: php-4.0.4pl1RC1 |
|
#
c5b11042 |
| 28-Dec-2000 |
Stig Venaas |
Hopefully solves some bad behavior in array_unique(), array_intersect() and array_diff(). Now using SORT_STRING instead of SORT_REGULAR @- Fixed misbehavior of array_unique(), array_intersect
Hopefully solves some bad behavior in array_unique(), array_intersect() 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)
show more ...
|
#
a1614b84 |
| 22-Dec-2000 |
Andrei Zmievski |
(PHP preg_replace) Fix to allow proper escaping of captured subpattern references in the replacement string. (PHP array_sum) Check that argument is an array. |
#
aa6d2ac5 |
| 22-Dec-2000 |
Zeev Suraski |
Heads up people! Updated the get_current_key() API - the relevant authors, please take a look at the updated code and make sure it's ok... |
Revision tags: php-4.0.4REL, php-4.0.4RC6, php-4.0.4RC5, php-4.0.4RC4 |
|
#
753e4665 |
| 11-Dec-2000 |
Andrei Zmievski |
Make php_array_merge() an API function. |
Revision tags: php-4.0.4RC3 |
|
#
949b0893 |
| 27-Nov-2000 |
Sascha Schumann |
The result of conv_z_macros and some manual conversion of "return_value.*=.*IS_STRING" constructs to RETVAL_STRINGL. |
#
a5c75761 |
| 03-Nov-2000 |
Stig Venaas |
Fixed memory leak in array_diff and array_intersect, was introduced with last change. |
#
9866d899 |
| 02-Nov-2000 |
Sascha Schumann |
Namespace protect mergesort (caused conflict on Darwin). |
#
d4cf62f8 |
| 27-Oct-2000 |
Andrei Zmievski |
@- Fixed array_rand() to shuffle results when the number of requested @ elements is the same as the number of elements in the array. (Andrei) |
#
a35bf416 |
| 25-Oct-2000 |
Andrei Zmievski |
Added array_sum() function. |