Commit Graph

1489 Commits

Author SHA1 Message Date
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