Moriyoshi Koizumi
de231c928c
- MFH: Bugfix #29493 (extract(array, EXTR_REFS) misbehaves with elements
...
referred twice or more times)
2004-08-10 06:04:12 +00:00
Andrey Hristov
6b2dc66a5b
MFH:
...
fixing bug #29038
2004-07-11 21:30:19 +00:00
Andrey Hristov
9947c89d6e
MFH:
...
fixed bug #28974 : overflow in array_slice()
The same kind of overflow appeared in array_splice(), substr() and
substr_replace()
2004-07-11 21:24:47 +00:00
Ilia Alshanetsky
aaaa6ce403
MFH: Fixed bug #29049 (array sorting via user function/method does not
...
validate it).
2004-07-08 17:07:25 +00:00
Ilia Alshanetsky
4de55b50dc
Revert patch for bug #27782 .
2004-04-01 19:07:02 +00:00
Ilia Alshanetsky
24e9c2b3ff
MFH: Fixed bug #27782 (Wrong behaviour of next(), prev() and each()).
2004-03-30 19:09:10 +00:00
foobar
18a2f7bab4
- Reverted the 'fix' for bug #25494
...
# Can we now get peace on internals@ about this stupid issue?
2003-10-08 11:16:22 +00:00
Ilia Alshanetsky
a13710455c
MFH: Fixed clobbering of the source array, when merging complex
...
multi-dimensional arrays. Bug reported by Lukas Smith.
2003-10-05 19:37:06 +00:00
Moriyoshi Koizumi
e547d66316
MFH(r-1.252): Fixed bug #25708 (extract($GLOBALS, EXTR_REFS) mangles $GLOBALS)
2003-10-02 22:22:15 +00:00
Jay Smith
491347fba6
Fixed bug #25494 (array_merge allowing "false" as argument (silent when
...
non-array is passed))
# Now throws E_NOTICE for non-array args as per Ilia's suggestion.
2003-09-11 17:28:27 +00:00
foobar
9356017daa
MFH: revert previous commit
2003-08-13 01:37:58 +00:00
foobar
553fb5a3be
MFH
2003-08-13 01:24:48 +00:00
Ilia Alshanetsky
b74daafbcd
MFH: Fixed bug #24897 (inconsistent behavior of shuffle() &
...
array_multisort())
2003-08-09 20:50:25 +00:00
Ilia Alshanetsky
e60da236ae
MFH: Do not assume array contains numeric values.
2003-08-09 16:47:21 +00:00
Ilia Alshanetsky
b2bd6e465c
MFH: Fixed bug #24980 (array_reduce() uses first element as default running
...
total).
2003-08-08 23:54:25 +00:00
Ilia Alshanetsky
7473ff4698
Fixed bug #24220 (range() didn't handle numeric strings correctly)
2003-06-17 13:20:18 +00:00
Ilia Alshanetsky
11cb016d39
MFH: Fixed bug #24198 (Invalid recursion detection in array_merge_recurcive())
2003-06-16 17:37:15 +00:00
Moriyoshi Koizumi
52c52c1c3d
MFH(r-1.228): fixed bug #22463 and bug #23581
2003-05-11 06:39:42 +00:00
Sara Golemon
631112ec2f
MFH(r-1.227)
2003-05-02 01:05:16 +00:00
Ilia Alshanetsky
48e938368e
emalloc -> safe_emalloc
2003-04-23 02:37:29 +00:00
Moriyoshi Koizumi
dd6c7bb240
MFH(r-1.226, r-1.24, r-1.99, r-1.68): fixed implicit cast issue
2003-04-16 22:57:15 +00:00
Rasmus Lerdorf
7e8039ef0d
Arbitrarily limit array_pad() to only do 1 million elements at a time.
...
Probably still too high, but it solves the segfault for now.
2003-04-01 21:44:47 +00:00
foobar
2e9cafa7e5
MFH: - Fixed bug #22088 (array_shift() leaves next index to be +1 too much)
2003-02-06 15:28:28 +00:00
foobar
ef6658864a
MFH: Fixed bug: #21998 (array_pop() did not reset the current array position)
2003-02-03 16:58:08 +00:00
Moriyoshi Koizumi
ae0519643e
MFH
2003-01-03 05:12:06 +00:00
Sebastian Bergmann
ec46829b38
MFH: Bump year.
2002-12-31 16:37:36 +00:00
Moriyoshi Koizumi
d07f529652
Fixed bug #21182
2002-12-25 20:00:12 +00:00
Ilia Alshanetsky
14dbf42db8
MFH
2002-12-06 17:36:25 +00:00
Ilia Alshanetsky
89d758c378
MFH
2002-12-05 22:46:40 +00:00
Moriyoshi Koizumi
ebcfd99797
Forgot to merge this part
2002-12-04 17:12:20 +00:00
Moriyoshi Koizumi
6e8529a62b
MFH: fixed segfaults in array_walk() when keys are passed to cb by reference
2002-12-04 16:44:24 +00:00
Moriyoshi Koizumi
bfd27eda54
MFH: fixed leaks in array_walk()
2002-12-03 15:02:55 +00:00
Moriyoshi Koizumi
b71f73322a
MFH: improved the error reporting portion of array_walk()
2002-11-26 22:14:11 +00:00
Moriyoshi Koizumi
8f73c27ca6
MFH: prevent too many error reports from being displayed
2002-11-26 21:54:33 +00:00
Moriyoshi Koizumi
974e2188cc
MFH: Fixed incorrect error messages of array_walk()
2002-11-26 21:35:52 +00:00
Moriyoshi Koizumi
03222e4d82
MFH
2002-11-15 02:18:12 +00:00
John Coggeshall
253cecd43a
Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob()
...
function.
Modified the layout and some minor logic in the experimental webHarness()
test class
Added Whitespace accidently to array.c :)
2002-11-13 13:31:33 +00:00
Ilia Alshanetsky
6d57337cda
Fixed a memory leak in array_fill().
...
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
2002-11-05 16:19:19 +00:00
Sterling Hughes
f61889e72d
revert patch
2002-10-10 19:24:45 +00:00
Sterling Hughes
2c4aa71d32
clean these functions up using zend_parse_parameters and nuke the use of
...
HASH_OF() which is inappropriate in these cases...
2002-10-09 18:29:45 +00:00
Sterling Hughes
521a9bdadc
small cleanups...
2002-10-09 17:15:56 +00:00
Andrey Hristov
9ee1ce156f
ws fixes.
...
#hope not to be flamed :) what a wonderful day.
2002-09-21 16:10:33 +00:00
Andrey Hristov
a920f00479
New function added - array_intersect_assoc() similar to array_intersect()
...
but the keys are also used in the comparison. So the result is a subset of
the result of array_intersect().
Test will be committed too.
2002-09-21 14:50:04 +00:00
Andrey Hristov
23d3cd79c1
Fixing my zts fix.
...
#Sorry Edin
2002-09-12 08:20:37 +00:00
Andrey Hristov
ad92434638
Removed magic numbers about the behavior of php_array_diff - proposed by
...
Andi and Jon Parise.
#It is strange that I commited ZTS code but after that Edin fixed ZTS build
#when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build.
2002-09-12 08:04:42 +00:00
Edin Kadribasic
705e72f363
Fix ZTS build.
2002-09-11 23:09:11 +00:00
Derick Rethans
aaf920f9d5
- Little whitespace changes
2002-09-11 18:40:56 +00:00
Andrey Hristov
afdfe38ef3
New function added : array_diff_assoc() . Like array_diff() but does
...
additional checks on key values. Test script will be added too.
#My first patch . it feels strange :)
2002-09-11 18:13:48 +00:00
Edin Kadribasic
333b01b041
Fixed ZTS build.
2002-09-10 22:36:43 +00:00
Andrei Zmievski
dd7cf22443
@- Fixed array_merge_recursive() to avoid problems with merging cyclical
...
@ arrays (bug #16064 ). (Andrei)
2002-09-10 18:34:16 +00:00