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
Jani Taskinen
33af2eb4dc
- Fix tests (allow_call_time_pass_reference might be off for properly configured sites.. :)
2008-03-05 15:37:48 +00:00
Josie Messa
40a4cf4fea
- committed chdir() tests in wrong directory
2008-02-26 09:34:29 +00:00
Josie Messa
f13562aa66
- New tests for chdir() function
2008-02-26 09:34:28 +00:00
Robert Nicholson
6ca51e664d
- bug #44212 array_diff_assoc_error.phpt should expect warnings for missing parameters
2008-02-22 12:14:58 +00:00
Josie Messa
116ae80376
- New tests for reset() function
2008-02-22 09:19:56 +00:00
Josie Messa
2151ce6ba9
- New tests for end() and next() function
2008-02-21 16:39:02 +00:00
Josie Messa
e864044411
- New tests for key() function
2008-02-21 14:34:41 +00:00
Josie Messa
21324e9a69
- New tests for current() function
2008-02-20 14:20:31 +00:00
Josie Messa
f4dc0f293d
- New tests for each() function
2008-02-19 17:02:27 +00:00
Josie Messa
23e18f966b
- New tests for natcasesort() function
2008-02-19 10:53:10 +00:00
Felipe Pena
41c95c7d15
Fix the fix
2008-02-17 01:11:04 +00:00
Felipe Pena
8d914d4bcd
Fix test
2008-02-17 01:03:19 +00:00
Felipe Pena
f3b2a87691
Fix test
2008-02-16 16:35:39 +00:00
Josie Messa
73004ae4b0
- New tests for rsort() function
2008-02-15 16:06:38 +00:00
Antony Dovgal
2fb4ea9c4f
MFH
2008-02-15 09:35:53 +00:00
Josie Messa
0430464b11
- New tests for count() function
2008-02-14 16:49:58 +00:00
Ilia Alshanetsky
e2c5bdae51
Fixed test on 64bit machines
2008-02-14 16:29:45 +00:00
Josie Messa
d972e43b1d
- New tests for array_values() function
2008-02-14 14:22:43 +00:00
Felipe Pena
fcb243f6e7
New test
2008-02-14 13:50:36 +00:00
Josie Messa
786746cb07
- New tests for array_slice() function
2008-02-14 11:17:36 +00:00
Josie Messa
a74685ea0d
- New tests for array_shift() function
2008-02-13 16:42:17 +00:00
Josie Messa
f32e65988c
- New tests for array_push() function
2008-02-13 16:12:48 +00:00