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
Andrei Zmievski
2c6154d7aa
@- Added ability to extract() variables as references via OR'able EXTR_REFS
...
@ flag. (Andrei)
2002-09-09 20:05:20 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Marcus Boerger
95e933fc99
Fixes array test 004.phpt. Nice copy paste error.
2002-08-21 11:23:44 +00:00
Dan Kalowsky
dee21adc3d
Fix for bug #18401 , makes shuffle() properly generate all possibilities.
...
Patch provided by Adam Trachtenberg <adam@trachtenberg.com >
2002-08-15 19:09:05 +00:00
Brad LaFountain
c90764d753
one last fix for array_shift
2002-08-03 00:40:46 +00:00
Brad LaFountain
9b0553c390
array_pop wasnt setting next index
2002-08-01 17:34:31 +00:00
foobar
922b7596a2
That was not correct..
2002-08-01 16:44:47 +00:00
foobar
6df2b90c05
Reset index when doing array_pop()
2002-08-01 16:39:52 +00:00
foobar
06b3dd122f
Nuke compile warning.
2002-08-01 12:07:15 +00:00
foobar
9d62cd7d45
- Removed the DOS line endings
...
- Changed the '//' comment (this is C, not C++) to /* */
# Brad, use some editor which works..
2002-08-01 12:06:46 +00:00
Brad LaFountain
4f5bd6b7d4
made array_shift re-index like it did before previous fix
2002-08-01 04:38:11 +00:00
foobar
9fe39b9604
Reverted the patch..it breaks the original behaviour of at least array_shift.
2002-07-31 13:49:50 +00:00
Brad LaFountain
70fb744365
fixed bugs 16063 and 16068
...
increased preformance of array_pop and array_shift
2002-07-30 22:54:12 +00:00
Derick Rethans
392a452c80
Silence warning
2002-07-08 07:33:22 +00:00
Derick Rethans
cc920570fd
Unify error messages
2002-07-08 07:32:59 +00:00