Moriyoshi Koizumi
b666d8c679
Added test case for bug #22463
2003-05-11 02:37:17 +00:00
foobar
073a80fbcc
fix the test
2003-02-06 15:22:41 +00:00
foobar
102f8cf4c1
Added testcase for bug #22088
2003-02-06 15:04:53 +00:00
foobar
7147949a4e
Correct description of the problem
2003-02-03 16:52:04 +00:00
foobar
bb97dfaccb
Added test for bug #21998
2003-02-03 06:43:08 +00:00
Derick Rethans
b996b32031
- Add test for bug #21182
2002-12-25 20:08:36 +00:00
Ilia Alshanetsky
3a4bf3f904
When low & high are the same return an array containing the low value.
...
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Ilia Alshanetsky
3bc8512cf0
Added test case for bug #20865 .
2002-12-06 17:46:26 +00:00
Moriyoshi Koizumi
cf0a0f0967
Added a test for bug #12776
2002-12-04 17:01:07 +00:00
Marcus Boerger
015c117e37
-Do not rely on a side effect of 32bit platforms (patch by Michael Mauch)
...
-remove unused sections
2002-11-16 17:28:04 +00:00
Marcus Boerger
31e1cd13e2
removed unused sections
2002-11-16 17:26:52 +00:00
Moriyoshi Koizumi
ac209557dd
Added a test case for bug #20381
2002-11-15 02:11:23 +00:00
Ilia Alshanetsky
7db2ebd8ea
This makes the output of the tests consistent on 32bit and 64 bit platforms.
...
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
2002-11-07 17:49:11 +00:00
Derick Rethans
e06550f853
- Fix problem with var_export when objects with numeric indexes were
...
exported. We now skip those, as there is no way to export valid code for
it.
2002-10-11 13:49:20 +00:00
Derick Rethans
bd48e0cfe9
- Add new tests for: array_change_key_case, array_chunk and
...
array_count_values.
2002-10-06 18:42:03 +00:00
Andrey Hristov
9980cf5f53
Test case for array_intersect() and array_intersect_assoc()
2002-09-21 14:50:55 +00:00
Andrey Hristov
2b710f7e5c
Regression test for array_diff() and array_diff_assoc(). The latter is newly
...
introduced.
2002-09-11 18:16:11 +00:00
Marcus Boerger
a70640480a
Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006).
2002-08-21 10:42:55 +00:00
Marcus Boerger
d3d12daec4
add ini setting precision - this does not fix the real problem here
2002-08-21 03:13:33 +00:00
Marcus Boerger
9607a482b2
fix array tests
...
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
foobar
362fc4ee76
Add test for the index resetting.
2002-08-01 16:39:14 +00:00
foobar
ababdff402
Added tests for array_shift/array_pop.
2002-08-01 12:33:02 +00:00
Sander Roobol
9b6a8d2639
Fixed the array-tests. Broke the test up into various smaller tests.
...
Reduced the test data because it was unmanageable.
# I hope everything is ok :)
2002-03-26 18:17:38 +00:00
Sander Roobol
a15c9a31eb
Added tests for pow()'ing with broken exponents and some additional test
...
for count()'ing arrays.
2002-03-21 14:18:30 +00:00
Derick Rethans
39225a22b8
- Fix tests to work with CLI
...
#- Not totally done, but this makes it a lot better
2002-03-05 09:00:56 +00:00
Derick Rethans
aee570302f
- Fix bug introduced in earlier patch
2002-01-09 16:03:36 +00:00
Zak Greant
6823fb1fe7
Surprising how tests can fail when they don't have any supporting data :) Thanks for the catch Jan and Jim
2002-01-05 01:58:44 +00:00
Derick Rethans
ae07e93028
- Added test for recursive counting
2001-12-29 21:05:03 +00:00
Zak Greant
2c9f5d8a91
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!
2001-12-22 11:49:56 +00:00
Jeroen van Wolffelaar
5541451085
Add test for array_search and in_array
...
(should be expanded though)
2001-10-05 22:01:04 +00:00