Revision tags: POST_PARAMETER_PARSING_API |
|
#
72fc6bc4 |
| 23-Oct-2001 |
Rasmus Lerdorf |
As suggested on php-dev, array_fill() is probably a better name for this function.
|
#
d98c96fc |
| 22-Oct-2001 |
Rasmus Lerdorf |
Use references instead of making a copy each time in array_init(). About twice as fast for a high number of elements. 2.80 seconds for the copy of 1,000,000 elements and 1.39s for the refer
Use references instead of making a copy each time in array_init(). About twice as fast for a high number of elements. 2.80 seconds for the copy of 1,000,000 elements and 1.39s for the reference version. Need to chunk it every 62k or so because refcount is a short.
show more ...
|
#
4d60dbb9 |
| 21-Oct-2001 |
Rasmus Lerdorf |
Oops, leftover crud
|
#
798ec793 |
| 21-Oct-2001 |
Rasmus Lerdorf |
Motivated by bug #13607 I wrote up a simple array_init() function that lets you quickly create an array and initialize each element to a certain value. @ Add array_init() function (Rasmus)
|
Revision tags: PRE_PARAMETER_PARSING_API, php-4.1.0RC1 |
|
#
78b881f3 |
| 07-Oct-2001 |
Jeroen van Wolffelaar |
Fix naming inside php_search_array, comp_func is not a compare function.
|
#
62feefdd |
| 05-Oct-2001 |
Jeroen van Wolffelaar |
Fix array_search and in_array. Now binary safe, and faster (returns when found, and doesn't duplicate the key each time, but only when necessary) Patch also by Edin Kadribasic
|
#
89ea50a5 |
| 05-Oct-2001 |
Jeroen van Wolffelaar |
Fix bug 13567 and don't depend on a boolean int-value to be either 1 or 0
|
#
e78b6154 |
| 05-Oct-2001 |
Edin Kadribasic |
Added array_change_key_case() function that returns array with with all string keys lowercased or uppercased @- Added array_change_key_case() function that returns array with @ with all
Added array_change_key_case() function that returns array with with all string keys lowercased or uppercased @- Added array_change_key_case() function that returns array with @ with all string keys lowercased or uppercased (EdinK)
show more ...
|
Revision tags: php4, php-4.0.7RC3, POST_SUBST_Z_MACROS, PRE_SUBST_Z_MACROS |
|
#
bcb426a2 |
| 17-Sep-2001 |
Sterling Hughes |
Merge in qsort changes
|
#
97fea093 |
| 16-Sep-2001 |
Sterling Hughes |
Make rand thread safe when ZTS is defined.
|
#
78747bd2 |
| 09-Sep-2001 |
Derick Rethans |
- Don't wrap lines... this is annoying while coding.
|
#
ff2bc83c |
| 09-Sep-2001 |
Sterling Hughes |
remove ARG_COUNT(ht) # Is there any reason that the set_compare_func call is passed SORT_STRING # instead of SORT_REGULAR??
|
Revision tags: php-4.0.7RC2 |
|
#
42b5521a |
| 05-Sep-2001 |
foobar |
revert bad commit.
|
#
9b888641 |
| 04-Sep-2001 |
Daniel Beulshausen |
fix zts+win32 build
|
#
1ecd31b6 |
| 03-Sep-2001 |
Andi Gutmans |
- Fix thread safe mode. - Please don't use Java style function braces.
|
#
0cb6a319 |
| 03-Sep-2001 |
Jeroen van Wolffelaar |
Fix array_rand and array_suffle to use php_rand correctly
|
#
b0300e26 |
| 03-Sep-2001 |
Jeroen van Wolffelaar |
Fix prototype
|
#
f7306ce0 |
| 03-Sep-2001 |
Jeroen van Wolffelaar |
Merge RAND_REDESIGN into MAIN
|
#
392e1ede |
| 31-Aug-2001 |
Andrei Zmievski |
@- Made in_array() and search_array() allow the needle to be an array in @ itself. (Andrei)
|
#
563ffb89 |
| 28-Aug-2001 |
Rasmus Lerdorf |
Kill a warning
|
#
cae9763d |
| 24-Aug-2001 |
Andrei Zmievski |
@- Fixed a crash bug in array_map() if the input arrays had string or @ non-sequential keys. Also modified it so that if a single array is passed, @ its keys are preserved in the resulting
@- Fixed a crash bug in array_map() if the input arrays had string or @ non-sequential keys. Also modified it so that if a single array is passed, @ its keys are preserved in the resulting array. (Andrei)
show more ...
|
#
e140b35b |
| 21-Aug-2001 |
Zeev Suraski |
API update
|
Revision tags: php-4.0.7RC1, BEFORE_EXP_MERGE |
|
#
c0404f46 |
| 11-Aug-2001 |
Zeev Suraski |
Whitespace
|
Revision tags: PRE_METHOD_DEREFERENCE_PATCH, BEFORE_PARAM_PARSING_CHANGE |
|
#
32440e30 |
| 07-Aug-2001 |
Andrei Zmievski |
Fix a couple of leaks.
|
Revision tags: PRE_ENGINE2_SPLIT |
|
#
23b9300f |
| 06-Aug-2001 |
Sascha Schumann |
more tsrm cleanup
|