Commit Graph

1891 Commits

Author SHA1 Message Date
andy wharmby
e6f4ec2f07 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:44 +00:00
andy wharmby
e64f0795e1 Fix test; remove spurious code 2009-06-18 21:53:17 +00:00
andy wharmby
7c7dd8b712 Basic tests for strftime(). Tested on Windows (all tests skip), Linux and Liinux 64 bit 2009-06-18 21:14:15 +00:00
Hannes Magnusson
d535dec2e0 fix skipif 2009-06-17 10:18:17 +00:00
Hannes Magnusson
9900d2097c fix skipif 2009-06-17 10:14:25 +00:00
Pierre Joye
02fe289540 - fix test 2009-06-17 10:10:19 +00:00
Pierre Joye
f399abb610 - missing --SKIPIF-- header 2009-06-17 10:08:01 +00:00
Felipe Pena
ef55a8a663 - Fixed tests 2009-06-16 19:49:55 +00:00
andy wharmby
d7072fa367 New strcoll error test. Tested on Windows, Linux and Linux 64. 2009-06-16 19:39:39 +00:00
andy wharmby
c731b2287f Fix typo in test 2009-06-16 11:37:13 +00:00
Pierre Joye
b4cf9d80d4 - fix title 2009-06-16 10:37:59 +00:00
Pierre Joye
1a69c562bd - fix title 2009-06-16 10:37:30 +00:00
andy wharmby
f0f302fe7f New class related tests. Tested on Windows, Linux and Linux 64. Tests written by Iain Lewis 2009-06-16 08:59:39 +00:00
Pierre Joye
8e76db4aa7 - revert last commit, should not have been applied 2009-06-16 00:17:56 +00:00
Pierre Joye
a5302d870d - #47767, include_once does not resolve windows symlinks or junctions 2009-06-16 00:13:56 +00:00
Pierre Joye
18d5751a9e - Windows ACL cache support, update existing tests and add a new one 2009-06-16 00:07:05 +00:00
andy wharmby
791b526c67 New intval() tests. Tested on Windows, Linux and linux 64 2009-06-11 22:26:51 +00:00
andy wharmby
1386f796d2 New 64 bit math tests. Tested on Windows, Linux and Linux 64 bit. Tests authored by Dave Kelsey 2009-06-11 21:17:00 +00:00
Pierre Joye
49666eece6 #41874, separate STDOUT and STDERR in exec functions 2009-06-09 00:25:37 +00:00
Matt Wilmas
dca18b68d1 MFH: 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:15 +00:00
Matt Wilmas
1fa3b21c15 MFH: 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:49 +00:00
Matt Wilmas
a80be6827d MFH: Fixed tests again after double->long conversion change (to match 5.2) 2009-06-05 17:15:33 +00:00
Matt Wilmas
26cde1ee2f MFH: 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:25:06 +00:00
Brian Shire
b39f215173 MFH: Add test for Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning 2009-06-03 19:37:26 +00:00
Pierre Joye
472d000289 - fix title 2009-06-03 08:31:24 +00:00
Pierre Joye
2f6f336205 - fix parameter order and return value check in windows (Venkat Raman Don, Pierre)' link 2009-06-03 07:56:53 +00:00
Ilia Alshanetsky
c1c9645128 Fixed test 2009-06-02 12:19:34 +00:00
Arnaud Le Blanc
23a25db653 MFH: New test 2009-05-28 13:22:28 +00:00
Ilia Alshanetsky
529bcf35c2 MFB: Improve fix for bug #48313 2009-05-24 16:01:48 +00:00
Pierre Joye
10ace3fe97 - #44859, fixed support for windows ACL, drop win9x code 2009-05-17 19:44:27 +00:00
Arnaud Le Blanc
c79528a26d MFH: Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not
update stream position of plain files)
2009-05-17 14:58:10 +00:00
Arnaud Le Blanc
8a8e036175 MFH: Test for #38802 2009-05-16 20:45:28 +00:00
Arnaud Le Blanc
ac57b7078b MFH: Minimal HTTP server to test HTTP stream wrapper 2009-05-16 20:44:05 +00:00
Arnaud Le Blanc
a2600facdd MFH: Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source
is a socket)
2009-05-16 20:23:06 +00:00
Felipe Pena
06a10f3789 - New tests (testfest Quebec) 2009-05-16 18:26:59 +00:00
Felipe Pena
837cf07807 - New tests (testfest CataloniaUG) 2009-05-16 14:41:27 +00:00
Christopher Jones
ad07803d23 MFH: New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:46:22 +00:00
Ilia Alshanetsky
c3e3d607b4 Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns wrong
result)
2009-05-12 12:34:55 +00:00
Jani Taskinen
899e56337f - Fix paths 2009-05-11 05:01:37 +00:00
Etienne Kneuss
bad0b796a8 MFB: Add test for #48224 2009-05-10 20:12:56 +00:00
Arnaud Le Blanc
7d61fa216d test for #44034 2009-05-08 09:50:34 +00:00
Hannes Magnusson
903f306a60 Fix tests 2009-05-07 08:08:00 +00:00
Felipe Pena
d64db73483 - Fixed tests 2009-05-05 18:19:16 +00:00
Matt Wilmas
09034cf3f4 MFH: Implemented manual scanning for strings/comments, plus misc. fixes 2009-05-05 01:35:44 +00:00
Kalle Sommer Nielsen
5a6d3cc42b Added E_DEPRECATED startup notice (5.3 only) 2009-05-04 21:18:22 +00:00
Jani Taskinen
73b9d33ab7 MFH: fix test 2009-04-30 13:22:13 +00:00
Jani Taskinen
a4a08dd43d MFH:fix test 2009-04-30 13:19:31 +00:00
Zoe Slattery
3bd566f7c4 Refixing to follow documented behaviour 2009-04-29 07:53:10 +00:00
Ilia Alshanetsky
7b064cf252 Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit
systems)
2009-04-28 22:27:00 +00:00
Antony Dovgal
319491b658 fix test 2009-04-28 09:04:28 +00:00
Arnaud Le Blanc
1bef730840 MFH 2009-04-25 21:13:07 +00:00
Sebastian Schürmann
7942cd2c3c - Initial commit 2009-04-25 11:33:26 +00:00
Sebastian Schürmann
a3a20e29c2 - Initial Commit 2009-04-25 11:29:52 +00:00
Sebastian Schürmann
f972956b9d - Initial commit 2009-04-25 11:23:01 +00:00
Arnaud Le Blanc
a772d7c3ef MFH 2009-04-24 19:48:41 +00:00
Arnaud Le Blanc
54958dbc7c MFH 2009-04-24 17:14:32 +00:00
andy wharmby
04250059a8 Fix test 2009-04-21 08:53:25 +00:00
Arnaud Le Blanc
790d160b6f new test 2009-04-19 13:56:08 +00:00
Zoe Slattery
11d43ac5d2 fixing incorrect --CLEAN-- sections 2009-04-16 12:28:03 +00:00
Zoe Slattery
25ff381418 fixing incorrect --CLEAN-- sections 2009-04-16 12:14:38 +00:00
Zoe Slattery
c80613cce2 fixing incorrect --CLEAN-- sections 2009-04-16 10:54:45 +00:00
Dmitry Stogov
679c6298e3 - 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:16:27 +00:00
Antony Dovgal
a31e30fafb fix parse error 2009-04-15 20:56:58 +00:00
Antony Dovgal
af4b7aca6e fix test 2009-04-15 20:54:52 +00:00
Rasmus Lerdorf
11a8e2e82e Fix the test case 2009-04-09 16:04:45 +00:00
Ilia Alshanetsky
0e59140380 MFB: Added test for php_sapi_name() 2009-04-09 13:29:01 +00:00
Rasmus Lerdorf
70c7e179de Fixed bug #44929 - Better handling of leading zeros 2009-04-08 18:10:46 +00:00
Dmitry Stogov
875a27b7ed Fixed bug #47851 (is_callable throws fatal error) 2009-04-02 09:56:33 +00:00
Matt Wilmas
f18b366ec8 MFH: Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:26 +00:00
Matt Wilmas
c27bf17f63 MFH: explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546
- Changed int to long where needed (should fix memory errors from overflow seen in bug #47854)
- Simplified logic a bit with limit and its default value
- php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later)
 - Moved declarations/allocation to optimize if the delimiter isn't found
 - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
2009-04-01 17:05:36 +00:00
Arnaud Le Blanc
513837539b MFH: fix skip-if 2009-03-27 02:35:37 +00:00
Arnaud Le Blanc
13061cf0a0 Removed deprecation warning for ticks 2009-03-27 02:32:57 +00:00
Zoe Slattery
c71cc4eda8 added skip if for root 2009-03-20 08:58:09 +00:00
Matt Wilmas
927880b5cc MFH: Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:04:10 +00:00
Scott MacVicar
bb2283bf4e MFH Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused. 2009-03-17 03:25:57 +00:00
Christopher Jones
1d5dbea704 Fix INI blocks 2009-03-17 01:52:52 +00:00
Dmitry Stogov
122232aa54 Fixed test 2009-03-16 15:00:00 +00:00
Dmitry Stogov
cc91da1bd7 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:51:32 +00:00
Brian Shire
dd031eee68 MFH: Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:14 +00:00
Brian Shire
9c16bfa194 MFH: Add proper EOF handling for language scanner. Fixes bug #46817. 2009-03-11 22:11:53 +00:00
Kalle Sommer Nielsen
9d4718e098 MFH: Fix tests 2009-03-08 06:20:00 +00:00
Zoe Slattery
456d5e9381 fixed test 2009-03-04 10:23:01 +00:00
Kalle Sommer Nielsen
627caefc4d MFH: Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:47:31 +00:00
Zoe Slattery
7834afebde removing UEXPECT 2009-03-03 09:59:36 +00:00
Felipe Pena
92775cd150 - New test 2009-02-18 22:53:56 +00:00
Zoe Slattery
1f4f3e269a Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:16:45 +00:00
Zoe Slattery
6d87ab650f bug 46680 2009-02-17 10:36:12 +00:00
Zoe Slattery
f2fc027427 fix tests 2009-02-16 20:03:47 +00:00
Zoe Slattery
237d0378e7 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:16:50 +00:00
Antony Dovgal
7a4b9d26d7 fix tests 2009-02-15 21:46:01 +00:00
Moriyoshi Koizumi
b2b61661ed - MFH: Refix bug #43840.
- MFH: Fix bug #43841.
- MFH: Remove redundant trailing dots from the error messages.
- MFH: Fix tests.
2009-02-15 07:10:29 +00:00
Zoe Slattery
ca63494a39 splitting array_chunk into smaller tests 2009-02-14 10:32:26 +00:00
Zoe Slattery
db2f7c5559 remove UEXPECT 2009-02-13 22:01:28 +00:00
Felipe Pena
d4be93e87d - Improve test 2009-02-06 10:40:28 +00:00
Felipe Pena
68cfe99fa5 - MFH: Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:20:09 +00:00
Nuno Lopes
7f6ff02f5c fix bug #46347: allow * in ini keys 2009-02-02 19:23:13 +00:00
andy wharmby
28073afe56 New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:31 +00:00
andy wharmby
dbb272789d New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:48 +00:00
andy wharmby
7c07a980ed New get_defined_vars(), get_included_files(), get_magic_quotes() and getmypid() tests. Tested on Winows, Linux and Linux 64 2009-02-01 18:55:26 +00:00
andy wharmby
1cdf8160ce New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:50 +00:00
andy wharmby
9484e82e01 New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:40 +00:00
Scott MacVicar
68c140b288 Broken test, skipif sections had a parse error 2009-01-28 22:49:14 +00:00
andy wharmby
4f3a4e597b Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:03 +00:00
Antony Dovgal
09ac5971f5 MFH use example.com 2009-01-25 23:26:45 +00:00
andy wharmby
ba1b99e4aa Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:33 +00:00
Ilia Alshanetsky
4eb69eadc6 Improved fix for bug #47174 & added a test 2009-01-25 18:27:12 +00:00
Felipe Pena
c3631156fc - Fixed tests 2009-01-25 16:53:07 +00:00
Zoe Slattery
450c5afedf added INI and fixed assert02 to run on PHP6 and PHP53 2009-01-25 11:06:36 +00:00
Antony Dovgal
ff3ee30872 fix test 2009-01-24 22:02:36 +00:00
andy wharmby
4e71f2a5fc New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:25 +00:00
andy wharmby
ada3990c1a Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:38 +00:00
Dave Kelsey
0610bbd12a deleted invalid test. 2009-01-23 18:56:51 +00:00
Dave Kelsey
f94acf2a27 added some mail tests. Tested on windows, linux and linux 64bit 2009-01-23 17:12:08 +00:00
Kalle Sommer Nielsen
73b17408fb MFH: Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:49:49 +00:00
Dave Kelsey
2a4fc75c54 various network tests. tested on windows, linux, linux 64 bit 2009-01-23 15:34:21 +00:00
andy wharmby
294364dfee Fix names of new image files. 2009-01-23 11:18:36 +00:00
Zoe Slattery
1efa1bae64 fix tests 2009-01-23 09:43:35 +00:00
Zoe Slattery
e7c8c5d526 fix tests 2009-01-23 09:23:22 +00:00
andy wharmby
d8ab16b683 New image tests. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 22:59:57 +00:00
Zoe Slattery
62c51d8d2d fixed test 2009-01-22 22:04:34 +00:00
Zoe Slattery
20b20bbdb3 fixed test 2009-01-22 20:52:33 +00:00
Dave Kelsey
4ce8a47875 fstat tests. tested on windows, linux and linux 64 bit 2009-01-22 20:49:42 +00:00
andy wharmby
ba5407d065 Fix test 2009-01-22 00:23:01 +00:00
Dmitry Stogov
a928b88da9 Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD 2009-01-21 19:07:40 +00:00
Antony Dovgal
30a0135d18 fix tests 2009-01-21 12:50:10 +00:00
andy wharmby
de5f62bba9 Fix SKIPIF logic 2009-01-20 23:19:44 +00:00
andy wharmby
6a5b8a57e5 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:36 +00:00
andy wharmby
d4e765f4a6 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:31 +00:00
Dmitry Stogov
666bf10d1a Removed wrong warning message 2009-01-20 13:21:52 +00:00
Dmitry Stogov
d1958eeea8 Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-20 11:22:45 +00:00
Pierre Joye
d0c201d3f4 - [DOC] add support for fnmatch() on Windows
- enable tests (pass)
2009-01-20 01:40:06 +00:00
andy wharmby
71d0cd594c New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:18 +00:00
Zoe Slattery
f9de6e62a9 fixing the test to expect PHP6 and PHP53 behaviour 2009-01-19 16:16:48 +00:00
andy wharmby
a7e129f217 New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:44 +00:00
andy wharmby
0a34f4ad2c New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:47 +00:00
andy wharmby
68b5346285 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:41 +00:00
andy wharmby
b83859120d New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:51:02 +00:00
andy wharmby
571650e64d New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:39 +00:00
andy wharmby
2075498207 New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:45 +00:00
andy wharmby
b819f60eed New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:29 +00:00
andy wharmby
cdef2ee23b New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:35:00 +00:00
andy wharmby
18a6f9e55d New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:26 +00:00
Felipe Pena
5b1026966b - Fixed test 2009-01-17 17:59:51 +00:00
andy wharmby
98076f58db New trim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 16:41:15 +00:00
andy wharmby
d70ea4bc8a New ltrim() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 15:47:59 +00:00
andy wharmby
80ef307033 New string tests. Tested on Windows, Linux and Linu 64 bit 2009-01-16 22:46:08 +00:00
andy wharmby
7cf16584df New string function tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-16 12:53:27 +00:00
andy wharmby
1de33abc50 New test for strripos() string function. All tests checked on Windows, Linux and Linux 64 bit. 2009-01-15 13:40:05 +00:00
andy wharmby
582b32c426 Fixed base64_decode variation tests and new base64_encode test. Tested on Windows, Linux and Linux64 bit 2009-01-14 14:38:58 +00:00
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
Felipe Pena
f2fc267e3a - MFH: New parameter parsing API (for min() and max()) 2008-08-10 17:50:44 +00:00
Pierre Joye
c269ad9173 - MFH: fix string len 2008-08-10 14:15:53 +00:00
Arnaud Le Blanc
71e50de4fc MFH: Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:26:13 +00:00
Arnaud Le Blanc
4cf7d9bf6f MFH: Fixed test 2008-08-10 12:05:00 +00:00
Arnaud Le Blanc
f1917e104b MFH:
Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:41 +00:00
Antony Dovgal
d9e29376f8 disable the test on AIX 2008-08-09 22:35:24 +00:00
Antony Dovgal
a00ca091eb fix typo 2008-08-09 21:02:38 +00:00
Felix De Vliegher
c94f8b4a1c Basic and error tests for stream_filter_remove() 2008-08-07 22:31:10 +00:00
Arnaud Le Blanc
c93fbf629b MFH:
Added clear_realpath_cache and filename parameters to clearstatcache() (Jani,
Arnaud)
[DOC] clearstatcache() now defaults to not affect the realpath cache.
clearstatcache() now takes two optionnal parameters, clear_realpath_cache to
clear the realpath cache (defaults to false), and filename to clear only the
given filename from the cache.
2008-08-07 09:25:33 +00:00
Antony Dovgal
53a957e5f8 MFH: fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:24 +00:00
Stanislav Malyshev
4bd1aec2f9 fix memnstr bug, by Laurent Gaffie 2008-08-05 20:14:27 +00:00
Jani Taskinen
a032e1a514 MFH:- Add test for bug #45712 2008-08-05 12:36:47 +00:00
Arnaud Le Blanc
cb9dad9d1a MFH: Fixed test 2008-08-05 10:10:39 +00:00
Arnaud Le Blanc
5eb7ed7316 Allow urlencode()d filer names in php://filter 2008-08-02 06:35:41 +00:00
Johannes Schlüter
b9f7b21ec1 MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:18:17 +00:00
Dmitry Stogov
af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Felipe Pena
44f1ef210d - MFH: New parameter parsing API 2008-07-24 12:49:11 +00:00
Dmitry Stogov
feb8580166 LSB parent/self forwarding 2008-07-24 09:42:18 +00:00
Lars Strojny
6579ba27a6 array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:37:23 +00:00
Felipe Pena
0bbed66ede - MFH: New parameter parsing API 2008-07-23 19:34:35 +00:00
Jani Taskinen
12c066136b MFH: Fix test (bug #44985) 2008-07-23 14:15:19 +00:00
Antony Dovgal
16ace1828e fix test 2008-07-23 10:26:45 +00:00
Antony Dovgal
c4b8d7149f fix test 2008-07-23 09:29:21 +00:00
Arnaud Le Blanc
f11ae4d440 MFH: Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:27:17 +00:00
Scott MacVicar
d8d69652dd MFH: Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:21:16 +00:00
Felipe Pena
fdfbfb96a1 - MFH: Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:09:24 +00:00
Scott MacVicar
6c48a01f40 MFH: Fix integer oveflow in strrpos() 2008-07-22 01:10:58 +00:00
Hannes Magnusson
ee40f557a7 Fix tests (patch by Lars) 2008-07-21 12:23:38 +00:00
Kalle Sommer Nielsen
769cb023fb MFH 2008-07-21 11:09:36 +00:00
Kalle Sommer Nielsen
f204fdddb1 Fix test on Windows 2008-07-21 09:32:56 +00:00
Dmitry Stogov
331a4e46a4 Fixed test 2008-07-20 16:20:02 +00:00
Felipe Pena
c3453925c5 - Deprecate ticks 2008-07-17 19:29:34 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Scott MacVicar
a9d60c014b MFH: Fix bug when < is used within attribute. 2008-07-15 14:46:12 +00:00
Felix De Vliegher
0adb8c0b10 Tests for strpbrk(), testfest.php.net task #91 and #92. 2008-07-15 11:14:42 +00:00
Josie Messa
be5633612a - Tests from TestFest
- Have slightly modified similar_text_error.phpt from original file
2008-07-14 15:27:19 +00:00
Felipe Pena
8ea5ae6c9a - MFB: Fixed bug #45485 (strip_tags and <?XML tag) 2008-07-11 12:25:38 +00:00
Antony Dovgal
46f41aded1 MFH 2008-07-11 09:17:10 +00:00
Antony Dovgal
0c8d3ebe9c MFH 2008-07-11 09:15:44 +00:00
David Soria Parra
f41c78ddbb PHP Testfest. Tests done by Felix De Vliegher 2008-07-10 23:46:49 +00:00
Antony Dovgal
8eeaf9df95 capitalize multibyte support 2008-07-08 08:37:56 +00:00
Olivier Hill
e360ff7476 New parameter parsing API 2008-07-03 20:19:26 +00:00
Antony Dovgal
bd07572494 fix test 2008-07-03 09:46:10 +00:00
Antony Dovgal
9ed8580b54 fix test 2008-07-03 09:22:17 +00:00
Antony Dovgal
63d6d67aa7 fix tests 2008-07-03 07:41:58 +00:00
Dmitry Stogov
f7938051d4 Use new parameter parsing API 2008-07-01 10:01:09 +00:00
Felipe Pena
d7f5edd988 - Fixed tests 2008-06-26 11:15:48 +00:00
Felix De Vliegher
4f7961b31a Tests for lchown(), testfest.php.net task number 129. 2008-06-26 09:10:54 +00:00
Olivier Hill
c5ec48e858 New parameter parsing API 2008-06-25 12:16:17 +00:00
David Coallier
0674689940 - Tests for parsing parameter api 2008-06-24 22:51:57 +00:00
Felix De Vliegher
048736a907 Tests for ob_get_flush(), testfest task number #131. 2008-06-24 10:31:02 +00:00