Commit Graph

1549 Commits

Author SHA1 Message Date
andy wharmby
98e72a7000 New string tests. Tested on Windows, Linux and Linu 64 bit 2009-01-16 22:45:54 +00:00
andy wharmby
32b293cd9c New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:07 +00:00
andy wharmby
16c2f5bdff New test for strripos() string function. 3 test fail on PHP6 until #47102 fixed and have XFAIL sections. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:39:29 +00:00
andy wharmby
a3064e1140 Fixed base64_decode variation tests and new base64_encode test. Tested on Windows, Linux and Linux64 bit 2009-01-14 14:38:29 +00:00
andy wharmby
5cc4833a95 Fix test. Tested on Windows, Linux and Linux 64 bit 2009-01-13 18:51:24 +00:00
andy wharmby
0fa10114df New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 17:56:09 +00:00
andy wharmby
def5c80e77 Fix Windows tests after #47037 2009-01-12 15:58:41 +00:00
andy wharmby
edbf382fcc New math tests. Tested on Windows, Linux and Linux 64 bit 2009-01-12 14:30:30 +00:00
Antony Dovgal
8763cf64c8 cleanup garbage 2009-01-09 23:16:41 +00:00
Antony Dovgal
5e51b9529e fix test
use bigger file to be able to see the difference
2009-01-08 21:53:36 +00:00
andy wharmby
685a81b895 New PHPT tests for math functions. Tested on Windows, Linux and Linux 64 bit. 2009-01-08 21:18:37 +00:00
Felipe Pena
2aae851d58 - Fixed tests 2009-01-08 18:46:55 +00:00
Arnaud Le Blanc
6bc39dc96c Fix memleak when a user filter appends a bucket and returns != PSFS_PASS_ON
Improved tests
2009-01-08 18:39:04 +00:00
Arnaud Le Blanc
b8708d43f6 Fixed error conditions handling in stream_filter_append() 2009-01-08 17:01:11 +00:00
andy wharmby
4aa3d06632 Fix bogus file tests - addresses 2 failures in PHP GCOV reports. Tested on Windows, Linux and Linux 64 bit 2009-01-08 10:39:50 +00:00
Antony Dovgal
d36dc698dd fix test 2009-01-07 21:23:01 +00:00
Felipe Pena
d540516e1c - Fixed test 2009-01-07 20:32:35 +00:00
Derick Rethans
c1dec4858c - Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2009-01-07 14:35:50 +00:00
Felipe Pena
aa6580c0ac - Fixed tests 2009-01-05 19:04:27 +00:00
Felipe Pena
d23d2f358c - Fixed tests 2009-01-05 17:53:53 +00:00
Antony Dovgal
9a76d75803 fix test 2009-01-04 15:21:39 +00:00
Zoe Slattery
3385d8bda0 removing xfail sections as test passes 2008-12-31 20:43:52 +00:00
Ant Phillips
c5417157fa 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:13 +00:00
Ant Phillips
4d3f948495 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:38:17 +00:00
Felipe Pena
7f74e97e3e - Unicodify (#46687) 2008-12-28 20:16:48 +00:00
Brian Shire
d6a1c7a674 fix explode behavior to respect negative limit when string is empty. 2008-12-27 05:13:30 +00:00
Arnaud Le Blanc
3b0cd9f644 Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists) 2008-12-27 03:06:16 +00:00
Lars Strojny
d2520327a2 Adding test for stream_resolve_include_path() 2008-12-20 16:23:37 +00:00
Arnaud Le Blanc
c00195e6b5 Fixed test 2008-12-18 16:04:38 +00:00
Steve Seear
433d52facc call_user_func_array() tests 2008-12-15 14:11:35 +00:00
Zoe Slattery
e028ad839f fixed test 2008-12-15 13:16:35 +00:00
Lars Strojny
7611a5d984 MFB: 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. [DOC] (?) 2008-12-14 16:27:30 +00:00
Hannes Magnusson
effa82043b Fixed bug#46681 (mkdir() fails silently on PHP 5.3) 2008-12-12 12:40:58 +00:00
Antony Dovgal
475b6bd043 fix test 2008-12-09 14:49:12 +00:00
Hannes Magnusson
0ff6d5f45b MFB5.3: Fix test 2008-12-09 12:56:39 +00:00
Hannes Magnusson
70bb87687d MFB: Add test for runtime tightening of open_basedir 2008-12-09 10:21:27 +00:00
Ant Phillips
4021b612bf Remove duff comment produced by the test generator tool 2008-12-05 14:18:00 +00:00
Ant Phillips
8c0a7983db Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-05 14:11:03 +00:00
Stanislav Malyshev
b75a707ab1 fix test 2008-12-04 20:22:12 +00:00
Johannes Schlüter
67115cdf6a One more cleanup after running tests 2008-12-03 20:30:35 +00:00
Ant Phillips
95c78609ef Put bug number in the XFAIL section for cross referencing 2008-12-03 12:39:54 +00:00
Johannes Schlüter
6a270c3bf8 Cleanup after running the tests ... 2008-12-03 11:27:11 +00:00
Christian Seiler
2836cce10b - Implemented http://wiki.php.net/rfc/rounding 2008-12-02 16:25:06 +00:00
Ant Phillips
ba7bc0ace4 Array tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-12-02 13:29:17 +00:00
Iain Lewis
f27f49cf96 Adding tests for array_multisort 2008-12-01 17:10:14 +00:00
Ant Phillips
0920ed8861 Directory tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-27 14:49:14 +00:00
Ant Phillips
977a9400fe File system tests: checked on PHP 6.0 latest snap (Windows, Linux and Linux 64 bit) - there are quite a large number of failing test cases (all marked with an XFAIL section), they wiill have bugs raised to cover the issues real soon now... 2008-11-26 17:48:41 +00:00
Arnaud Le Blanc
c8f24ea5bd Fixed bug #46673 (stream_lock call with wrong paramater) 2008-11-26 04:18:24 +00:00
Arnaud Le Blanc
eef1ad9ddf [DOC] 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.
Example: htmlspecialchars("...", ENT_QUOTES | ENT_COMPAT, "utf-8");
2008-11-26 02:57:32 +00:00
Arnaud Le Blanc
1064f9721b Fixed bugs #44181 & #44182 (extract() and references)
(robin_fernandes at uk dot ibm dot com)
2008-11-26 00:59:13 +00:00
Iain Lewis
e512037ced Adding some tests for array_product 2008-11-24 17:36:44 +00:00
Felipe Pena
3b06b39d54 - Fixed bug #46578 (strip_tags() does not honor end-of-comment when it encounters a single quote) 2008-11-21 19:14:47 +00:00
Felipe Pena
12c2d80194 - Fixed tests 2008-11-19 16:59:17 +00:00
Arnaud Le Blanc
e1fcaeef9d 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:50:17 +00:00
Arnaud Le Blanc
f24bc6f421 Added stream_context_get_params()
[DOC] proto bool stream_context_get_params(resource context|stream)
      Get parameters of a file context (parameters set by
      stream_context_set_params())
2008-11-13 05:46:51 +00:00
Arnaud Le Blanc
fc938b54c7 Fixed stream_get_contents() when using $maxlength and socket is not
closed. indeyets@php.net on #46049.
2008-11-11 01:55:19 +00:00
Arnaud Le Blanc
dec12b2549 Fixed bug #44818 (php://memory writeable when opened read only) 2008-11-11 00:44:36 +00:00
Arnaud Le Blanc
2fe765b5f4 Fixed bug #45585 (fread() return value for EOF inconsistent
between PHP 5 and 6)
2008-11-11 00:40:05 +00:00
Arnaud Le Blanc
c0039b30be 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:33:19 +00:00
Kalle Sommer Nielsen
bc64ccf1d0 New tests for syslog 2008-11-05 09:58:15 +00:00
Arnaud Le Blanc
2e32876eaa Fixed stream_get_line() to behave as documented on non-blocking streams 2008-11-04 17:05:17 +00:00
Arnaud Le Blanc
0bb5310a63 Avoids fclose() from complaining that stream_socket_pair() streams
have not been closed
2008-11-04 16:45:42 +00:00
Arnaud Le Blanc
8e6f8fc4dc Fixed bug #46024 (stream_select() doesn't return the correct number) 2008-11-04 00:42:19 +00:00
Arnaud Le Blanc
611d72ad2a cleanup 2008-11-03 23:34:17 +00:00
Arnaud Le Blanc
fc62c1ff0a Fixed bug #44607 (stream_get_line unable to correctly identify the
"ending" in the stream content)
2008-11-03 23:28:45 +00:00
Arnaud Le Blanc
c4c2308fec Fixed bug #45303 (Opening php:// wrapper in append mode results
in a warning)
2008-11-03 16:58:28 +00:00
Arnaud Le Blanc
0bed5602ee Fixed bug #43353 (wrong detection of 'data' wrapper causes notice) 2008-11-03 15:47:05 +00:00
Felipe Pena
3efabcf22c - New test 2008-11-02 18:20:57 +00:00
Felipe Pena
8bf0a4f64b - New test 2008-10-30 15:50:33 +00:00
Felipe Pena
7b359fa53a - Improved test 2008-10-30 14:31:01 +00:00
Felipe Pena
d140cd1f0b - Fixed bug #46426 (3rd parameter offset of stream_get_contents not works for "0") 2008-10-30 10:08:01 +00:00
Sanjay Mantoor
2b1b26bf6d New testcases for array_intersect_uassoc function 2008-10-28 10:21:12 +00:00
Sanjay Mantoor
4d65d65ce7 New PHP testcases for array_diff_ukey function 2008-10-22 05:51:52 +00:00
Alexey Zakhlestin
374086f172 MFB: skip tests on systems without fnmatch() function (f.e.: old darwin) 2008-10-21 13:38:57 +00:00
Alexey Zakhlestin
d8393b570c MFB: these tests work just fine on macos-x 2008-10-21 12:48:37 +00:00
Arnaud Le Blanc
d4cb99a976 Fixed #46164 (stream_filter_remove() closes the stream) 2008-10-05 01:40:02 +00:00
Sanjay Mantoor
497e58ebf5 New testcases for array_diff_uassoc() function 2008-09-26 11:57:41 +00:00
Antony Dovgal
22802419ba fix segfault with serialize(new __PHP_Incomplete_Class) found by Felipe
add test
2008-09-16 14:36:10 +00:00
Dmitry Stogov
f9f69a5373 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:27 +00:00
Arnaud Le Blanc
c2f830ca21 MFB / fix tests 2008-09-14 14:57:26 +00:00
Felipe Pena
a26fab9f6b - Fixed unexpected zval changes 2008-09-12 01:10:56 +00:00
Lars Strojny
7949c4d771 prev()-tests by Iain Lewis <ilewis@uk.ibm.com> 2008-09-11 18:21:24 +00:00
Sanjay Mantoor
5190b089be New testcases for array_intersect_key() function 2008-09-11 10:41:01 +00:00
Stanislav Malyshev
3a55154b6b add some windows-style INI entries to tests 2008-09-11 00:50:08 +00:00
Felix De Vliegher
3d539dacd6 MFB: Tests for get_browser(). 2008-09-06 23:20:53 +00:00
Pierre Joye
c0c6854c50 - #45985, touch on opened file raises a warning 2008-09-04 08:03:31 +00:00
Jani Taskinen
a4a02f3830 [DOC]- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors in parsed file)
[DOC] note: change will be in since 5.2.7
2008-08-31 00:19:21 +00:00
Jani Taskinen
782c11a4e0 - Move the tests where they belong 2008-08-30 23:20:25 +00:00
Felipe Pena
0b5e6c5fd8 - Fixed tests 2008-08-30 22:16:29 +00:00
Felipe Pena
15697830b4 - Fixed tests 2008-08-29 15:47:00 +00:00
Dmitry Stogov
7c111e1e80 Fixed bug #45706 (Unserialization of classes derived from ArrayIterator fails) 2008-08-29 14:59:41 +00:00
Felipe Pena
a69b38f7e9 - 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 02:48:28 +00:00
Felipe Pena
d3ed3e3a36 - New test 2008-08-25 19:38:18 +00:00
Felipe Pena
b1e51d0555 - Fixed tests 2008-08-25 13:44:33 +00:00
Jani Taskinen
1736edba99 fix test: no crap left behind 2008-08-25 13:40:33 +00:00
Pierre Joye
dcb0cc3d2b - [DOC] fix test, chr uses codepoint as input 2008-08-21 23:28:21 +00:00
Pierre Joye
1f0f4b56e7 - use date.timezone ini setting 2008-08-21 18:36:44 +00:00
Pierre Joye
d61c5689c2 - use date.timezone ini setting instead of ENV 2008-08-21 18:33:06 +00:00
Pierre Joye
e80e2e8ef6 - fix test on windows 2008-08-21 18:24:53 +00:00
Pierre Joye
e6edc95f50 - different parser message on windows 2008-08-21 13:04:43 +00:00