Revision tags: php-4.0.5 |
|
#
34f03f2c |
| 30-Apr-2001 |
David Croft |
@ - Added key_exists() to check if a given key or index exists in an @ array or object (David Croft) Added key_exists() to check if a given key or index exists in an array or object |
Revision tags: php-4.0.5RC8, php-4.0.5RC7, php-4.0.5RC6 |
|
#
221a5a60 |
| 02-Apr-2001 |
Andrei Zmievski |
Use correct string length. |
Revision tags: php-4.0.5RC5, php-4.0.5RC4, php-4.0.5RC3, php-4.0.5RC2 |
|
#
d9aa966a |
| 19-Mar-2001 |
Andrei Zmievski |
@- Added array_map() function that applies a callback to the elements @ of given arrays and returns the result. It can also be used with a @ null callback to transpose arrays. (Andrei) |
#
770c6612 |
| 16-Mar-2001 |
Andrei Zmievski |
@- Added array_filter(), which allows filtering of array elements via @ the specified callback. (Andrei) |
#
f7f2cf9d |
| 16-Mar-2001 |
Andrei Zmievski |
All user callbacks should be to EG(function_table). |
#
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. |