Commit Graph

1542 Commits

Author SHA1 Message Date
andy wharmby
5ca19085bb Fix test. Tested on Windows, Linux and Linux 64 bit 2009-01-13 18:51:41 +00:00
Felipe Pena
6757c0c9fc - Fixed test 2009-01-13 17:08:26 +00:00
andy wharmby
84ca63c1b3 New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 17:56:28 +00:00
andy wharmby
07cc6d4d10 Fix Windows tests after #47037 2009-01-12 15:59:04 +00:00
andy wharmby
f4af0b3f39 New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 14:30:52 +00:00
Felipe Pena
ac9508b286 - Fixed tests 2009-01-10 17:18:08 +00:00
Felipe Pena
2deadbe666 - Fixed test 2009-01-10 17:15:09 +00:00
Scott MacVicar
b4707a5e02 Some more tests that needed fixed. 2009-01-10 00:51:04 +00:00
Antony Dovgal
cc6b14ef6d cleanup garbage 2009-01-09 23:16:49 +00:00
Felipe Pena
857959838f - Fixed tests 2009-01-09 02:11:54 +00:00
Antony Dovgal
c4fb924c7e fix test 2009-01-08 21:53:50 +00:00
andy wharmby
a7bdc76551 New PHPT tests for math functions. Tested on Windows, Linux and Linux 64 bit. 2009-01-08 21:20:11 +00:00
Felipe Pena
4f07ef1f78 - Fixed test [only in this branch] 2009-01-08 19:00:02 +00:00
Felipe Pena
f21cabe5e3 - MFH: Fixed tests 2009-01-08 18:47:26 +00:00
Arnaud Le Blanc
9c6c5c6f98 MFH:
Fix memleak when a user filter appends a bucket and returns != PSFS_PASS_ON
Improved tests
2009-01-08 18:40:27 +00:00
Arnaud Le Blanc
61ae60f805 MFH: Fixed error conditions handling in stream_filter_append() 2009-01-08 17:01:58 +00:00
andy wharmby
9ccdaa362d Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:40:36 +00:00
Antony Dovgal
76548a8d1e MFH: fix test 2009-01-07 21:23:10 +00:00
Felipe Pena
5ae3b86724 - Fixed test 2009-01-07 20:32:52 +00:00
Derick Rethans
8ef259994f - MFH: Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:36:07 +00:00
Antony Dovgal
543a554da9 fix test 2009-01-04 15:21:56 +00:00
Zoe Slattery
ded4196c10 removing xfail sections as test passes 2008-12-31 20:30:09 +00:00
Ant Phillips
666759bc73 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-31 10:36:12 +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
Brian Shire
b4141cc424 MFH: fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:15:51 +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
Arnaud Le Blanc
0cd7fdd99f MFH: Fixed test 2008-12-18 16:04:59 +00:00
Steve Seear
da35833236 call_user_func_array() tests 2008-12-15 14:11:57 +00:00
Zoe Slattery
32d03cc340 fixed test 2008-12-15 13:17:53 +00:00
Lars Strojny
29f49d2ded If a wrapper could not be found it is either a typo or a configuration issue. But in both cases it is critical enough to warn the user. 2008-12-14 16:25:37 +00:00
Andrei Zmievski
568b146480 Fix tests, add NEWS entry. 2008-12-12 23:59:48 +00:00
Hannes Magnusson
e5c13558e8 MFH: Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:44:48 +00:00
Antony Dovgal
bc41d716a7 fix test 2008-12-09 14:48:41 +00:00
Hannes Magnusson
902e9af1c2 Fix test.
You cannot set include_path as empty, and never could
2008-12-09 12:54:01 +00:00
Hannes Magnusson
76669fce23 MFH: - Changed open_basedir to allow tightening in runtime contexts. (Sara)
- Add test
2008-12-09 10:20:11 +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
f23dfd498f Put bug number in the XFAIL section for cross referencing 2008-12-03 12:38:32 +00:00
Johannes Schlüter
ad44e25339 Cleanup after running the tests ...
# I wonder we such basic tests fail and with an XFAIL a reason would be nice
2008-12-03 11:28:13 +00:00
Christian Seiler
2e32354456 - MFH: Implemented http://wiki.php.net/rfc/rounding 2008-12-02 16:27:15 +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
Ant Phillips
12e27a7014 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:50:28 +00:00
Ant Phillips
f689708192 File system tests: checked on PHP 5.3 (Windows, Linux and Linux 64 bit). 2008-11-26 10:10:19 +00:00
Arnaud Le Blanc
dffdb48c3b MFH: Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:19:20 +00:00
Arnaud Le Blanc
18794addbd MFH: Added ENT_IGNORE as a compatibility flag for htmlentities() and
htmlspecialchars() to skip multibyte sequences intead of returning an
empty string (as iconv's //IGNORE). These functions will still never
return an invalid or incomplete multibyte sequence.
Fixes #43896
2008-11-26 03:00:06 +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
Felipe Pena
b4150fdc3f - MFH: Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:16:50 +00:00
Iain Lewis
28c1803bcf Adding some tests for array_product 2008-11-21 13:00:01 +00:00
Felipe Pena
83c0eb69ad - Fixed tests 2008-11-19 16:58:28 +00:00
Arnaud Le Blanc
c6e1b8bc67 MFH: Added stream_cast() and stream_set_options() to user-space stream
wrappers, allowing stream_select(), stream_set_blocking(),
stream_set_timeout() and stream_set_write_buffer() to work with user-space
stream wrappers.
Will document.
2008-11-15 12:52:13 +00:00
Arnaud Le Blanc
06119f4748 MFH: Added stream_context_get_params() 2008-11-13 05:47:47 +00:00
Arnaud Le Blanc
e13a4238e5 MFH: Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:51 +00:00
Arnaud Le Blanc
f6345133b3 MFH: Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:55 +00:00
Arnaud Le Blanc
2276e85f13 MFH: Added parse_ini_string() function (grange at lemonde dot fr, Arnaud)
[DOC] new function parse_ini_string()
      proto array parse_ini_string(string ini_string
          [, bool process_sections [, int scanner_mode]])
      Same as parse_ini_file() except that it takes a string instead of a
      filename.
2008-11-05 21:35:02 +00:00
Kalle Sommer Nielsen
9b3ab1c67a MFH: New tests for syslog 2008-11-05 09:58:51 +00:00
Felipe Pena
358ecee529 - Fixed tests 2008-11-04 17:50:30 +00:00
Arnaud Le Blanc
d441b5db5b MFH: Fixed stream_get_line() to behave as documented on non-blocking
streams
2008-11-04 17:05:55 +00:00
Arnaud Le Blanc
55ccadecbe MDH: Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:46:03 +00:00
Arnaud Le Blanc
55e7b35e6b MFH: Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:41 +00:00
Arnaud Le Blanc
7fc9c9e429 cleanup 2008-11-03 23:34:26 +00:00
Arnaud Le Blanc
8e220d99df MFH: Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:29:17 +00:00
Arnaud Le Blanc
de29f4161f MFH: Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:53 +00:00
Arnaud Le Blanc
0a2bfc7968 MFH: Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:31 +00:00
Arnaud Le Blanc
b3d0514b6f Fixed bug #44575 (parse_ini_file comment # line problems)
[DOC] parse_ini_file(): comments starting with # are deprecated in PHP 5.3
      (comments starting with ; should be used instead)
2008-11-02 23:36:10 +00:00
Felipe Pena
8f12025b21 - MFH: Added str_getcsv() 2008-11-02 18:24:34 +00:00
Felipe Pena
16bce25da2 - Fixed memory leak when using offset out of range. (php_stream_copy_to_mem returns 0, but the empty string is alloced) 2008-10-30 15:53:18 +00:00
Felipe Pena
1eb552a712 - Fix the fix
- Improved test
2008-10-30 14:34:25 +00:00
Felipe Pena
bfa5404e90 - MFH: Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:09:22 +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
Alexey Zakhlestin
575ba83c0b skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:18 +00:00
Alexey Zakhlestin
a7730c9c8c these tests work just fine on macos-x 2008-10-21 12:45:35 +00:00
Arnaud Le Blanc
8ad19e1801 MFH: Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:19 +00:00
Sanjay Mantoor
55039a95fd New testcases for array_diff_uassoc() function 2008-09-26 11:53:48 +00:00
Antony Dovgal
86660c69b7 MFH 2008-09-16 14:36:27 +00:00
Antony Dovgal
bbbb0f1ae5 fix test 2008-09-16 13:41:34 +00:00
Dmitry Stogov
1474d9dfad Fixed bug #43053 (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)
some 64bit test files may need to be fixed
2008-09-15 11:47:16 +00:00
Felipe Pena
b861898fc7 - MFH: Fixed unexpected zval changes 2008-09-12 01:14:14 +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
Stanislav Malyshev
530ffde4fd add some windows-style INI entries to tests 2008-09-11 00:34:48 +00:00
Felix De Vliegher
d411698211 Tests for get_browser() 2008-09-06 23:20:15 +00:00
Pierre Joye
5ec35396e0 - MFH: #45985, touch on opened file raises a warning 2008-09-04 08:05:27 +00:00
Jani Taskinen
80f8ad97fb MFH:- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file) 2008-08-31 00:19:50 +00:00
Jani Taskinen
5bdff73b26 MFH: - Move tests to the correct dir 2008-08-30 23:22:27 +00:00
Dmitry Stogov
78d28494ca Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:20 +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
Felipe Pena
9dda408624 - New test 2008-08-25 19:38:37 +00:00
Jani Taskinen
505ad55773 MFH 2008-08-25 13:42:55 +00:00
Pierre Joye
a7d2377ce4 - MFH: use date.timezone ini setting 2008-08-21 18:36:56 +00:00
Pierre Joye
a9b8b3698b - MFH: use date.timezone ini setting instead of ENV 2008-08-21 18:33:21 +00:00
Pierre Joye
8c6ea95dc3 - MFH: fix test on windows 2008-08-21 18:25:13 +00:00
Pierre Joye
db31f78801 - MFH: different parser message on windows 2008-08-21 13:05:10 +00:00
Pierre Joye
050e5579f8 - MFH: "fix" crash on windows 2008-08-21 12:38:47 +00:00
Pierre Joye
a6b21d3c98 - new API
- MFH: use 'C' on win
2008-08-21 12:25:07 +00:00
Pierre Joye
527e3a339c - MFH: don't skip if windows matches 2008-08-21 12:13:50 +00:00
Pierre Joye
979d3abbd8 - new params parsing API
- use "C" instead of ""
2008-08-21 12:05:30 +00:00
Pierre Joye
8d45abb514 - MFH: skip 007 on non windows platform and add a win specific version (file not found instead of filename too long) 2008-08-21 11:01:55 +00:00
Pierre Joye
9d7904932f - MFH: make it portable and clean on in the clean section, session file may still be open (can't be deleted) 2008-08-21 10:30:49 +00:00
Pierre Joye
f1ebec34d9 - MFH: make it portable 2008-08-21 09:43:51 +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
Pierre Joye
2cde8f416a - new args parsing API and correct LOCALE definition (why utf-8 when only ascii is tested) 2008-08-20 13:09:39 +00:00
Pierre Joye
80d020011c - don't use /tmp as tmpdir and avoid endless loop when fopen or tmpnam failed 2008-08-18 21:24:52 +00:00
Pierre Joye
04c09fac0f - MFH: new parameter API error 2008-08-18 18:10:50 +00:00
Dmitry Stogov
5ade84afe4 Fixed bug #45835 (include and symlinks) 2008-08-18 10:28:17 +00:00
Dmitry Stogov
7523bb7fc2 Reverted wrong "fix" 2008-08-18 09:21:15 +00:00
Pierre Joye
7d1cd6a94b - unix is too young (<1970), make the test portable 2008-08-18 07:19:39 +00:00
Arnaud Le Blanc
e104699a5d MFH: Fix tests (closes #45841) 2008-08-18 04:45:49 +00:00
Felipe Pena
252d7d76a8 - MFH: New parameter parsing API 2008-08-17 22:14:14 +00:00
Arnaud Le Blanc
dee3bb2371 MFH: Allow underscore at start of labels as underscore has no meaning here
(fixes #44842)
2008-08-17 21:55:26 +00:00
Pierre Joye
3dd3da7c72 - MFH: add %a for Compiler/Architecture 2008-08-17 16:44:13 +00:00
Pierre Joye
61c4fee6b0 - [DOC] MFH: improve fix for #43261 for % and " 2008-08-17 15:23:45 +00:00
Pierre Joye
59bed16665 - MFH: typo and inline doc fix 2008-08-17 14:32:41 +00:00
Pierre Joye
b5e6d487d1 - MFH: fix test (portable), use . as basedir and create the tmp dir in the test directory 2008-08-17 13:07:39 +00:00
Pierre Joye
88b2019477 - fix or improve tests
- add dump of the array_diff for compare_stats
2008-08-17 11:04:16 +00:00
Felipe Pena
0dbc79339c - New parameter parsing API (zend_get_parameters_array_ex--)
- Fixed tests
2008-08-16 21:32:41 +00:00
Pierre Joye
56035785a5 - MFH: remove confusion for non windows/linux users 2008-08-16 13:28:12 +00:00
Pierre Joye
bb4eacb773 - wrong file commited (and fix test, thx Tony for the head up) 2008-08-16 10:54:17 +00:00
Pierre Joye
5bf4d72487 - MFH: make it portable without loosing pertinent data 2008-08-15 19:33:56 +00:00
Pierre Joye
32546c9390 - MFH: make it portable without loosing pertinent data 2008-08-15 19:26:37 +00:00
Pierre Joye
9bdfe83e0c -MFH:
- fix test
 - add debug build mode (crt outputs callback for invalid parameters)
2008-08-15 19:01:42 +00:00
Pierre Joye
e4e8f33716 - fix test 2008-08-15 17:00:27 +00:00
Pierre Joye
6d41937081 - MFH: New parameter parsing API > new warning 2008-08-15 16:51:23 +00:00
Dmitry Stogov
628bc1f927 Fixed possible infinity loop in tests 2008-08-15 09:27:27 +00:00
Jani Taskinen
d07b7fbf70 MFH: fix tests 2008-08-14 23:44:29 +00:00
Jani Taskinen
803f3011c6 MFH 2008-08-14 23:29:13 +00:00
Jani Taskinen
0b4e014888 - Fix test: Do not leave your crap behind! 2008-08-14 23:25:44 +00:00
Jani Taskinen
ec8318b438 MFH: fix test 2008-08-14 20:33:35 +00:00
Antony Dovgal
a61c0c8414 MFH: add quoted_printable_encode() 2008-08-14 10:12:21 +00:00
Felipe Pena
9f3cb0ecb3 - Fixed test 2008-08-12 19:53:50 +00:00
Felipe Pena
318efa7f10 - New parameter parsing API (for fscanf) 2008-08-12 19:38:54 +00:00
Pierre Joye
eae2c5390d - MFH: update test after php's portable realpath change (filename/ is not valid anymore) 2008-08-12 13:05:17 +00:00
Pierre Joye
01dca9a7f4 - MFH: not supported on windpws 2008-08-12 11:56:09 +00:00
Josie Messa
ce5c43a1ed - Committing new array_diff_key tests for Sanjay Mantoor 2008-08-12 11:01:59 +00:00
Arnaud Le Blanc
a12b6846e5 MFH: clear stat cache in chroot() 2008-08-11 23:14:36 +00:00
Arnaud Le Blanc
6e20eba4f4 MFH: Fixed #45181 (chdir() should clear relative entries in stat cache) 2008-08-11 22:38:31 +00:00
Arnaud Le Blanc
de24949cce MFH: Check the relevant path for open_basedir in symlink() 2008-08-11 15:30:44 +00:00
Pierre Joye
4d47ccb963 - MFH: skip on windows, chgrp not supported 2008-08-11 13:30:06 +00:00
Pierre Joye
7023ed85d7 - [DOC] MFH: detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:11:31 +00:00
Pierre Joye
b9536062a8 - remove and add again as text not binary 2/2 2008-08-11 12:20:42 +00:00
Pierre Joye
a37c895917 - remove and add again as text not binary 1/2 2008-08-11 12:20:24 +00:00
Pierre Joye
a291e00be6 - MFH: make it platform independent (/ vs \) 2008-08-11 11:52:10 +00:00
Felipe Pena
ef2489f6e7 - MFH: New parameter parsing API (for *printf()) 2008-08-10 21:49:01 +00:00