Commit Graph
329 Commits
Author SHA1 Message Date
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 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
Felipe Pena 1e17bb2aab - 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
Christopher Jones 3bdc7518a2 New current()/next() test 2010-05-20 17:55:58 +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