Commit Graph

6030 Commits

Author SHA1 Message Date
Ilia Alshanetsky
c22a23ccd5 MFB: Added a warning message 2008-03-30 15:06:07 +00:00
Felipe Pena
223b7349a0 MFB: Fixed bug #44564 (escapeshellarg removes UTF-8 multi-byte characters) 2008-03-30 12:27:37 +00:00
Felipe Pena
4a5536a033 - Fixed bug #44533 (floatval() issues E_NOTICE "non well formed numeric value")
(Keep the old behavior, as other related functions)
2008-03-29 22:02:20 +00:00
Jani Taskinen
366581789f MFB: fix test 2008-03-27 15:06:16 +00:00
Dmitry Stogov
977cc79398 Added ability to use stream wrappers in include_path 2008-03-27 10:33:52 +00:00
Steve Seear
d08d2d7ee4 Adding tests for gethostbyaddr() and gethostbynamel() 2008-03-26 18:16:55 +00:00
Scott MacVicar
56352d1a2f MFB 5.3: Rest of the changes for re2c merge 2008-03-26 14:46:17 +00:00
Ilia Alshanetsky
1ad9e6e1d0 MFB: Fixed test on systems where . and .. order not guaranteed 2008-03-24 18:34:44 +00:00
Dmitry Stogov
824fa7ad54 Fixed tests (file order is undefined, so we need to sort() them) 2008-03-24 09:00:41 +00:00
Felipe Pena
b859ca7770 - Fixed compilation warnings 2008-03-22 20:37:08 +00:00
Marcus Boerger
34898339b5 - Add new test 2008-03-21 15:18:18 +00:00
Antony Dovgal
e128a1d885 fix ZTS build 2008-03-21 08:28:09 +00:00
Ilia Alshanetsky
b986dfaaae MFB: Refine fix for multibyte char hanling inside command names and args 2008-03-20 23:26:01 +00:00
Antony Dovgal
a81de7c7a1 expect->expectf 2008-03-20 12:13:57 +00:00
Antony Dovgal
9b1c720c3d fix tests (tcp_socket is tcp_socket/ssl when/if openssl is enabled) 2008-03-20 08:35:11 +00:00
David Soria Parra
a19e28ece9 Fix bug #44487 (call_user_method_array issues a warning when throwing an exception). 2008-03-20 00:50:47 +00:00
Steve Seear
77f4934103 Adding streams tests 2008-03-19 17:38:20 +00:00
Steve Seear
b4f5622904 Adding filesystem tests 2008-03-19 17:26:36 +00:00
Felipe Pena
c604a1933c Cosmetic 2008-03-19 15:34:38 +00:00
Felipe Pena
d321bfba65 Fixed test 2008-03-19 15:22:59 +00:00
Felipe Pena
0e27741364 Fixed tests 2008-03-19 15:13:12 +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
Antony Dovgal
da036996be make use of zend_atol() 2008-03-19 12:40:48 +00:00
Antony Dovgal
4ce259fc1a fix test 2008-03-19 12:36:00 +00:00
Felipe Pena
f0c4283f47 MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data) 2008-03-19 03:12:39 +00:00
Robin Fernandes
da591e8eca Adding more tests for serialize() and unserialize(). 2008-03-18 15:12:42 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
Felipe Pena
2c7b9a55cb Fix build 2008-03-18 00:37:35 +00:00
Stanislav Malyshev
8a6c836497 fix integer overflow in lenght calculation 2008-03-17 23:07:55 +00:00
Ilia Alshanetsky
8b32865ffc MFB: Properly address incomplete multibyte chars inside escapeshellcmd() 2008-03-17 23:02:35 +00:00
Antony Dovgal
a8127d612d fix test 2008-03-17 15:35:25 +00:00
Felipe Pena
ba05723fd9 Sync with fix for #44394 2008-03-12 19:35: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
Felipe Pena
1fe7347fed MFB: Fixed bug #44394 (Last two bytes missing from output) 2008-03-12 02:45:15 +00:00
Josie Messa
09c316399b - Added extra whitespace around error messages in expected output 2008-03-11 10:20:06 +00:00
Josie Messa
f30035ea79 - New tests for getcwd() function 2008-03-10 15:24:14 +00:00
Josie Messa
49b8c820e6 - Modified expected output to allow tests to work on all platforms 2008-03-10 15:19:59 +00:00
Josie Messa
1fd345c31c - New tests for scandir() function 2008-03-10 14:16:32 +00:00
Etienne Kneuss
2660bd1de9 User error handlers no longer catch supressed errors 2008-03-08 22:17:32 +00:00
Greg Beaver
b0595a7bab fix tests if allow_url_fopen is disabled in php.ini 2008-03-08 19:12:41 +00:00
Greg Beaver
5faf5f8b87 fix test if allow_url_fopen is disabled in php.ini 2008-03-08 19:08:52 +00:00
Zoe Slattery
1bc3797c3f Countable requires SPL 2008-03-08 17:15:18 +00:00
Josie Messa
192649581e - Tests awaiting fix of bug #44246 2008-03-07 16:21:30 +00:00
Josie Messa
a532e65cd6 - New tests for rewinddir() function 2008-03-07 16:13:20 +00:00
Josie Messa
e5c40c1721 fix test 2008-03-07 16:07:34 +00:00
Josie Messa
c654b41280 - New tests for closedir() function 2008-03-07 16:02:42 +00:00
Gwynne Raskind
7abf0787ad Fix build (one too many right parenthesis in last commit for non-Windows builds) 2008-03-07 08:51:05 +00:00
Greg Beaver
4c23969a41 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:15:29 +00:00
Stanislav Malyshev
123b31cb52 improve seed calculation
# better solution would be to port mt's multi-value seed procedure
2008-03-07 03:39:29 +00:00
Robin Fernandes
f0acfb157d Add new tests for class/object functions and features. 2008-03-06 11:07:29 +00:00
Pierre Joye
be4cb471ef - MFB: #40013, php_uname() does not return nodename on Netware
(Guenter Knauf)
2008-03-05 21:18:26 +00:00
Felipe Pena
702a290aba Fix test 2008-03-05 14:22:06 +00:00
Antony Dovgal
5c46c52f09 apply better fix, so that the default handle would be closed when closing its reference 2008-03-05 12:09:33 +00:00
Antony Dovgal
41bd0ca803 fix memory corruption due to double destruction of default dir handle
(detected by ext/standard/tests/dir/readdir_variation6.phpt)
2008-03-05 09:28:41 +00:00
Felipe Pena
2818d4fc51 New way for check void parameters 2008-03-04 23:39:15 +00:00
Josie Messa
40c790c9f6 - new tests for readdir() function 2008-03-04 17:11:10 +00:00
Antony Dovgal
e1d3d931ed fix test 2008-03-04 11:16:22 +00:00
Josie Messa
f002663134 - new tests for opendir() function 2008-03-04 10:45:40 +00:00
Ilia Alshanetsky
09799b7539 MFB: Fixed bug #44306 (Better detection of MIPS processors on Windows) 2008-03-02 15:36:24 +00:00
Dmitry Stogov
e338f39423 We don't nave to change request shutdown sequence if dl() was failed 2008-02-28 16:59:21 +00:00
Felipe Pena
748677148c Fixed tests 2008-02-28 15:28:00 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Felipe Pena
6562201156 MFB: Improved fix for #44242 2008-02-27 01:25:40 +00:00
Felipe Pena
c557be114f Fixed tests 2008-02-26 13:16:55 +00:00
Josie Messa
1ce9261aac - New tests for chdir() function 2008-02-26 09:40:49 +00:00
Felipe Pena
cdb42ce6d2 MFB: Fixed bug #44242 (metaphone('CMXFXM') crashes PHP) 2008-02-25 22:56:47 +00:00
Steve Seear
47742538ff Replace hardcoded resource ids with %d in fgetc() tests. 2008-02-25 10:33:30 +00:00
Felipe Pena
997b877aa4 Removed internal warning 2008-02-24 11:49:39 +00:00
Felipe Pena
e285f368ca Added UEXPECTF 2008-02-24 02:47:36 +00:00
Felipe Pena
8253434ea9 Fixed tests 2008-02-24 02:22:15 +00:00
Felipe Pena
49114611bb FIxed tests (new error message - E_DEPRECATED) 2008-02-23 22:30:08 +00:00
Felipe Pena
b4b9e034b4 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:26:08 +00:00
Felipe Pena
482e4f2348 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:17:41 +00:00
Felipe Pena
beeccb1e04 Fixed tests (new error message - E_DEPRECATED) 2008-02-23 19:01:11 +00:00
Felipe Pena
93722d35b0 Change some E_STRICTs to E_DEPRECATED 2008-02-23 18:29:16 +00:00
Marcus Boerger
6b58678c63 - Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) 2008-02-23 17:03:53 +00:00
Felipe Pena
33c6806efe Fixed Bug #44212 (array_diff_assoc not reporting missing arguments) 2008-02-22 13:48:02 +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
Ilia Alshanetsky
2339c30a61 MFB: Fixed a possible crash with syslog logging on ZTS builds 2008-02-20 15:27:47 +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
Felipe Pena
b62f4b4684 Fix test 2008-02-17 01:21:15 +00:00
Felipe Pena
74b3151540 Fix tests 2008-02-15 16:55:11 +00:00
Josie Messa
5c62735f17 - New tests for rsort() function 2008-02-15 16:04:35 +00:00
Antony Dovgal
82df944f6a more cosmetics 2008-02-15 09:35:47 +00:00
Antony Dovgal
97385e1dca recursion protection in count() 2008-02-15 09:33:00 +00:00
Josie Messa
c1e7564369 - New tests for count() function 2008-02-14 16:48:27 +00:00
Ilia Alshanetsky
a2e7675cb4 MFB: Fixed test on 64bit machines 2008-02-14 16:30:10 +00:00
Josie Messa
67a7756d86 - New variation test for array_values() 2008-02-14 16:09:18 +00:00
Josie Messa
c1e188bb80 - New tests for array_values() function 2008-02-14 14:20:51 +00:00
Felipe Pena
0f9a030d87 MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc) 2008-02-14 14:17:32 +00:00
Felipe Pena
3531b3ff5f New test 2008-02-14 13:51:15 +00:00
Josie Messa
fab35b7748 - New tests for array_slice() function 2008-02-14 11:13:56 +00:00
Dmitry Stogov
7412aae873 Fixed memory leak 2008-02-14 08:46:42 +00:00
Etienne Kneuss
7c89093243 Fix inconcistencies between substr and substr_compare 2008-02-13 16:59:56 +00:00
Josie Messa
e100d53bff - New tests for array_shift() function 2008-02-13 16:40:42 +00:00
Josie Messa
af9f6b3938 - New tests for array_push() function 2008-02-13 16:14:02 +00:00
Josie Messa
54731fea32 - committing tests for array_merge() function 2008-02-13 14:19:37 +00:00
Josie Messa
b12ed7908d - committig tests for array_key_exists() function 2008-02-13 13:12:06 +00:00
Josie Messa
3d0c36cc39 - committing array_change_key_case variation tests 2008-02-12 17:45:47 +00:00
Felipe Pena
fd18a414a0 MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 01:49:42 +00:00
Stanislav Malyshev
846cb3d56e fix build 2008-02-12 01:30:58 +00:00
Felipe Pena
1573f8c01c New test 2008-02-12 01:21:29 +00:00
Stanislav Malyshev
1a368f6f8b MFB __DIR__ constant support 2008-02-12 01:04:08 +00:00
Ilia Alshanetsky
95cd0deab0 MFB:Fixed test on 64bit machines 2008-02-11 16:23:25 +00:00
Felipe Pena
025d27e2ab Fix test (missing result) 2008-02-11 15:57:34 +00:00
Felipe Pena
8b4f61cf00 Fix test (UEXPECTF) 2008-02-11 15:46:51 +00:00
Antony Dovgal
1d540b4255 this is integer, not pointer 2008-02-11 13:34:26 +00:00
Johannes Schlüter
6595b0dc5e The exact message differs on different systems 2008-02-10 23:36:27 +00:00
Felipe Pena
9d229c7f7c Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6) 2008-02-10 04:09:12 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
c1bdb769a0 Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode) 2008-02-10 02:13:37 +00:00
Felipe Pena
a4363b1f7f Fixed bugs:
- #42036	fgetc() sets end of the file flag when reading on write only file
- #42037	fgetc() retuns one char when fails to read on php6
2008-02-09 19:46:49 +00:00
Felipe Pena
9619ec2317 New test for strtok 2008-02-09 18:12:45 +00:00
Dmitry Stogov
cce5140cf3 Improved md5() implementation (Solar Designer) 2008-02-08 09:11:28 +00:00
Felipe Pena
0a5d2b1ac7 Fix error message 2008-02-07 13:26:36 +00:00
Felipe Pena
8083c40376 Added UEXPECTF 2008-02-07 13:18:58 +00:00
Felipe Pena
6935680443 Added UEXPECTF 2008-02-07 13:06:50 +00:00
Felipe Pena
77864cdc8e Fixed some tests (UEXPECT) 2008-02-07 12:45:54 +00:00
Marcus Boerger
4ad89748c3 - Fix missing check and tests 2008-02-06 20:39:54 +00:00
Zoe Slattery
87a60ef453 Fixing 32 bit specific 2008-02-06 09:28:01 +00:00
Zoe Slattery
4da92843b9 Tests for assorted Maths functions 2008-02-06 08:39:23 +00:00
Felipe Pena
b50f869aac Fixed bug #42167 (fgetcsv gives different output on php6 compared to php5), #42219 (length argument of fgetcsv() is not effective/working in PHP6) 2008-02-06 02:56:49 +00:00
Marcus Boerger
ee507a2d05 - Add new test 2008-02-05 18:56:40 +00:00
Ilia Alshanetsky
4545b5bf25 MFB: Fixed bug #44046 (crash inside array_slice() function with an invalid
by-ref offset).
2008-02-05 16:02:23 +00:00
Robert Nicholson
8f6de4aada - fix arsort_variation3.phpt which was missing its EXPECT section 2008-02-05 11:20:28 +00:00
Jani Taskinen
71e3d357ef - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:16 +00:00
Felipe Pena
c866bc64cf Fix wrong test 2008-02-04 19:58:12 +00:00
Felipe Pena
9df576bed3 Fixed wrong fix 2008-02-04 19:48:14 +00:00
Felipe Pena
aa79b70645 Fixed Bug #42057 (fwrite() writes data into file when length is given as a negative value) 2008-02-04 18:45:40 +00:00
Felipe Pena
360fed57da Fix error messages 2008-02-04 17:21:01 +00:00
Felipe Pena
421295b52e Fix tests 2008-02-04 15:43:09 +00:00
Felipe Pena
ac99835507 Fix tests (new error message) 2008-02-04 15:22:08 +00:00
Felipe Pena
1348f95d20 Fix tests (new error message) 2008-02-04 13:08:27 +00:00
Felipe Pena
76dab1562f Fix tests (new error message) 2008-02-04 12:37:15 +00:00
Robert Nicholson
caea756765 - added some new tests for arsort 2008-02-04 00:06:54 +00:00
Ilia Alshanetsky
fb738d95bf MFB: Fixed bug #44028 (crash inside stream_socket_enable_crypto() when
enabling encryption without crypto type)
2008-02-03 16:14:44 +00:00
Marcus Boerger
925071ce41 - Rename it again
[DOC]
- Add config_get_hash()
2008-02-03 14:44:30 +00:00
Marcus Boerger
f2ce43983f - Rename dump_config_hash() to get_config_hash() as it doesn't dump 2008-02-03 14:35:29 +00:00
Marcus Boerger
0034d47f09 - Fix tests 2008-02-02 13:33:21 +00:00
Marcus Boerger
6840a7815d - Fix flag handling (MFB) 2008-02-02 13:11:12 +00:00
Antony Dovgal
de10394d60 fix test, add 64bit version 2008-02-01 23:18:53 +00:00
Zoe Slattery
bd8678289b A few new tests for math functions 2008-02-01 17:16:40 +00:00
Zoe Slattery
76022e67d8 Removing superfluous --INI-- section 2008-01-30 17:55:12 +00:00