History log of /PHP-7.3/ext/standard/array.c (Results 801 – 825 of 848)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 5673378e 03-Jun-2000 Zeev Suraski

- Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj

- Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort"))
(I checked the code in array.c and basic_functions.c, other code which uses
call_user_function() may still force the function_name argument to be of type
IS_STRING, which prevents this feature from working - and is no longer necessary)

show more ...


# 4c818aec 01-Jun-2000 Andrei Zmievski

@- Added third argument to in_array(). If it's true, then in_array()
@ will use strict comparison instead of the default one. (Andrei)

Fixes bug #4753


# 01a42209 30-May-2000 Andrei Zmievski

@- Added array_merge_recursive() that will recursively merge values
@ under the same keys. (Andrei)


# 4197a686 24-May-2000 Andrei Zmievski

@ Fixed min()/max() segfault. (Andrei)


Revision tags: php-4.0.0
# e043439f 18-May-2000 Zeev Suraski

Update the license with the new clause 6


# aa09d60d 18-May-2000 Andrei Zmievski

(PHP array_multisort) Fix the array_size test.


# a859e833 18-May-2000 Andrei Zmievski

Update for sort functions - user can now specify sort type.


# fdbea075 09-May-2000 Andrei Zmievski

@- Added array_rand() function. (Andrei)


Revision tags: php-4.0RC2
# 105be151 28-Apr-2000 Andrei Zmievski

Fix an empty arrays condition and optimize a bit.
@ Fixed a crash in array_multisort() that happened when empty arrays
@ were passed to it. (Andrei)


# 9ffd5b55 13-Apr-2000 Andrei Zmievski

@- array_walk() now automatically resets the array. (Andrei)


# c7100c4a 12-Apr-2000 Andrei Zmievski

Added natural comparison/sorting routines using code from Martin Pool.

@- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(),
@ natsort(), and natcasesort(). These a

Added natural comparison/sorting routines using code from Martin Pool.

@- Added natural comparison/sorting routines strnatcmp(), strnatcasecmp(),
@ natsort(), and natcasesort(). These are useful for comparing and sorting
@ strings that contain numbers. Based on the code from Martin Pool
@ <mbp@humbug.org.au>. See http://www.linuxcare.com.au/projects/natsort/
@ for more info on natural sorting. (Andrei)

show more ...


# 3e2a1034 04-Apr-2000 Egon Schmid

Return type was missing.


# 68d4298e 29-Mar-2000 Sterling Hughes

#yikes stripes, didn't see that one
#its time to go to bed
Re-fixed return value of min and max


# cc2c9d8f 29-Mar-2000 Sterling Hughes

1. Holy protos Batman.
2. Converted some functions from using "return" to RETURN_FALSE


Revision tags: PHP-4.0-RC1
# 7b02e9fc 24-Mar-2000 Andrei Zmievski

@- Fixed extract() for EXTR_PREFIX_SAME and EXTR_SKIP cases. (Andrei)


# 99e0b363 06-Mar-2000 Stig Bakken

@Cleaned up extension namespace (Stig)
Cleaned up extension namespace, and changed ext/standard into one single
extension.


# d23e5d83 25-Feb-2000 Stig Bakken

@- Implemented default_charset and default_mimetype config directives (Stig)
Implemented default_charset and default_mimetype configuration directives.
Started implementing ticks in PHP.


# 28449188 24-Feb-2000 Egon Schmid

There are more '|' and should be mixed.


# c401bbe2 24-Feb-2000 Andrei Zmievski

Fix proto.


# fe615efb 24-Feb-2000 Egon Schmid

More protos.


Revision tags: php-4.0b4pl1, php-4.0b4, php-4.0b4_rc1
# 86fa2aad 19-Feb-2000 Zeev Suraski

the pipe is breaking all the time


Revision tags: BEFORE_SAPI_POST_PATCH_17_FEB_2000
# a60e91b3 11-Feb-2000 Andrei Zmievski

(request_shutdown) Prevent infinite loop on shutdown if there is an error
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.

(request_shutdown) Prevent infinite loop on shutdown if there is an error
in shutdown function.
(php_array_walk) Print a warning if the walk function doesn't exist.

Split shutdown function call into a separate function that's called with
zend_hash_apply() instead of as destructor to keep hash consistent.

This fixes bug #3419.

show more ...


# 80bdd19e 11-Feb-2000 Zeev Suraski

Fine tune Andi's patch


# 29280bb9 10-Feb-2000 Andi Gutmans

- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32


Revision tags: BEFORE_SAPIFICATION_FEB_10_2000
# c12aa454 05-Feb-2000 Zeev Suraski

Compile fixes


1...<<31323334