Commit Graph

1288 Commits

Author SHA1 Message Date
Antony Dovgal
dff9a32350 MFH: fix tests 2008-03-20 08:35:44 +00:00
David Soria Parra
6d66530ae9 MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:52:46 +00:00
Steve Seear
5e0afe8eb9 Adding streams tests 2008-03-19 17:38:23 +00:00
Steve Seear
9071a478b5 Adding filesystem tests 2008-03-19 17:25:47 +00:00
Antony Dovgal
8b5524e2fe fix test 2008-03-19 12:36:09 +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
Robin Fernandes
bd9e026951 Adding more tests for serialize() and unserialize(). 2008-03-18 15:11:48 +00:00
Nuno Lopes
25e6cd1a38 remove duplicated sections 2008-03-17 17:19:48 +00:00
Antony Dovgal
74bfe1c3fa fix test 2008-03-17 15:35:32 +00:00
Marcus Boerger
af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +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
Felipe Pena
e0de453954 Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:40:57 +00:00
Josie Messa
e897db28bf - Fix test 2008-03-11 10:17:51 +00:00
Josie Messa
f5d9a8ea42 - Added extra whitespace around error messages in expected output 2008-03-11 10:00:26 +00:00
Felipe Pena
1db52c1c5f Fix tests (new error message for void parameters) 2008-03-10 23:14:11 +00:00
Felipe Pena
9324869ef5 Fix tests (new error message for void parameters) 2008-03-10 22:17:59 +00:00
Josie Messa
705435eb9e - New tests for getcwd() function 2008-03-10 15:22:47 +00:00
Josie Messa
1d4f18734f - Modified expected output to allow tests to work on all platforms 2008-03-10 15:10:32 +00:00
Josie Messa
794955ce85 - New tests for scandir() function 2008-03-10 14:12:41 +00:00
Etienne Kneuss
e9a6f0f24a MFH: User error handlers no longer catch supressed errors 2008-03-08 22:12:32 +00:00
Greg Beaver
2801e87a55 fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:34 +00:00
Greg Beaver
b6d53c51e8 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:25 +00:00
Josie Messa
8e3192aed8 - Tests awaiting fix of bug #44246 2008-03-07 16:20:16 +00:00
Josie Messa
d19f3990e3 - New tests for rewinddir() function 2008-03-07 16:12:03 +00:00
Josie Messa
37ca3ca2b5 - New tests for closedir() function 2008-03-07 16:00:24 +00:00
Greg Beaver
1dac2d21a8 test was failing because I had a file named 1 in the checkout directory
# note to tests writers: never assume anything about directory
# contents.
2008-03-07 04:14:53 +00:00
Robin Fernandes
ee0f7bc0ac Add new tests for class/object functions and features. 2008-03-06 11:02:37 +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
Jani Taskinen
f6406ae6e9 - Fix test when register_globals=On in php.ini 2008-03-05 12:12:09 +00:00
Josie Messa
08d2ac2ea6 - new tests for readdir() function 2008-03-04 17:09:24 +00:00
Antony Dovgal
14ec6f623b MFH 2008-03-04 11:16:31 +00:00
Josie Messa
99defe9f52 - new tests for opendir() function 2008-03-04 10:40:36 +00:00
Felipe Pena
3f40f96c50 Fixed tests 2008-02-26 13:38:43 +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
Felipe Pena
a9f5ad7e87 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:54:57 +00:00
Steve Seear
ad3af52712 Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:31:17 +00:00
Felipe Pena
afd2623ee7 Fixed test 2008-02-24 11:27:26 +00:00
Marcus Boerger
d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +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
Felipe Pena
d44f4cb17b Fix test (new parameter parsing) 2008-02-21 17:47:33 +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
Etienne Kneuss
12bd169f24 MFH: Fix inconcistencies between substr and substr_compare 2008-02-13 17:02:16 +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
Josie Messa
4546084866 - committing tests for array_merge() function 2008-02-13 14:20:58 +00:00
Josie Messa
6b522fdd50 - committing tests for array_key_exists() function 2008-02-13 13:16:21 +00:00
Hannes Magnusson
59498c8c5a Fix test 2008-02-12 20:05:29 +00:00
Josie Messa
b46602c028 - committing array_change_key_case variation tests 2008-02-12 17:44:50 +00:00
Zoe Slattery
5932b49990 Fixing 44092 2008-02-12 07:15:40 +00:00
Felipe Pena
d4dbddd2be New test 2008-02-12 01:19:48 +00:00
Ilia Alshanetsky
70e913bdad Fixed test on 64bit machines 2008-02-11 16:02:46 +00:00
Johannes Schlüter
5054799bd2 MFH: The exact message differs on different systems 2008-02-10 23:37:03 +00:00
Jani Taskinen
7e00a410b3 fix test 2008-02-07 13:44:50 +00:00
Marcus Boerger
b7b41a6612 - MFH Fix missing check and tests 2008-02-06 20:40:19 +00:00
Zoe Slattery
a6fe8d8ca7 Fixing 32 bit specific 2008-02-06 09:36:58 +00:00
Zoe Slattery
a111cabedc Tests for assorted Maths functions 2008-02-06 08:44:24 +00:00
Marcus Boerger
f23526528e - MFH Add new test 2008-02-05 19:08:42 +00:00
Robert Nicholson
178839f667 - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:19:17 +00:00
Jani Taskinen
8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Robert Nicholson
a9418da4fc - added some new tests for arsort 2008-02-04 00:05:24 +00:00
Marcus Boerger
1cc463b88a - Fix tests 2008-02-02 15:19:06 +00:00
Marcus Boerger
02b13cdd8a - Fix the expectations. Tests still fails because of something else. 2008-02-02 14:37:29 +00:00
Marcus Boerger
30eb2dcabf - MFH Fix tests 2008-02-02 13:33:41 +00:00
Rasmus Lerdorf
0530f9e327 Countable requires SPL 2008-02-02 09:53:44 +00:00
Felipe Pena
5b0a79cfba Fix tests (new error message) 2008-02-02 03:15:46 +00:00
Felipe Pena
e88c5b082b Fix tests (new error message) 2008-02-02 03:00:57 +00:00
Felipe Pena
d34f0a08f8 Fix tests (new error message) 2008-02-02 02:45:44 +00:00
Felipe Pena
8241db1b21 Fix tests (new error message) 2008-02-02 02:36:08 +00:00
Felipe Pena
0588ddce2a Fix tests (new error message) 2008-02-02 02:29:27 +00:00
Rasmus Lerdorf
c075476810 Another batch of fixed tests 2008-02-02 01:51:17 +00:00
Felipe Pena
17e1a396c1 Ops, fix the fix 2008-02-02 01:48:29 +00:00
Felipe Pena
315f534c02 Fix tests (new error message) 2008-02-02 01:40:45 +00:00
Rasmus Lerdorf
54e98bbb97 Fix a few more tests 2008-02-02 01:31:18 +00:00
Rasmus Lerdorf
1ee260b121 Fix test and convert to UNIX line endings 2008-02-02 01:01:04 +00:00
Rasmus Lerdorf
b9954bef45 Fix some tests 2008-02-02 00:29:17 +00:00
Antony Dovgal
b4b0816578 fix test, add 64bit version 2008-02-01 23:19:16 +00:00
Zoe Slattery
84be2df52a A few new tests for math functions - Note the "constants" test will fail on Windows - Bug 42143. 2008-02-01 17:21:18 +00:00
Felipe Pena
8c76a00f93 New tests and fix tests (new error message) 2008-02-01 13:41:19 +00:00
Rasmus Lerdorf
3275f1b057 There are plenty of other non-Windows operating systems 2008-01-31 18:31:54 +00:00
Zoe Slattery
1e29793386 Removing superfluous --INI-- section 2008-01-30 17:50:38 +00:00
Dmitry Stogov
382f1dddfa Fixed bug #43505 (Assign by reference bug) 2008-01-29 10:45:07 +00:00
Robert Nicholson
1d6ac15b3d - MFH compact_variation1.phpt - fix for bug #29044 2008-01-29 08:50:43 +00:00
Antony Dovgal
89273e1482 add test 2008-01-28 23:07:45 +00:00
Nuno Lopes
500ee29e6c be more strict in the skipif 2008-01-27 16:54:22 +00:00
Nuno Lopes
d16f4cad0a fix a bunch of SKIPIF (check for non available locales) 2008-01-27 16:45:43 +00:00
Robert Nicholson
be2ae4e76f - Add a basic test for array_shuffle() 2008-01-25 00:32:22 +00:00
Robert Nicholson
3b8256dce4 - add some basic tests for array diff and intersection functions 2008-01-25 00:13:49 +00:00
Robert Nicholson
c09d8d931f - New tests for compact() 2008-01-24 14:51:20 +00:00
Antony Dovgal
67c8d8d95e MFH: fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe
2008-01-23 12:09:52 +00:00
Antony Dovgal
8d2ad5c12b add new test 2008-01-22 15:42:36 +00:00
David Coallier
a3c09d611c - MFH (lcfirst())
- Initial test for lcfirst
2008-01-19 19:27:22 +00:00
David Coallier
516a9c15d6 - Making sure the tests are not failing after modifications to the new
zend-parsing-parameters in ucfirst()
2008-01-16 12:56:20 +00:00
Brian Shire
82874e094b MFH: Fix bug #42850 array_walk_recursive() leaves references, refix bug #34982 2008-01-14 22:09:52 +00:00
Greg Beaver
7c1952c863 MFH: clarify error message on why opening a stream wrapper failed for allow_url_include/allow_url_fopen, add test for allow_url_fopen 2008-01-12 15:50:57 +00:00
Dmitry Stogov
ed8e2fa031 Added missing warning message 2008-01-10 09:38:23 +00:00
Raghubansh Kumar
0b26f6fe7e New testcases for array_diff() function 2008-01-04 14:02:27 +00:00
Raghubansh Kumar
7dc36cff7c New testcases for array_diff_assoc() function 2008-01-04 14:01:45 +00:00
Raghubansh Kumar
59558b73cb this testcase has been split into many smaller testcases and committed. 2008-01-03 09:46:00 +00:00
Raghubansh Kumar
4cadbee716 new smaller testcases for array_map() function 2008-01-03 09:43:45 +00:00
Hannes Magnusson
b9c22f2b1e MFB5.2: Fix test 2007-12-29 11:38:24 +00:00
Antony Dovgal
611bd33689 fix test 2007-12-29 10:32:52 +00:00
Dmitry Stogov
0d88ad9b96 Added 64-bit tests (Serg) 2007-12-27 11:39:01 +00:00
Raghubansh Kumar
a47bf2d36a fix test : do not run when run as root 2007-12-25 16:15:34 +00:00
Dmitry Stogov
ed5a424b4f Additional fix for bug #42868 2007-12-24 18:09:50 +00:00
Raghubansh Kumar
7c75fe7b8c new testcases for dir() function 2007-12-24 05:19:42 +00:00
Raghubansh Kumar
8204525427 fix tests 2007-12-24 04:27:55 +00:00
Dmitry Stogov
d27e5cd152 Fixed test 2007-12-21 09:40:27 +00:00
Raghubansh Kumar
e15fb3853a fix tests 2007-12-20 17:27:13 +00:00
Robert Nicholson
9e8f7a00e3 new tests for array_map usage variations - string keys and references 2007-12-20 11:18:34 +00:00
Raghubansh Kumar
1ccf0ba714 fix test 2007-12-19 10:39:10 +00:00
Derick Rethans
9541a66cb8 - MFH: Fixed var_export() for array keys
- MFH: Fixed broken explode() test
2007-12-18 10:53:39 +00:00
Raghubansh Kumar
f5f92c1940 fix tests 2007-12-17 13:02:27 +00:00
Dmitry Stogov
2b981769a3 Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery) 2007-12-17 10:02:13 +00:00
Ilia Alshanetsky
b0d7f9c3ee WS 2007-12-16 17:28:57 +00:00
Dmitry Stogov
d8afc7ad37 Fixed test 2007-12-13 07:57:39 +00:00
Ilia Alshanetsky
2199624ad1 WS 2007-12-11 18:30:01 +00:00
Raghubansh Kumar
b1f1baba4d New testcases for array_walk_recursive() function 2007-12-11 10:45:50 +00:00
Raghubansh Kumar
b2def646b6 New testcases for array_walk() function 2007-12-11 10:45:25 +00:00
Jani Taskinen
9a4de086cb MFH: - Fixed bug #43541 2007-12-11 09:47:21 +00:00
Raghubansh Kumar
5ce6116777 New testcases for array_merge_recursive() function 2007-12-11 09:07:41 +00:00
Ilia Alshanetsky
b9e4413962 Fixed bug #43522 (stream_get_line() eats additional characters) 2007-12-10 14:16:58 +00:00
Derick Rethans
fdafd5cf81 - MFH: Fixed Bug #42272 (var_export() incorrectly escapes char(0)). 2007-12-09 16:54:52 +00:00
Raghubansh Kumar
ccb0f19d1c new testcases for array_unique() function 2007-12-09 14:41:10 +00:00
Ilia Alshanetsky
2352647f1f WS 2007-12-06 15:23:36 +00:00
Ilia Alshanetsky
98bfa2ac74 Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays) 2007-12-05 19:55:31 +00:00
Raghubansh Kumar
b70d00a648 fix tests : better float values 2007-12-03 13:03:31 +00:00
Raghubansh Kumar
6121702d04 New testcases for array_pad() function 2007-12-03 12:51:56 +00:00
Raghubansh Kumar
fdae976d58 fix tests: better float values 2007-12-03 12:02:29 +00:00
Raghubansh Kumar
1eae97fbb9 New testcases for array_chunk() function 2007-12-03 03:54:11 +00:00
Derick Rethans
2ac81c2e6e - MFH: Fixed a segfault when reading from an HTTP stream. 2007-11-29 12:28:15 +00:00
Ilia Alshanetsky
f6853cccbd Fixed tests 2007-11-28 14:49:20 +00:00
Raghubansh Kumar
504e223d83 Marked with defect 2007-11-28 03:44:52 +00:00