Commit Graph

1725 Commits

Author SHA1 Message Date
Rasmus Lerdorf
2be0578481 Doing a strnatcasecmp(chr(128),chr(255)) is completely non-sensical.
Logically one might think that chr(128) would collate before chr(255) except
this is a case-insensitive comparison and internally we toupper() both args.
toupper(chr(128)) is 128.  There is no upper-case equivalent of this char.
toupper(chr(255)) is 120 so chr(255) collates before chr(128) in this
case-insensitive comparison.  And these are rather bogus characters to feed
to a natsort test anyway.
2009-08-08 14:48:47 +00:00
Jani Taskinen
dd7b767d7f - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value fails) 2009-08-07 14:21:38 +00:00
Jani Taskinen
bf4bead40c - Fix test 2009-08-06 13:54:21 +00:00
Rasmus Lerdorf
8ed29f8d09 Fix more tests messed up by svn 2009-08-06 13:26:43 +00:00
andy wharmby
f2c4140cfe Basic test for is_resource() and isset() functions. tested on Windows, Linux and Linux 64 2009-08-05 16:10:46 +00:00
andy wharmby
1b4a8d1c62 Add new use-case to parse_str() test. Tested on Windows, Linux and Linux 64 2009-08-05 08:54:27 +00:00
Jani Taskinen
8ecec408f8 - Add test (yes, it fails still :) 2009-08-04 12:16:40 +00:00
Antony Dovgal
6b8f06b921 cosmetic fix 2009-08-04 09:27:15 +00:00
Jani Taskinen
f487836c1a - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW) 2009-08-04 02:56:26 +00:00
Jani Taskinen
c3cd6d45c9 - Fix title 2009-08-04 02:55:24 +00:00
Jani Taskinen
633e5d4a05 -fix test 2009-08-04 02:54:10 +00:00
Jani Taskinen
cdf04b13a9 - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys) 2009-08-04 02:34:04 +00:00
Jani Taskinen
3ce6066df8 - fix test 2009-08-04 02:24:47 +00:00
Jani Taskinen
ef19ca2e51 - Fix test 2009-08-04 02:17:33 +00:00
andy wharmby
f868c5d10b New basic tests for get_defined_constants(), get_loaded_extensions() and get_resource_type() functions. Tested on Windows, Linux and Linux 64 bit 2009-08-03 23:12:43 +00:00
Felipe Pena
354e1e0ff4 - Re-fix stream_is_local() memory leaks 2009-08-03 13:16:24 +00:00
Jani Taskinen
246e9f105d - These tests fail if mbstring is enabled, not because of bad libc.. 2009-08-03 10:23:23 +00:00
Felipe Pena
53debf4a9f - Fixed tests 2009-08-01 15:46:50 +00:00
Jani Taskinen
dbeb08f357 - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used in fopen) 2009-08-01 03:17:31 +00:00
Jani Taskinen
527d06032d - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Jani Taskinen
03133b0df2 - Fix test 2009-07-23 16:28:17 +00:00
Rasmus Lerdorf
c74b341cc6 Fix bug #49003 by tweaking the fix to bug #44929 slightly.
A 0 followed by any punctuation is now significant instead
of just 0's in front of a period.
2009-07-21 21:15:48 +00:00
Zoe Slattery
ec97c3c3e3 Remove empty sections. Fix bad use of --SKIP-- 2009-07-21 14:02:24 +00:00
Jani Taskinen
bed030176a Fixed bug #48929 (Double \r\n after HTTP headers when "header" context option is an array) 2009-07-20 10:54:37 +00:00
Nuno Lopes
bb3a4a2bf8 Add support for proc_open()'s bypass_shell feature for Unix systems (slightly modified patch from Gwynne) 2009-07-19 14:52:27 +00:00
Zoe Slattery
199a181a2c Removing unnecessary SKIPIF sections 2009-07-18 13:44:15 +00:00
Zoe Slattery
6ae52f1e92 fixing paths in INI section 2009-07-18 13:12:56 +00:00
Alexey Zakhlestin
4a63a75539 removing test. this one tests system-specific behavior, not something implemented in php 2009-07-17 17:17:57 +00:00
Alexey Zakhlestin
00a0f088d0 MFB: fixed tests. money_format() is implemented in underlying system, not in php. So, we shouldn't test for actual values returned. They are different between systems 2009-07-17 16:21:00 +00:00
Jani Taskinen
c111a9c036 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters correctly) 2009-07-17 11:13:51 +00:00
Alexey Zakhlestin
7b6eae5402 fix tests corrupted by svn's eol-style=native 2009-07-15 14:08:18 +00:00
Alexey Zakhlestin
03fa36f45a fix broken test 2009-07-15 10:05:59 +00:00
Felipe Pena
0977b2a6f8 - Fixed bug #48854 (array_merge_recursive modifies arrays after first one) 2009-07-08 18:21:13 +00:00
Pierre Joye
07107b8dc6 - skip on windows 2009-07-08 10:44:29 +00:00
Pierre Joye
dc4ba9d304 - windows version 2009-07-08 10:43:32 +00:00
Pierre Joye
3e8a09e9fd - windows version 2009-07-08 10:15:52 +00:00
Pierre Joye
6e6b3a3540 - MF53: skip on win, different error msg 2009-07-08 10:14:14 +00:00
Pierre Joye
849b01a79c - MF53: fix test (mtime only is changed) 2009-07-08 10:00:45 +00:00
Pierre Joye
13045c6900 - MF53: touch() atime field returns different value 2009-07-07 22:13:47 +00:00
Pierre Joye
35ba63180a - fixed, remove XFAIL 2009-07-07 22:05:27 +00:00
Pierre Joye
72d203ea31 - sync with 5.3 2009-07-07 21:56:18 +00:00
Kalle Sommer Nielsen
a49bb5425f Fix test on Windows 2009-07-01 20:26:37 +00:00
andy wharmby
b77d7c801a Basic test for max() on 64 bit platforms. Tested on Linux 64 bit 2009-06-29 07:52:26 +00:00
andy wharmby
6513ceb4dc Basic tests for sleep() and usleep(). Tested on Windows, Linux and Linux 64 bit 2009-06-29 07:31:15 +00:00
Felipe Pena
6abff59291 - Fixed bug #48709 (metaphone and 'wh') 2009-06-28 18:41:20 +00:00
Felipe Pena
eeb997d888 - Fixed bug #48658 (Change in behaviour of parse_str on php 6.0) 2009-06-28 02:36:19 +00:00
andy wharmby
7d60127c1e New and fixed html tests. Tested in Windows, Linux and Linux 64. 2009-06-23 22:45:30 +00:00
andy wharmby
0dfd8754a6 New basic parse_str() tests. Tested on Windows,Linux and Lnux 64 bit. Some tests fail on PHP 6 (tagged with XFAIL) due to bug 48658 2009-06-23 22:39:42 +00:00
andy wharmby
e4ef8e925a Fix test; remove spurious code 2009-06-18 21:53:14 +00:00
andy wharmby
a2dd5c26cd Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:14 +00:00
Hannes Magnusson
ae9ba9cd60 fix skipf 2009-06-17 10:18:42 +00:00
Felipe Pena
ccfdb9b9ad - Fixed tests 2009-06-16 19:49:04 +00:00
andy wharmby
62b2bc8d55 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:37 +00:00
andy wharmby
9faad585d4 Fix typo in test 2009-06-16 11:37:11 +00:00
andy wharmby
a1fdddce49 New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:56 +00:00
andy wharmby
f586200746 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:54 +00:00
andy wharmby
b4ef9c4950 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:05 +00:00
Pierre Joye
251b711eac - MFB: #41874, separate STDOUT and STDERR in exec functions 2009-06-09 14:07:06 +00:00
Matt Wilmas
756d134c45 Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:02 +00:00
Matt Wilmas
fa54a9d0f3 Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
 - "than" instead of "then" (Hint: "then" should hardly be needed;
     you're not telling the order in which to do something)

... plus removed a couple ending. dots
2009-06-06 02:40:14 +00:00
Matt Wilmas
88127e2328 Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:18 +00:00
Matt Wilmas
9061bf39bd Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:24:09 +00:00
Brian Shire
08f7c7f016 Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:22 +00:00
Pierre Joye
08528b4856 - fix title 2009-06-03 08:31:07 +00:00
Pierre Joye
0a170204f4 - MFB: fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 08:07:30 +00:00
Ilia Alshanetsky
ce046a899b ----------------------------------------------------------------------
Fixed test
2009-06-02 12:20:24 +00:00
Arnaud Le Blanc
df4d44d78c New test 2009-05-28 13:22:15 +00:00
Pierre Joye
20ab93a3e3 - MFB: #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:51:13 +00:00
Arnaud Le Blanc
0e4de79b40 Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:57:05 +00:00
Arnaud Le Blanc
b6b2d5d10f Test for #38802 2009-05-16 20:44:56 +00:00
Arnaud Le Blanc
d9f42826aa Minimal HTTP server to test HTTP stream wrapper 2009-05-16 20:43:54 +00:00
Arnaud Le Blanc
804ed57ad3 Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:22:29 +00:00
Felipe Pena
dd8ba68ca7 - New tests (testfest Quebec) 2009-05-16 18:26:21 +00:00
Felipe Pena
5bb1948117 - New tests (testfest CataloniaUG) 2009-05-16 14:41:03 +00:00
Christopher Jones
79be235483 New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:44:51 +00:00
Ilia Alshanetsky
a9c5adcfc6 MFB: Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns
wrong result)
2009-05-12 12:37:52 +00:00
Jani Taskinen
6a24606248 -fix path 2009-05-11 05:01:17 +00:00
Etienne Kneuss
fbb11e58c5 MFB: Add test for #48224 2009-05-10 20:13:08 +00:00
Arnaud Le Blanc
bdff89dc4f Fix default behavior of file() (FILE_TEXT flag is the default) 2009-05-08 10:01:40 +00:00
Arnaud Le Blanc
64725cb0fc MFB5.3 fix for bug #44034 (FILE_IGNORE_NEW_LINES in file() does not work as
expected when lines end in \r\n) (fixes #48175)
2009-05-08 09:50:11 +00:00
Hannes Magnusson
e3eb4f1786 MFB5.3: Fix tests 2009-05-07 08:09:36 +00:00
Matt Wilmas
e559a4ad99 Implemented manual scanning for strings/comments, plus misc. fixes
For details, see http://news.php.net/php.internals/43808
2009-05-05 01:35:13 +00:00
Zoe Slattery
498eb22d88 fixed to expect fail 2009-05-01 19:32:15 +00:00
Jani Taskinen
4661da3457 Fix test 2009-04-30 13:21:40 +00:00
Jani Taskinen
f64567bc7d -Fix test 2009-04-30 13:18:56 +00:00
Zoe Slattery
7759ba8af7 Refixing to follow documented behaviour 2009-04-29 07:49:45 +00:00
Ilia Alshanetsky
b04a12bcf1 MFB: Fixed bug #47365 (ip2long() may allow some invalid values on certain
64bit systems)
2009-04-28 22:27:26 +00:00
Antony Dovgal
70db769a3c fix test 2009-04-28 09:05:25 +00:00
Arnaud Le Blanc
34bb7e7112 Fixed tests (mostly MFB) 2009-04-25 21:12:23 +00:00
Sebastian Schürmann
9f8bf877ec Initial commit 2009-04-25 19:00:42 +00:00
Sebastian Schürmann
da32e6e2d9 - Initial commit 2009-04-25 18:33:50 +00:00
Sebastian Schürmann
ad8ab8ae5c Initial commit 2009-04-25 18:28:02 +00:00
Arnaud Le Blanc
e10005e3fe Fix test 2009-04-24 21:50:15 +00:00
Arnaud Le Blanc
4c400890ed strip_tags() fixes:
- MFH5.3 (Fix bug when < is used within attribute.)
- Fix handling of case when searching for allowed tags in unicode variant
- tests for both unicode and binary variants
2009-04-24 21:23:47 +00:00
Arnaud Le Blanc
3bc34ef8c1 Fix tests (MFB, etc) 2009-04-24 19:47:43 +00:00
Arnaud Le Blanc
e6b238275f Fix tests (mostly MFB) 2009-04-24 17:13:49 +00:00
andy wharmby
a948f79a64 Fix test 2009-04-21 08:53:27 +00:00
Arnaud Le Blanc
1c4b26258e new test 2009-04-19 13:56:16 +00:00
Dmitry Stogov
701fe7630e - Added "dechunk" filter which can decode HTTP responces with chunked transfer-encoding. HTTP streams use this filter automatically in case "Transfer-Encoding: chunked" header presents in responce. It's possible to disable this behaviour using "http"=>array("auto_decode"=>0) in stream context
- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked")
2009-04-16 10:34:15 +00:00
Antony Dovgal
b258f302ac fix parse error 2009-04-15 20:56:49 +00:00