Commit Graph

6597 Commits

Author SHA1 Message Date
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
88aac9b1b1 Fixed bug #38802 (max_redirects and ignore_errors)
(patch by datibbaw@php.net)
2009-05-16 20:34:08 +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
Moriyoshi Koizumi
4306389206 * Roll it back then. I wonder if defaulting it to SORT_REGULAR would work well
and I think allowing user-supplied comparator should make more sense when it
  comes to objects.
2009-05-15 17:02:34 +00:00
Christopher Jones
79be235483 New array_multisort() test and code comment fix (Simon Westcott) 2009-05-15 16:44:51 +00:00
Greg Beaver
16cc6e6b64 fix potential free of NULL 2009-05-14 13:36:44 +00:00
Kalle Sommer Nielsen
1ee612bb2d Fix compiler warnings, safe_emalloc expects size_t, not double as ceil returns 2009-05-13 16:29:03 +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
Etienne Kneuss
b2d291aa82 MFB: Fix #48224 (Remove incorrect shuffle) 2009-05-10 16:45:30 +00:00
Johannes Schlüter
bb2178bee0 Remove bad CREDITS file
# I'd welcome sane proposals for ext/standard credits, there are ca. 20 people
# mentioned as "Author" and >100 people who committed into *.c here
2009-05-09 22:33:55 +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
65f951b561 Missing check 2009-05-08 10:00:09 +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
Jani Taskinen
0ad777e011 - Fixed bug #45092 (header HTTP context option not being used with --with-curlwrappers)
[DOC] Synced regular and cURL http wrapper "header" option to accept
[DOC] either string or array.
2009-05-05 00:30:40 +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
Felipe Pena
c0386a0851 - Fixed bug #48087 (call_user_method() invalid free of arguments) 2009-04-27 12:50:00 +00:00
Ilia Alshanetsky
557dfd5abc Fixed compiler warning 2009-04-26 15:53:52 +00:00
Arnaud Le Blanc
34bb7e7112 Fixed tests (mostly MFB) 2009-04-25 21:12:23 +00:00
Arnaud Le Blanc
1de42cc3cb gen 2009-04-25 21:09:23 +00:00
Arnaud Le Blanc
06d6eecd83 Fix version 2009-04-25 21:08:54 +00:00
Arnaud Le Blanc
a35363db1c Handle HEAD output handler flags
(fixes ext/standard/tests/general_functions/bug44394.phpt)
2009-04-25 21:07:07 +00:00
Arnaud Le Blanc
14e482909e Fix memleak in set_include_path()
(ext/standard/tests/file/file_put_contents_variation5.phpt)
2009-04-25 21:06:01 +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
ed413db14d Fix handling of escaped double quotes 2009-04-24 21:50:51 +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
Pierre Joye
a8b66c3777 - silent compiler warning 2009-04-20 06:55:11 +00:00
Pierre Joye
92c0740aaa - use the new OB API (and fix build) 2009-04-20 06:36:05 +00:00
Pierre Joye
466d7eb992 - nuke unused vars
- silent warnings
2009-04-20 06:35:43 +00:00
Arnaud Le Blanc
6b213bffb6 Better fix for #47997 2009-04-19 17:09:47 +00:00
Ilia Alshanetsky
8b72164991 MFB: Fixed bug #47937 (system() calls sapi_flush() regardless of output
buffering)
2009-04-19 15:00:11 +00:00
Arnaud Le Blanc
1c4b26258e new test 2009-04-19 13:56:16 +00:00
Arnaud Le Blanc
069c0fdc80 MFB5.3: Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams) 2009-04-19 13:50:25 +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
Antony Dovgal
fe8901af9e fix test 2009-04-15 20:54:45 +00:00
Ilia Alshanetsky
312a969a8e MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS) 2009-04-15 14:25:20 +00:00
Rasmus Lerdorf
e965a7d95c Don't strip leading zeros on floating point numbers
and fix the test case
2009-04-09 16:08:34 +00:00
Ilia Alshanetsky
775421e821 MFB: Added test for php_sapi_name() 2009-04-09 13:29:15 +00:00
Andrei Zmievski
11960bfb40 Fix Rasmus's patch for bug #44929. 2009-04-08 20:12:27 +00:00
Rasmus Lerdorf
452f71b63c Fixed bug #44929 - Better handling of leading zeros
This is obviously not going to work for Unicode strings, but the whole
function needs to be rewritten, so keep it in synch with the other
branches for now.
2009-04-08 18:18:49 +00:00
Dmitry Stogov
f970a1e5c3 Fixed bug #47851 (is_callable throws fatal error) 2009-04-02 09:56:53 +00:00
Matt Wilmas
9880e99dde Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:12 +00:00
Scott MacVicar
e009672cd2 MFB Rebuild credits, was missed in previous RC 2009-04-02 09:24:16 +00:00
Kalle Sommer Nielsen
11d630b9e9 We dont need to escape % here, it just generates a compiler warning 2009-04-02 05:16:55 +00:00
Matt Wilmas
5557b49982 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:04:17 +00:00
Arnaud Le Blanc
f5e4506988 fix skip-if 2009-03-27 02:35:10 +00:00
Felipe Pena
6517b087aa - Removed unused declaration 2009-03-26 22:30:05 +00:00
Felipe Pena
b474e18f6c - Removed unused variables 2009-03-26 22:16:48 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Dmitry Stogov
e2923b2414 Fixed bug #47038 (Memory leak in include) 2009-03-25 15:24:51 +00:00
Zoe Slattery
ec3ee30a75 added skipif for root 2009-03-20 09:09:34 +00:00
Dmitry Stogov
83a6de49b1 Fixed floating point mathematic speed degradation (Christian) 2009-03-18 10:49:36 +00:00
Felipe Pena
f3d11b4415 - Fix version && year++ 2009-03-17 23:02:22 +00:00
Matt Wilmas
0c20069851 Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:02:05 +00:00
Pierre Joye
85181631ed - MFB: s,win32,windows, and add myself to the list 2009-03-17 15:38:24 +00:00
Scott MacVicar
43842949b7 Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused. 2009-03-17 03:25:44 +00:00
Christopher Jones
eddf2540da Fix INI blocks 2009-03-17 01:50:34 +00:00
Dmitry Stogov
6401ae5c7e Fixed test 2009-03-16 15:00:11 +00:00
Dmitry Stogov
d3e3c4e666 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:52:26 +00:00
Brian Shire
b9a54927b4 Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:01 +00:00
Brian Shire
b7ff76c6da Add proper EOF handling for language scanner. Fixes bug #46817. Removes dos newlines from a previous commit. 2009-03-11 22:11:41 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Kalle Sommer Nielsen
caf1a0686b Fix tests 2009-03-08 06:19:40 +00:00
Kalle Sommer Nielsen
3980b634fd Fixed bug #47546 (Default value for limit parameter in explode is 0, not -1) 2009-03-03 11:46:20 +00:00
Felipe Pena
c8a0d5b741 - New test 2009-02-18 22:53:44 +00:00
Felipe Pena
87a3fbe716 - Fixed bug #47443 (metaphone('scratch') returns wrong result) 2009-02-18 22:33:22 +00:00
Zoe Slattery
ef44fefd30 Increased the sleep() from 1 to 5 to prevent intermittent failures 2009-02-17 15:13:20 +00:00
Zoe Slattery
d4c3c93a26 bug 46680 2009-02-17 10:34:10 +00:00
Zoe Slattery
150db492f6 fix tests 2009-02-16 20:08:02 +00:00
Zoe Slattery
d1b12c9a30 exit -1 and exit -2 don't work for all sh. changed to exit 1 2009-02-16 13:15:49 +00:00
Antony Dovgal
0efa5b6d79 fix test 2009-02-15 21:48:07 +00:00
Moriyoshi Koizumi
1e2ad13cfc - Fix tests. 2009-02-15 07:04:59 +00:00
Zoe Slattery
3efea3ac4c splitting array_chunk into smaller tests 2009-02-14 10:29:22 +00:00
Moriyoshi Koizumi
76072c674a - These should be E_WARNING for consistency with strpos() 2009-02-14 06:59:36 +00:00
Andrei Zmievski
b7d4fa920e Revert bogus fix for #47370. 2009-02-13 22:35:18 +00:00
Moriyoshi Koizumi
6db49f953a * Fix bug #47370 (BC breakage of array_unique()) 2009-02-12 18:29:15 +00:00
Dmitry Stogov
85a3b81fb2 Fixed bug #47329 (Crash in garbage collector) 2009-02-09 10:47:19 +00:00
Antony Dovgal
0ba8f49faf fix unicode implementation 2009-02-06 14:38:18 +00:00
Felipe Pena
47114aaa8b - Improve test 2009-02-06 10:40:16 +00:00
Felipe Pena
b72183b595 - New test 2009-02-06 10:18:40 +00:00
Felipe Pena
9054c069b3 - Fixed bug #47322 (sscanf %d does't work) 2009-02-06 10:17:51 +00:00
Nuno Lopes
8e2aa6f979 MFB: fix #46347 2009-02-02 19:25:30 +00:00
andy wharmby
32ea850bde New set_magic_quotes() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:29:29 +00:00
andy wharmby
cf39017ced New php_uname() tests. Tested on Windows, Linux and linux 64 2009-02-01 19:17:46 +00:00
andy wharmby
3a400e979a 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:24 +00:00
andy wharmby
d1980d9c57 New escapeshellarg() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:39:47 +00:00
andy wharmby
054f6e1075 New floatval() tests. Tested on Windows, Linux and Linux 64 2009-02-01 18:32:38 +00:00
andy wharmby
5e6736ac7a Split-ip var_export.phpt and add new error tests. Tested on Windows, Linux and Linux 64 bit 2009-01-26 22:27:06 +00:00
Antony Dovgal
0c6969bfd8 use example.com instead of real domain name 2009-01-25 23:26:30 +00:00
andy wharmby
5d1abfce5c Split is_callable test. Test on Windows, Linux and Linux 64 bit 2009-01-25 22:16:37 +00:00
Ilia Alshanetsky
7264697c34 MFB: Improved fix for bug #47174 & added a test 2009-01-25 18:27:58 +00:00
Zoe Slattery
ecda7b7f77 added INI settings 2009-01-25 11:03:15 +00:00
Antony Dovgal
3d1df9ad31 expect -> expectf 2009-01-24 22:02:13 +00:00
Antony Dovgal
7c6c3a835b fix test 2009-01-24 22:01:24 +00:00
andy wharmby
9fd66a6a57 New get_extension_funcs() and getrusage() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-24 12:47:36 +00:00
andy wharmby
555ff7b176 Make test more robust; avoid hangs if fsockopen() fails. Tested on Windows, Linux and Linux 64 bit 2009-01-23 23:49:40 +00:00
Dave Kelsey
9367eac046 deleted invalid test. 2009-01-23 18:56:55 +00:00
Dave Kelsey
0fe72d9026 added some mail tests. Tested on windows, linux and linux 64bit 2009-01-23 17:12:15 +00:00
Kalle Sommer Nielsen
6776d26fdc Windows support for stream_socket_pair(), by moving the socketpair() implementation from ext/sockets to win32/ 2009-01-23 15:48:58 +00:00
Dave Kelsey
8a81441f6a various network tests. tested on windows, linux, linux 64 bit 2009-01-23 15:34:26 +00:00
andy wharmby
976fe83053 Fix names of new image files. 2009-01-23 11:18:37 +00:00
Zoe Slattery
63276d0402 fix tests 2009-01-23 09:41:48 +00:00
Zoe Slattery
d189ffac79 fix tests 2009-01-23 09:21:25 +00:00
andy wharmby
fcce538d82 New image tests. Tested on WIndows, Linux and Linux 64 bit 2009-01-22 22:59:58 +00:00
Zoe Slattery
3234eeda67 fixed tests 2009-01-22 22:01:04 +00:00
Zoe Slattery
d504b65dd8 Fixed test 2009-01-22 20:51:54 +00:00
Dave Kelsey
e22a0e3daf fstat tests. tested on windows, linux and linux 64 bit 2009-01-22 20:49:48 +00:00
Dmitry Stogov
494f56c870 Fixed realpath() behavior to support "c:dir" as "c:\dir", and "\dir" on UNC CWD 2009-01-21 19:11:50 +00:00
Ilia Alshanetsky
c706c84c7f MFB: Fixed bug #47174 (base64_decode() interprets pad char in mid string as
terminator)
2009-01-21 15:45:45 +00:00
andy wharmby
ff9642d482 Fix SKIPIF logic 2009-01-20 23:19:47 +00:00
andy wharmby
0ce35ae860 New stripcslashes() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 22:54:39 +00:00
Ilia Alshanetsky
22839f881e MFB: Added an E_NOTICE when precision value is truncated 2009-01-20 18:03:33 +00:00
andy wharmby
9c2283fe02 New vfprintf() tests. Tested on Window, Linux and Linux 64 bit 2009-01-20 14:19:40 +00:00
Dmitry Stogov
b5c6e15ab8 Removed wrong warning message 2009-01-20 13:22:26 +00:00
Dmitry Stogov
2c2ba5c2c3 Fixed bug #47165 (Possible memory corruption when passing return value by reference) 2009-01-20 11:23:04 +00:00
Pierre Joye
a351279a2f - MFB
- [DOC] add support for fnmatch() on Windows
 - enable tests (pass)
2009-01-20 01:41:19 +00:00
andy wharmby
4fb370c1ff New substr_replace() and unpack() error tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 17:13:17 +00:00
Zoe Slattery
d03ca98d06 fixing the test to expect PHP6 and PHP53 behaviour 2009-01-19 16:15:17 +00:00
andy wharmby
2c593dd95c New vprintf() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 16:03:40 +00:00
andy wharmby
ce85cecb55 New strval() tests. Tested on Windows, Linux and Linux 64 bit. 2009-01-19 15:54:45 +00:00
andy wharmby
8be7bef0a6 New tests for str_pad(), str_shuffle(), stristr() and strlen(). Tested on WIndows, Linux and Linux 64 bit 2009-01-19 15:46:36 +00:00
Antony Dovgal
9ea96c467a fix memleaks in sscanf() 2009-01-19 09:52:14 +00:00
Pierre Joye
0eee659e5a - include php win32's time.h 2009-01-19 02:31:18 +00:00
andy wharmby
be123b0de8 New nl_langinfo(), number_format() and ord() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 22:51:00 +00:00
andy wharmby
310cc4c912 New hebrev() and hebrevc() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 21:59:36 +00:00
andy wharmby
ef6e2c572e New sha1f() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 19:37:43 +00:00
andy wharmby
4786d297ad New sscanf() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:40:25 +00:00
andy wharmby
5235b762e3 New explode() tests. Tested on Windows. Linux and Linux 64 bit 2009-01-18 14:34:15 +00:00
andy wharmby
364cf9ae6b New money_format() tests. Tested on Windows, Linux and Linux 64 bit 2009-01-17 22:52:12 +00:00
Felipe Pena
37a953d466 - Removed XFAIL 2009-01-17 20:42:05 +00:00
Felipe Pena
ca0451c6f9 - Fixed bug #47102 (strripos issues unexpected warning with UNICODE haystack) (Noticed by Andy Wharmby) 2009-01-17 20:36:22 +00:00
Felipe Pena
fd175c9940 - Fixed test 2009-01-17 18:29:17 +00:00