Raghubansh Kumar
00926c8535
New testcases for array_pad() function
2007-12-03 11:56:39 +00:00
Raghubansh Kumar
91ea43e411
New testcases for array_chunk() function
2007-12-03 03:52:06 +00:00
Ilia Alshanetsky
6d4f019433
MFB: Fixed tests
2007-11-28 14:50:03 +00:00
Raghubansh Kumar
c3e74e2d84
Marked with defect
2007-11-28 03:46:25 +00:00
Raghubansh Kumar
83cfd0ce0e
New testcases for array_combine() function
2007-11-27 15:15:23 +00:00
Raghubansh Kumar
d08088df74
New testcases for array_sum() function
2007-11-27 14:57:55 +00:00
Raghubansh Kumar
9c78f2c08b
New testcases for sizeof() function
2007-11-16 17:52:26 +00:00
Raghubansh Kumar
87be9bfd14
fix tests: removed values that generate diff. output on Linux64
2007-11-16 17:11:01 +00:00
Raghubansh Kumar
185411fd0d
New testcases for uasort() function
2007-11-14 17:21:09 +00:00
Raghubansh Kumar
d2ac4233b0
New testcases for ksort() function
2007-11-12 15:49:29 +00:00
Raghubansh Kumar
8ff0f5d766
new testcases for krsort() function
2007-11-12 15:44:47 +00:00
Antony Dovgal
fcb4bfdcdf
fix test
2007-11-08 10:13:18 +00:00
Antony Dovgal
39c5922c3c
add missing 64bit version of the test
2007-11-08 10:06:52 +00:00
Antony Dovgal
c09a7e55b8
fix tests
2007-11-08 08:11:41 +00:00
Antony Dovgal
90da048857
fix tests
2007-11-07 12:05:55 +00:00
Jani Taskinen
a27600b42a
- Fixed bug #43196 (array_intersect_assoc() crashes with non-array input)
...
# Note: Same problem was with array_diff_assoc()
2007-11-06 13:26:24 +00:00
Jani Taskinen
9679ba6a3d
- nuke extra UEXPECTF
2007-11-06 12:09:12 +00:00
Raghubansh Kumar
57076f08dd
New testcases for asort() function
2007-11-05 16:34:54 +00:00
Raghubansh Kumar
6f39caa6f5
Fix test title
2007-11-05 16:19:55 +00:00
Raghubansh Kumar
deb8a46c7b
New testcases for sort() function
2007-11-05 15:17:10 +00:00
Raghubansh Kumar
7374d094b8
New testcases for array_intersect_assoc() function
2007-11-05 13:50:33 +00:00
Jani Taskinen
231fcedd03
MFB52: Fixed bug #41686
2007-11-02 10:50:33 +00:00
Jani Taskinen
52e3ca0b32
fix test
2007-11-01 12:00:59 +00:00
Robert Nicholson
8de1217c4d
update min_error and max_error testcases to take into account bug fix for bug#43125
2007-11-01 08:43:12 +00:00
Jani Taskinen
7bd01cbce2
- Fix typo (bug #43125 )
2007-10-31 13:39:00 +00:00
Raghubansh Kumar
1fc0e6ddbe
New testcases for shuffle() function
2007-10-27 12:24:06 +00:00
Raghubansh Kumar
0150849e42
New testcases for array_intersect() function
2007-10-27 12:13:05 +00:00
Robert Nicholson
dfda872d63
Remove unneeded INI sections
2007-10-26 16:10:16 +00:00
Raghubansh Kumar
2d8466b2af
more testcases for array_unshift() function
2007-10-26 11:52:59 +00:00
Robert Nicholson
94c63b3442
new testcases for array_splice
2007-10-26 11:06:31 +00:00
Robert Nicholson
eea1a4458c
new testcases for max and min
2007-10-26 10:57:59 +00:00
Raghubansh Kumar
ac26a3f893
more testcases for array_filter() function
2007-10-22 11:17:18 +00:00
Raghubansh Kumar
5a6c03eb73
New testcases for array_rand() function
2007-10-20 05:34:35 +00:00
Raghubansh Kumar
5d7aaf9798
New testcases for array_fill() function
2007-10-19 18:25:57 +00:00
Raghubansh Kumar
e9b634e0c4
New testcases for array_filter() function
2007-10-19 18:22:55 +00:00
Raghubansh Kumar
8b8d0541c2
New testcases for array_unshift() function
2007-10-19 09:19:57 +00:00
Raghubansh Kumar
ee89cea00b
New testcases for array_flip() function
2007-10-15 06:33:32 +00:00
Raghubansh Kumar
f36aae329a
New testcases for array_reverse() function
2007-10-15 06:23:27 +00:00
Raghubansh Kumar
db756ffc96
replaced by array_search_variation1.phpt, hence removed.
2007-09-22 06:57:42 +00:00
Raghubansh Kumar
1c35a6365e
update and split of testcases for functions array_search() and in_array()
2007-09-22 06:55:59 +00:00
Antony Dovgal
cd519f058c
plug leak on error (coverity issue #405 )
2007-09-21 13:50:47 +00:00
Antony Dovgal
ee8851dfda
split the test
2007-08-10 13:27:05 +00:00
Jani Taskinen
28cf1788a9
MFB: Fixed the fix for bug #42233 and added test for it.
2007-08-10 12:23:16 +00:00
Antony Dovgal
44d1ccca25
fix test
2007-07-13 17:15:12 +00:00
Antony Dovgal
6e5c6bbd26
add key values to the output
2007-07-13 17:07:33 +00:00
Antony Dovgal
d8354fe6ff
add 64bit version
2007-07-13 16:42:42 +00:00
Antony Dovgal
38283545ee
split one more huge test into several smaller ones
2007-07-13 16:39:55 +00:00
Antony Dovgal
2c0bd79e91
fix test, add 64bit version
2007-07-13 16:07:42 +00:00
Antony Dovgal
c601b252a0
fix %u in Unicode mode
2007-07-13 15:52:38 +00:00
Dmitry Stogov
89aef801cf
Fixed tests
2007-07-11 12:57:55 +00:00
Dmitry Stogov
e51458cd76
Fixed test
2007-07-10 15:19:13 +00:00
Dmitry Stogov
18f8b258b9
Fixed test
2007-07-09 15:27:58 +00:00
Antony Dovgal
d4dcb545a7
more smaller tests
2007-06-28 16:05:51 +00:00
Antony Dovgal
3fcda7c0a7
divide array_search.phpt into several smaller tests
2007-06-28 15:26:55 +00:00
Antony Dovgal
0f47d4b28c
MFB
2007-06-28 15:11:13 +00:00
Antony Dovgal
d6940afe0b
more smaller tests
2007-06-28 15:04:16 +00:00
Antony Dovgal
03c8220ecc
divide the test into several smaller ones
2007-06-28 14:51:25 +00:00
Dmitry Stogov
f5b083dc3d
Fixed test
2007-06-18 07:45:24 +00:00
Brian Shire
5361f1838b
MFB: fix sprintf/printf %u tests so they work correctly on both 32-bit and 64-bit. (broken in previous fix)
2007-06-04 01:23:22 +00:00
Ilia Alshanetsky
16c9af1c7d
MFB
2007-05-29 20:11:23 +00:00
Antony Dovgal
deba560f57
fix test
2007-05-29 12:17:37 +00:00
Antony Dovgal
857834365b
fix tests in unicode mode
2007-05-29 12:10:20 +00:00
Zoe Slattery
36de378220
Updated range() test
2007-05-16 21:10:57 +00:00
Antony Dovgal
5955f884b9
fix tests, add UEXPECTF
2007-05-14 13:05:29 +00:00
Raghubansh Kumar
c7cec34d11
New version of 005.phpt, array_keys.phpt, array_values.phpt, extract.phpt, 009.phpt, array_map.phpt, each.phpt, array_change_key_case.phpt, array_pop.phpt, end.phpt, array_key_exists.phpt, array_search.phpt, extract.php
2007-05-12 11:20:52 +00:00
Antony Dovgal
2d087e6deb
fix tests
2007-05-07 22:33:39 +00:00
Antony Dovgal
ccd97f3a21
fix test names
2007-05-07 17:23:53 +00:00
Antony Dovgal
419c5b3db1
fix tests
...
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Antony Dovgal
65e565a08e
fix tests
2007-04-20 21:13:45 +00:00
Zoe Slattery
904042bb83
new tests: array_merge, array_push, fprintf. modified tests: count_recursive, md5.
2007-04-11 11:44:37 +00:00
Stanislav Malyshev
023531f76c
Fix UMR in array_user_key_compare() (MOPB24 by Stefan Esser)
2007-03-16 20:16:05 +00:00
Zoe Slattery
16507b73cd
New test case for array_slice
2007-03-07 13:22:26 +00:00
Antony Dovgal
131a79ea25
add skipif
2007-01-22 08:21:45 +00:00
Antony Dovgal
d181d3a0b3
fix #40191 (use of array_unique() with objects triggers segfault)
2007-01-22 08:16:36 +00:00
Ilia Alshanetsky
0b145dcb90
MFB: Fixed test for 64bit systems
2006-12-25 21:08:10 +00:00
Hannes Magnusson
2d0d09830c
Fix tests
2006-12-22 01:20:24 +00:00
Brian Shire
3b4c2e0458
-Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
...
# appoligies, I did this in reverse (applied to PHP_5_2) I should have MFH.
2006-12-19 08:02:48 +00:00
Antony Dovgal
8f98226510
fix tests
2006-12-06 13:11:02 +00:00
Antony Dovgal
024d8f4376
cosmetic improvements
2006-12-05 23:03:42 +00:00
Antony Dovgal
5f29b8e40e
fix #39576 (array_walk() doesn't separate userdata zval)
2006-11-22 10:58:11 +00:00
Antony Dovgal
1063fa6a90
add new tests
2006-11-15 22:42:28 +00:00
Antony Dovgal
37754b437f
fix memory leak and typo in zend_parse_parameters(), which caused segfault
...
add test
2006-11-15 22:09:25 +00:00
Hannes Magnusson
6d22129d9b
Fixed bug#36975 (natcasesort() causes array_pop() to misbehave)
2006-11-12 01:11:58 +00:00
Dmitry Stogov
edad4f460c
Fixed tests
2006-11-09 08:29:37 +00:00
Ilia Alshanetsky
7ebb315ea9
MFB: fixed tests
2006-11-07 20:26:35 +00:00
Hannes Magnusson
6d5c5bce5a
Fix test
2006-10-08 20:06:04 +00:00
Antony Dovgal
f17a799f86
fix test name
2006-09-28 22:01:46 +00:00
Antony Dovgal
591477b143
support objects in array_walk*()
...
add new tests, fix old ones
2006-09-19 09:33:02 +00:00
Antony Dovgal
cb7a7995b6
fix #34066 (recursive array_walk causes segfault)
...
add tests
2006-09-19 09:02:39 +00:00
Antony Dovgal
ffe419fefc
add new tests, increase code coverage
2006-09-07 11:47:57 +00:00
Ilia Alshanetsky
803b3f4d77
MFB: Fixed bug #38464 (array_count_values() mishandles numeric strings).
2006-09-06 17:31:47 +00:00
Antony Dovgal
f56a71c63c
fix tests to be able to run just .phpt's
2006-08-08 22:01:24 +00:00
Antony Dovgal
9c125e6911
fix tests
2006-08-08 20:17:31 +00:00
Antony Dovgal
664ed4959e
fix test
2006-08-08 20:13:27 +00:00
Marcus Boerger
adc5a7f087
- Update array_fill_keys, better unicode support, use new param parsing API
2006-07-15 12:06:10 +00:00
Marcus Boerger
da5c076100
- Add array_fill_keys() (Matt W, php_lists at realplain com)
2006-07-15 10:10:47 +00:00
Andrei Zmievski
246585490b
Add test for compact().
2006-07-14 23:04:58 +00:00
Antony Dovgal
8db69d4005
add new tests by Ligaya Turmelle
2006-07-11 21:28:07 +00:00
Antony Dovgal
12a2d02b99
fix tests
2006-06-01 13:04:10 +00:00
Marcus Boerger
c627a4819b
- Add more tests from Ligaya Turmelle
2006-05-23 23:45:39 +00:00
Antony Dovgal
bd6125c312
add new tests by Ligaya Turmelle
2006-05-19 07:44:58 +00:00
foobar
6af3218f81
more cleanup (lingering ini settings which do not exist anymore, etc.)
2006-04-10 15:09:15 +00:00
Dmitry Stogov
9d7ca01c8b
Dropped allow_call_time_pass_reference, the error is maden E_STRICT.
2006-03-16 11:32:00 +00:00
Dmitry Stogov
b029407078
fixed test file
2006-02-22 12:24:02 +00:00
Dmitry Stogov
36002f16c3
Fixed test file
2006-02-22 12:22:07 +00:00
Antony Dovgal
0b9213d82b
fix tests
2006-01-06 21:21:09 +00:00
Antony Dovgal
38722a19c1
add test for #35821
2005-12-27 22:35:18 +00:00
Antony Dovgal
f39eed623d
MF51: fix test, add new one
2005-12-16 15:52:54 +00:00
Dmitry Stogov
25d6294650
Fixed test
2005-12-07 14:32:42 +00:00
foobar
aeb5830c20
MFB: fixed test
2005-11-01 22:42:03 +00:00
Ilia Alshanetsky
61c8e857e4
MFB51: Fixed bug #35022 , #35019 (Regression in the behavior of key/current
...
functions).
2005-10-30 18:04:20 +00:00
Ilia Alshanetsky
1321658d91
MFB51: Fixed bug #35014 (array_product() always returns 0).
2005-10-30 13:46:34 +00:00
Dmitry Stogov
6ca72e6ea5
Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope)
2005-10-28 10:06:53 +00:00
Dmitry Stogov
47893ed920
Reverted fix for bug #34934 . The bug marked as bogus.
2005-10-24 07:01:43 +00:00
Dmitry Stogov
02090106d8
Fixed bug #34934 (offsetExists is not called from array_key_exists)
2005-10-21 15:20:30 +00:00
Derick Rethans
194e2dd081
- MF51: Fixed bug #29361 (var_export() producing invalid code).
2005-10-17 15:03:12 +00:00
Antony Dovgal
2cf16cf942
fix test
2005-10-05 09:00:14 +00:00
Derick Rethans
161777af26
- Reimplement SORT_LOCALE_STRING with ICU locales.
2005-09-12 09:53:23 +00:00
Dmitry Stogov
176a76dbec
MFH
2005-09-01 13:03:48 +00:00
Dmitry Stogov
cbd1c89e81
Fixed bug #34277 (array_filter() crashes with references and objects)
2005-09-01 11:58:41 +00:00
Dmitry Stogov
263d919a20
Unicode support for range()
2005-08-17 15:12:03 +00:00
Dmitry Stogov
6d62ccc769
Unicode support
2005-08-17 14:01:06 +00:00
Dmitry Stogov
7b7a4aac86
Unicode support
2005-08-16 09:25:04 +00:00
Dmitry Stogov
08fe0d1da3
Test engine is improved to support unicode mode
2005-08-15 14:37:55 +00:00
Dmitry Stogov
0bdfac1169
Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode)
2005-08-15 07:55:41 +00:00
foobar
8429f174b8
fix test
2005-08-11 23:50:04 +00:00
Dmitry Stogov
b03e53836e
Fixed bug #33940 (array_map() fails to pass by reference when called recursively)
2005-08-10 08:23:39 +00:00
Dmitry Stogov
655e19326d
Fixed bug #29253 (array_diff with $GLOBALS argument fails)
2005-08-10 07:43:16 +00:00
Dmitry Stogov
98e70ab585
Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP)
2005-08-04 10:34:39 +00:00
foobar
be10050d8f
Added test for bug #25359
2005-07-30 13:37:57 +00:00
Dmitry Stogov
1d33a3e95e
Fixed bug #31158 (array_splice on $GLOBALS crashes)
2005-07-04 10:01:10 +00:00
foobar
8566f52297
"64M should be enough for everyone." -- Jani, 2005 :)
2005-06-22 12:54:04 +00:00
foobar
f2ddefcc56
- This is no bug.
2005-06-18 02:06:31 +00:00
Antony Dovgal
8d2dd7901c
add news entry and test for bug #33382
2005-06-17 10:53:15 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
Antony Dovgal
36d13eb7c9
add testcase for bug #30833
2005-04-13 08:23:39 +00:00
foobar
a075b651be
Added SKIPIF
2005-03-22 16:03:10 +00:00
foobar
77910ec63f
Addded test for locale aware sort
2005-03-22 15:38:25 +00:00
Marcus Boerger
e38141478a
- Check another incarnation of bug #30266
2005-03-19 14:24:17 +00:00
Derick Rethans
ff1687731d
- Fixed bug #32021 : Crash caused by range('', 'z')
2005-02-18 13:37:23 +00:00
Moriyoshi Koizumi
88ce94a3c2
- Add testcases for bug #29493 and #31213 .
2005-01-02 06:51:03 +00:00
Derick Rethans
13c2cbb515
- MF43: Fixed bug #31072 (var_export() does not output an array element with an
...
empty string key). (Derick)
2004-12-17 14:40:39 +00:00
Antony Dovgal
b6b8bf0010
fix array_walk_recursive() so it doesn't reuse cached fci between calls
...
and add test for it
2004-12-03 17:43:23 +00:00
Marcus Boerger
bb77132391
- Add new test
2004-10-04 17:53:55 +00:00
Andrey Hristov
5e5d2640fb
add array_:
...
intersect_key()
intersect_ukey()
diff_key()
diff_ukey()
The first two by a patch of Cristiano Duarte. The second two were
implemented in almost the same way except one small difference.
2004-07-21 21:17:56 +00:00
Andrey Hristov
0eef82a733
fixing bug #28974 : overflow in array_slice()
...
The same kind of overflow appeared in array_splice(), substr() and
substr_replace()
2004-07-11 21:15:04 +00:00
Andrey Hristov
268d3d7ba3
fixing bug #28739
...
array_*diff() and array_*intersect() not clearing the fci cache before work.
FCI call cache was introduced in HEAD. All functions that perform sorting
of arrays clear the fci cache before work. array_*diff() and\ array_*intersect()
were somehow missed to be updated.
2004-07-11 19:20:05 +00:00
Andrey Hristov
44de5a0e8e
fixing the tests so to work with the new var_dump() (dumping private and
...
protected member variables)
2004-05-20 21:13:14 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Ilia Alshanetsky
c85843aec1
MFB: Revert patch for bug #27782 .
2004-04-01 22:07:42 +00:00