Commit Graph

6680 Commits

Author SHA1 Message Date
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
Felipe Pena
148f4dc105 - Fixed bug #49108 (2nd scan_dir produces seg fault) 2009-07-30 12:06:40 +00:00
Felipe Pena
bdf5fbc0d5 - Fixed memleak in stream_is_local() 2009-07-29 19:09:17 +00:00
Ilia Alshanetsky
4d0e637af8 Fixed bug #45141 (setcookie will output expires years of >4 digits). 2009-07-29 13:44:16 +00:00
Jani Taskinen
527d06032d - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Felipe Pena
2d7a87dec5 - Fix compiler warnings 2009-07-27 13:21:42 +00:00
Jani Taskinen
74fa8a7bd3 - Regenerated 2009-07-26 23:22:27 +00:00
Jani Taskinen
1b1b02ae54 - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
php_url_scanner_reset_vars). (Jani)

# Note: This does not exist in PHP_5_2. Merged there as well to keep these files synced.
2009-07-26 23:20:34 +00:00
Jani Taskinen
c6b7baaa49 - Removed unused code (replaced long time ago by url_scanner_ex.* 2009-07-26 22:59:46 +00:00
Jani Taskinen
03133b0df2 - Fix test 2009-07-23 16:28:17 +00:00
Jani Taskinen
b10dc00263 - Fixed bug #48802 (printf() returns incorrect outputted length) 2009-07-23 14:54:04 +00:00
Ilia Alshanetsky
d25751680a Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes in
a chunk)         

# Original patch by andreas dot streichardt at globalpark dot com
2009-07-23 12:18:40 +00:00
David Soria Parra
f0bf1d363b - Add information whether DTrace is enable to phpinfo 2009-07-22 13:57:34 +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
Kalle Sommer Nielsen
6e3185b0fb Fix Windows build 2009-07-20 04:30:38 +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
Andrei Zmievski
d69178b56b Adjust base64_encode() according to PDM notes. 2009-07-16 22:19:09 +00:00
Andrei Zmievski
3db16aae10 Adjust rawurlencode() according to PDM notes. 2009-07-16 22:08:02 +00:00
Andrei Zmievski
28889769af Adjust urlencode() according to PDM notes. 2009-07-16 21:48:10 +00:00
Stanislav Malyshev
1c6587dc9c fix freed mem reference 2009-07-15 23:57:52 +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
Kalle Sommer Nielsen
535e251612 Move these defines to config.w32.h 2009-06-23 06:55:45 +00:00
Ilia Alshanetsky
ca74bf9e44 MFB: Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
existing headers)
2009-06-21 15:30:23 +00:00
Kalle Sommer Nielsen
663600b41d Fixed arginfo for array_map, patch by Matthew Fonda <matthewfonda@gmail.com> 2009-06-20 06:05:26 +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
Pierre Joye
a6b40a6e88 - MF53: fix readlink in TS SAPI 2009-06-16 16:53:56 +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
Pierre Joye
1c9d43d430 - silent warning 2009-06-15 08:32:18 +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
Pierre Joye
4ab529f058 - MFB: sync with 1.0.2, improve perf x86-64 (patch by Solar Designer) 2009-06-08 08:45:36 +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
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +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
Kalle Sommer Nielsen
f490cdfae3 % shouldn't be escaped here 2009-05-28 20:46:05 +00:00
Arnaud Le Blanc
df4d44d78c New test 2009-05-28 13:22:15 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Ilia Alshanetsky
2e83dd93eb MFB: Fixed bug #48313 (fgetcsv() return empty string rather then NULL for
empty rows)
2009-05-25 13:02:55 +00:00
Andrei Zmievski
afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
Arnaud Le Blanc
a7e195a07b set second argument of gettimeofday() to NULL (fixes #48346,
patch by adriano at guiadohardware dot net)
2009-05-21 14:21:18 +00:00
Jani Taskinen
a459fddd54 ws 2009-05-21 01:39:48 +00:00
Jani Taskinen
6af0033f7c - Fix non-windows builds too 2009-05-20 12:15:36 +00:00
Kalle Sommer Nielsen
4f33467dd1 Fix Windows build, dns_get_record is defined in dns_win32.c, not here 2009-05-20 08:16:56 +00:00
Jani Taskinen
1e56b53683 - Fix bug #48317 (compile failure in dns.h) (thanks to Pierre for introducing this) 2009-05-19 19:39:42 +00:00
Jani Taskinen
66c811daf9 - Unify the macros 2009-05-19 11:12:01 +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
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