History log of /PHP-5.4/ext/standard/array.c (Results 301 – 325 of 467)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 78538322 18-Jun-2002 Stig Venaas

Made array_unique() always keep the first occurrences of duplicates,
making the behavior easier to understand, and maybe more useful.


# df226a54 18-Jun-2002 Jan Lehnardt

- WS-fixes


Revision tags: php-4.3.0dev, php5_5_0
# a8de8ec9 10-Jun-2002 Jan Lehnardt

- whitespace fix


# 8e195556 10-Jun-2002 Harald Radi

fix the build


# 7f4c12b0 10-Jun-2002 Andrei Zmievski

Fix bug #7045: shuffle() now provides consistent distribution of values
in the array.


Revision tags: RELEASE_0_90
# e7ab5766 03-Jun-2002 Edin Kadribasic

Fixed array_rand() on ZTS platforms.
@- Fixed array_rand() on thread-safe platforms such as Windows. (Edin)


Revision tags: php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1
# 1668570e 13-May-2002 Andrei Zmievski

Changing email address.


Revision tags: php-4.2.1, php-4.2.1RC2, php-4.2.1RC1
# 5ff970ba 24-Apr-2002 Andrei Zmievski

Fix Bug #14795.


# 4fc01022 24-Apr-2002 Andrei Zmievski

Fix unwanted type conversion in array_merge_recursive (Bug #14990).


Revision tags: php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1, help
# 6adb3300 12-Mar-2002 Sebastian Bergmann

Fix TSRMLS_CC.


# e953dba0 12-Mar-2002 Yasuo Ohgaki

Make use of TSRMLS_C/D


# bb685a40 01-Mar-2002 Zeev Suraski

Fix php_splice() to work with large values


Revision tags: php-4.1.2
# 284eaf34 05-Feb-2002 Andi Gutmans

- Add TSRMLS_FETCH()'s needed for the new object overloading in ZE2.


Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH
# 441c583a 01-Feb-2002 Andrei Zmievski

Converted extract() to use smart_str for variable name manipulation. This
sped it up a bit.


# 0d139d3c 25-Jan-2002 Rasmus Lerdorf

(extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
@- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
@ EXTR_IF_EXISTS only extracts a variable if it already exi

(extraxt) add EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags
@- Added EXTR_IF_EXISTS and EXTR_PREFIX_IF_EXISTS flags to extract()
@ EXTR_IF_EXISTS only extracts a variable if it already exists
@ EXTR_PREFIX_IF_EXISTS only extracts the variable if it exists and
@ then it prepends the prefix to it. ie. if $PATH exists then
@ extract($_ENV,EXTR_PREFIX_IF_EXISTS,'e') would result in $e_PATH
@ This lets you do $a = $b = $c = true; extract($_REQUEST,EXTR_IF_EXISTS);
@ and you only get the global request variables you have defined imported
@ into your symbol table. (Rasmus)

show more ...


# ddc039d0 10-Jan-2002 Andrei Zmievski

Fix the recursive counting, it was broken for associative or non-sequential
arrays. Also update NEWS file.


# aee57030 09-Jan-2002 Derick Rethans

- Fix bug introduced in earlier patch


# cef0a461 29-Dec-2001 Derick Rethans

- Added extra parameter to count() that recursively counts elements in an
array and added is_array_multidimensional(). (patch by Vlad Bosinceanu
<glipy@fx.ro>)


# 211d712c 29-Dec-2001 Andi Gutmans

@ Fix bug in krsort() where an extra character was being compared (Andi)
- Fix bug in krsort() where an extra character was being compared (Andi)


Revision tags: php-4.1.1
# 2c9f5d8a 22-Dec-2001 Zak Greant

Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort,
uasort, uksort and usort.

Corrected prototype comments for all.

Converted to use zend_parse_parameters,

Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort,
uasort, uksort and usort.

Corrected prototype comments for all.

Converted to use zend_parse_parameters, except for the u.?sort functions.

Changed return values for failure from implicit NULL to explicit FALSE in
asort(), krsort(), and ksort().

Changed pval to zval in the u.?sort functions.

Added test to help ensure that fixes to code do not change function
behavior. Tests are quite large (~237k) but compress down to ~16k.
Please let me know if this is a problem!

show more ...


Revision tags: PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0, php-4.1.0RC5, php-4.1.0RC4, php-4.1.0RC3, php-4.1.0RC2
# 78e4644f 11-Nov-2001 Derick Rethans

- Renaming key_exists to array_key_exists
@- Renamed key_exists tp array_key_exists. (Derick)
#- Not sure if this belongs in NEWS, but it was already in a released
# version. And yes, I

- Renaming key_exists to array_key_exists
@- Renamed key_exists tp array_key_exists. (Derick)
#- Not sure if this belongs in NEWS, but it was already in a released
# version. And yes, I know I'm breaking BC here, but as it was not documented
# yet, that doesn't matter.

show more ...


# 2890b57e 27-Oct-2001 Andrei Zmievski

@- Added array_chunk() function that splits an array into chunks of specified
@ size. (Andrei)


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 ...


1...<<111213141516171819