Commit Graph

409 Commits

Author SHA1 Message Date
Pierre Joye
a275c409c6 - skip on win 2011-12-12 14:02:06 +00:00
Pierre Joye
aa37291e20 - skip on win 2011-12-12 13:56:42 +00:00
Pierre Joye
02e898c9e0 - skip on win 2011-12-12 13:56:42 +00:00
Pierre Joye
ec9b8149e1 - skip on win 2011-12-12 13:53:38 +00:00
Pierre Joye
b02c751074 - skip on win 2011-12-12 13:53:38 +00:00
Pierre Joye
c0ba404054 - skip on win 2011-12-12 13:49:21 +00:00
Pierre Joye
df3c9a79fe - skip on win 2011-12-12 13:49:21 +00:00
Pierre Joye
1a7f05705f - skip on win 2011-12-12 13:34:21 +00:00
Pierre Joye
582363d9c8 - skip on win 2011-12-12 13:34:21 +00:00
Pierre Joye
a4ecf57a30 - skip on win 2011-12-12 13:31:43 +00:00
Pierre Joye
d15e57d5db - skip on win 2011-12-12 13:31:43 +00:00
Felipe Pena
60f338ef2c - Fixed tests 2011-12-01 14:15:22 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Arpad Ray
b52256c5be add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions 2011-08-29 20:23:34 +00:00
Adam Harvey
840308cfd0 Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Adam Harvey
187eb235fe Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Adam Harvey
f9721d03f7 Fix duplicated test. 2011-04-06 10:16:14 +00:00
Pierrick Charron
1368364469 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Pierrick Charron
e8486cc374 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Ilia Alshanetsky
9696faa790 Fixed bug 48484 (array_product() always returns 0 for an empty array). 2010-12-12 19:27:04 +00:00
Ilia Alshanetsky
82287511ad Fixed bug 48484 (array_product() always returns 0 for an empty array). 2010-12-12 19:27:04 +00:00
Felipe Pena
897f0b4c27 - Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Felipe Pena
93a4e0d1fa - Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
patch by: jorto at redhat dot com
2010-11-19 22:06:44 +00:00
Dmitry Stogov
d3b6fbe39b Fixed bug #52940 (call_user_func_array still allows call-time pass-by-reference). (cataphract@php.net) 2010-10-01 11:53:04 +00:00
Adam Harvey
f33837ff97 Implemented request #34857 (Change array_combine behaviour when called with
empty arrays). Patch by Joel Perras <joel.perras@gmail.com>.
2010-08-27 03:54:10 +00:00
Felipe Pena
1e17bb2aab - Fixed bug #52534 (var_export array with negative key) 2010-08-04 23:11:44 +00:00
Felipe Pena
3d2a6927c7 - Fixed bug #52534 (var_export array with negative key) 2010-08-04 23:11:44 +00:00
Dmitry Stogov
d24c14cb59 Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues) 2010-06-11 08:53:31 +00:00
Dmitry Stogov
d42dbb3bed Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory issues) 2010-06-11 08:53:31 +00:00
Dmitry Stogov
c5237d82bf Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties 2010-05-24 14:11:39 +00:00
Christopher Jones
3bdc7518a2 New current()/next() test 2010-05-20 17:55:58 +00:00
Christopher Jones
f291a1253d New current()/next() test 2010-05-20 17:55:58 +00:00
Felipe Pena
c4630c0da2 - Remove empty tests 2010-04-26 00:21:18 +00:00
Felipe Pena
0a6bcd44a7 - Removed allow_call_time_pass_reference (Pierrick) 2010-04-26 00:13:34 +00:00
Felipe Pena
fa76263481 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection) 2010-04-02 21:44:09 +00:00
Felipe Pena
a140e70661 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection) 2010-04-02 21:44:09 +00:00
Pierre Joye
1538f246f4 - nl fix 2010-01-24 14:41:47 +00:00
Pierre Joye
06674ee2c0 - \n or \r\n (phpt are text in svn) 2010-01-24 14:38:34 +00:00
Stanislav Malyshev
8b64f74baa proper fix for bug #50006
add modify protection to all user array sorts
2009-11-29 08:35:01 +00:00
Felipe Pena
be32cb2268 - Fixed bug #50006 (Segfault caused by uksort()) [5_2 only] 2009-11-01 17:30:55 +00:00
Zoe Slattery
0e4ce3bcca More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Stanislav Malyshev
d6ba6c69fb fix crash when unexpectedly passed by-ref parameter is modified 2009-08-18 20:51:49 +00:00
Rasmus Lerdorf
7bba051009 Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Zoe Slattery
9ff94c82df Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Alexey Zakhlestin
3e326b91e7 fix tests corrupted by svn's eol-style=native 2009-07-15 13:44:14 +00:00
Felipe Pena
fb235dc07f - MFH: Fixed bug #48854 (array_merge_recursive modifies arrays after first one) 2009-07-08 18:23:08 +00:00
andy wharmby
d73094aed4 Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:23 +00:00
Matt Wilmas
dca18b68d1 MFH: Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:15 +00:00
Matt Wilmas
a80be6827d MFH: Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:33 +00:00
Matt Wilmas
26cde1ee2f MFH: Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:25:06 +00:00
Christopher Jones
ad07803d23 MFH: New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:46:22 +00:00
Etienne Kneuss
bad0b796a8 MFB: Add test for #48224 2009-05-10 20:12:56 +00:00
Arnaud Le Blanc
54958dbc7c MFH 2009-04-24 17:14:32 +00:00
Zoe Slattery
c80613cce2 fixing incorrect --CLEAN-- sections 2009-04-16 10:54:45 +00:00
Rasmus Lerdorf
11a8e2e82e Fix the test case 2009-04-09 16:04:45 +00:00
Rasmus Lerdorf
70c7e179de Fixed bug #44929 - Better handling of leading zeros 2009-04-08 18:10:46 +00:00
Zoe Slattery
ca63494a39 splitting array_chunk into smaller tests 2009-02-14 10:32:26 +00:00
Zoe Slattery
db2f7c5559 remove UEXPECT 2009-02-13 22:01:28 +00:00
Dmitry Stogov
666bf10d1a Removed wrong warning message 2009-01-20 13:21:52 +00:00
Dmitry Stogov
d1958eeea8 Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-20 11:22:45 +00:00
Antony Dovgal
76548a8d1e MFH: fix test 2009-01-07 21:23:10 +00:00
Ant Phillips
f17c2db736 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:49:43 +00:00
Arnaud Le Blanc
2dd8d6ff94 MFH: Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:06:57 +00:00
Andrei Zmievski
568b146480 Fix tests, add NEWS entry. 2008-12-12 23:59:48 +00:00
Ant Phillips
fc8a260a92 Remove duff comment produced by the test generator tool 2008-12-05 14:18:02 +00:00
Ant Phillips
3ccae5954e Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 12:42:15 +00:00
Johannes Schlüter
cf4a811b57 MFH One more cleanup after running tests 2008-12-03 20:30:44 +00:00
Ant Phillips
2b1a411806 Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:32:53 +00:00
Iain Lewis
91ce2d5963 Adding tests for array_multisort 2008-12-01 16:42:13 +00:00
Arnaud Le Blanc
6a6289a90d MFH: Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:41 +00:00
Stanislav Malyshev
b2cd1a717a fix tests for array/object BC 2008-11-25 22:13:44 +00:00
Iain Lewis
28c1803bcf Adding some tests for array_product 2008-11-21 13:00:01 +00:00
Sanjay Mantoor
b73113d644 New testcases for array_intersect_uassoc function 2008-10-28 10:24:41 +00:00
Sanjay Mantoor
5a37a48082 New PHP testcases for array_diff_ukey function 2008-10-22 05:53:36 +00:00
Sanjay Mantoor
55039a95fd New testcases for array_diff_uassoc() function 2008-09-26 11:53:48 +00:00
Lars Strojny
fc9c3a17c6 MFH: prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:37 +00:00
Sanjay Mantoor
49eba8cb23 Fixed expected output 2008-09-11 11:21:53 +00:00
Sanjay Mantoor
313728200d New testcases for array_intersect_key() function 2008-09-11 10:48:12 +00:00
Jani Taskinen
5bdff73b26 MFH: - Move tests to the correct dir 2008-08-30 23:22:27 +00:00
Felipe Pena
b8541928cb - Fixed tests 2008-08-29 14:10:38 +00:00
Felipe Pena
42feeddd40 MFH:
- 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 03:05:43 +00:00
Pierre Joye
bb62bf8234 - +skip 2008-08-21 08:30:51 +00:00
Pierre Joye
72482c4f7d - skip on windows (setlocale can even crash on win+VC6...) 2008-08-21 08:27:04 +00:00
Lars Strojny
080157870f MFH: Allow mixed $initial (patch by Christian Seiler) 2008-08-20 20:35:40 +00:00
Felipe Pena
252d7d76a8 - MFH: New parameter parsing API 2008-08-17 22:14:14 +00:00
Josie Messa
ce5c43a1ed - Committing new array_diff_key tests for Sanjay Mantoor 2008-08-12 11:01:59 +00:00
Felipe Pena
f2fc267e3a - MFH: New parameter parsing API (for min() and max()) 2008-08-10 17:50:44 +00:00
Dmitry Stogov
af05ce0af6 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:04 +00:00
Dmitry Stogov
feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Dmitry Stogov
4961c0c412 Added test for bug #45312 2008-06-19 12:09:44 +00:00
Stanislav Malyshev
5e562853ff fix tests for builtin Zend functions using new parsing API 2008-06-18 23:45:36 +00:00
Matt Wilmas
fc6fa44097 Fixed tests on Windows 2008-05-29 07:32:03 +00:00
Felipe Pena
d90f689d73 - Making compatible with 64bit plataform 2008-05-18 15:42:09 +00:00
Felipe Pena
1e650ca32d - MFH: Fixed detection of invalid class name 2008-05-08 18:51:28 +00:00
Ilia Alshanetsky
f0563a2068 Fixed test 2008-04-14 23:17:30 +00:00
Felipe Pena
47badbe86b Remove accidental change 2008-03-19 03:15:56 +00:00
Felipe Pena
17c7463331 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:05:35 +00:00
Felipe Pena
766f62f026 Add SKIPIF (32bit platform only) 2008-03-14 23:15:47 +00:00
Felipe Pena
eea093b47c MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...) 2008-03-12 19:18:42 +00:00