Commit Graph

310 Commits

Author SHA1 Message Date
Rasmus Lerdorf
e965a7d95c Don't strip leading zeros on floating point numbers
and fix the test case
2009-04-09 16:08:34 +00:00
Rasmus Lerdorf
452f71b63c Fixed bug #44929 - Better handling of leading zeros
This is obviously not going to work for Unicode strings, but the whole
function needs to be rewritten, so keep it in synch with the other
branches for now.
2009-04-08 18:18:49 +00:00
Zoe Slattery
3efea3ac4c splitting array_chunk into smaller tests 2009-02-14 10:29:22 +00:00
Dmitry Stogov
b5c6e15ab8 Removed wrong warning message 2009-01-20 13:22:26 +00:00
Dmitry Stogov
2c2ba5c2c3 Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-20 11:23:04 +00:00
Antony Dovgal
d36dc698dd fix test 2009-01-07 21:23:01 +00:00
Felipe Pena
d23d2f358c - Fixed tests 2009-01-05 17:53:53 +00:00
Ant Phillips
4d3f948495 Revert to the previous version for these tests as they were overwritten by mistake (checked on Windows but not on Linux... so the six skipped tests may not work correctly... but they should be ok and I'll watch the test results). 2008-12-30 16:38:17 +00:00
Arnaud Le Blanc
3b0cd9f644 Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:06:16 +00:00
Ant Phillips
4021b612bf Remove duff comment produced by the test generator tool 2008-12-05 14:18:00 +00:00
Ant Phillips
8c0a7983db Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:11:03 +00:00
Johannes Schlüter
67115cdf6a One more cleanup after running tests 2008-12-03 20:30:35 +00:00
Ant Phillips
ba7bc0ace4 Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:29:17 +00:00
Iain Lewis
f27f49cf96 Adding tests for array_multisort 2008-12-01 17:10:14 +00:00
Arnaud Le Blanc
1064f9721b Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:13 +00:00
Iain Lewis
e512037ced Adding some tests for array_product 2008-11-24 17:36:44 +00:00
Sanjay Mantoor
2b1b26bf6d New testcases for array_intersect_uassoc function 2008-10-28 10:21:12 +00:00
Sanjay Mantoor
4d65d65ce7 New PHP testcases for array_diff_ukey function 2008-10-22 05:51:52 +00:00
Sanjay Mantoor
497e58ebf5 New testcases for array_diff_uassoc() function 2008-09-26 11:57:41 +00:00
Lars Strojny
7949c4d771 prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:24 +00:00
Sanjay Mantoor
5190b089be New testcases for array_intersect_key() function 2008-09-11 10:41:01 +00:00
Jani Taskinen
782c11a4e0 - Move the tests where they belong 2008-08-30 23:20:25 +00:00
Felipe Pena
15697830b4 - Fixed tests 2008-08-29 15:47:00 +00:00
Felipe Pena
a69b38f7e9 - Removed the undocumented object support in the leftover array functions [DOC]
(natcasesort, natsort, array_walk, array_walk_recursive, array_unique, array_key_exists)
- Changed HASH_OF() to Z_ARRVAL_P()
- Fixed bug #45937 (array_walk and array_walk_recursive can alter private/protected object variable)
2008-08-29 02:48:28 +00:00
Pierre Joye
17422e1f32 - +skip 2008-08-21 08:30:28 +00:00
Pierre Joye
0ce0493942 - MFB: skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:55 +00:00
Lars Strojny
fefef1621f Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:16 +00:00
Felipe Pena
d54a413912 - New parameter parsing API 2008-08-17 22:11:21 +00:00
Felipe Pena
f168ea0fb3 - New parameter parsing API (for min() and max()) 2008-08-10 17:49:30 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Felipe Pena
b1306465de - Fixed tests 2008-07-24 03:30:02 +00:00
Dmitry Stogov
c5031f96bb Added test for bug #45312 2008-06-19 12:10:00 +00:00
Steph Fox
833f4150a1 - killed off UEXPECT
- could someone please fix var_export2.phpt? NUL is corrupted, can't fix here
2008-05-26 23:36:10 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Felipe Pena
18fad25a77 - Fixed tests 2008-04-19 23:11:26 +00:00
Felipe Pena
b02063cf05 Fixed test 2008-03-19 14:55:58 +00:00
Felipe Pena
5056e34018 Fixed test 2008-03-19 14:45:24 +00:00
Felipe Pena
8ae1faf517 MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:21:30 +00:00
Zoe Slattery
1bc3797c3f Countable requires SPL 2008-03-08 17:15:18 +00:00
Felipe Pena
49114611bb FIxed tests (new error message - E_DEPRECATED) 2008-02-23 22:30:08 +00:00
Felipe Pena
482e4f2348 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:17:41 +00:00
Robert Nicholson
05824bab01 - bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters 2008-02-22 12:16:02 +00:00
Josie Messa
9c888c54cc - New tests for reset() function 2008-02-22 09:22:27 +00:00
Josie Messa
b0daabb4e3 - New tests for end() and next() function 2008-02-21 16:41:39 +00:00
Josie Messa
7b5a0bc42b - New tests for key() function 2008-02-21 14:36:15 +00:00
Josie Messa
cd5558b895 - New tests for current() function 2008-02-20 14:21:36 +00:00
Josie Messa
2f9709ecb6 - New tests for each() function 2008-02-19 17:03:11 +00:00
Josie Messa
8cccdb3af4 - New tests for natcasesort() function 2008-02-19 10:54:02 +00:00
Josie Messa
c5d7128a34 - changed UEXPECTF section 2008-02-19 09:37:50 +00:00