Commit Graph

6680 Commits

Author SHA1 Message Date
Jani Taskinen
f3f8bd086e - Fixed bug #49286 (php://input (php_stream_input_read) is broken) 2009-08-20 12:40:15 +00:00
Jani Taskinen
fd9a1fa1b3 - Merge missing commit by Ilia from PHP_5_3: Make filters without a resource throw E_RECOVERABLE_ERROR rather then E_ERROR 2009-08-20 12:19:49 +00:00
Jani Taskinen
f6dcba571e - WS + CS + sync 2009-08-20 12:17:32 +00:00
andy wharmby
b59f4b245c New basic test for md5(). Tested on Windows, Linux and Linux 64 bit 2009-08-19 08:39:33 +00:00
andy wharmby
0855be02d7 New str_replace() tests. All tested on Windows, Linux and Linux 64 2009-08-17 22:41:30 +00:00
andy wharmby
aea600260b New basic tests for uniqid(). Tested on Windows, Linux and Linux 64 bit 2009-08-17 14:22:02 +00:00
andy wharmby
db6a41487d New basic string tests - includes back-porting a few existing tests back to 5.2. All tested on Windows, Linux and Linux 64 2009-08-17 10:37:30 +00:00
Felipe Pena
044a5f90b6 - Fix ZTS build && removed unused vars 2009-08-15 16:05:06 +00:00
Stanislav Malyshev
721b51d2df cleanup string parameter parsing, fix some tests 2009-08-15 05:43:18 +00:00
Dmitry Stogov
7511c183ff Fixed crash in usort() and uasort() in case user comparison function modifyes th
e array.
2009-08-14 06:21:49 +00:00
Scott MacVicar
ed5b573242 Fix build on platforms where crypt isn't always available 2009-08-12 09:18:41 +00:00
Stanislav Malyshev
f9af0d4c3b fix potential memory issue on serialization
# When internal class uses zend_mangle_property_name it's malloc()
# so it should be freed with free()
2009-08-11 22:46:07 +00:00
Pierre Joye
064d0ff3c0 - fix and improve dns' AAAA support on windows 2009-08-10 08:05:11 +00:00
Rasmus Lerdorf
a564ce3717 Tweak a few tests that failed on OSX 2009-08-10 06:53:49 +00:00
Rasmus Lerdorf
3b3f13eb61 The system error here may not be "Filename too long". On OSX, for example,
it is "Invalid ioctl" in this case.
2009-08-09 14:20:54 +00:00
Rasmus Lerdorf
d80dac8aae Skip this test on osx because ceil(-0.5) doesn't return -0 like
everywhere else because of weird optimizations.
2009-08-09 05:16:17 +00:00
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
Rasmus Lerdorf
cb734537f4 Restore intra-string whitespace collapsing broken in the previous change. 2009-08-08 14:39:34 +00:00
Pierre Joye
08dfcbc864 - [DOC] Fixed #49183 patch for VC6, NAPTR is only available in VC9+ build 2009-08-08 13:01:13 +00:00
Rasmus Lerdorf
238a8a2ebd Oops, true/false are not defined on Linux. They are on OSX. 2009-08-07 17:32:31 +00:00
Rasmus Lerdorf
88849ce511 Only skip leading 0's - fixes a test I broke a while ago 2009-08-07 17:14:19 +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
Pierre Joye
6625a196ff - Fixed #49183, dns_get_record does not return NAPTR records 2009-08-07 13:31:09 +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
Scott MacVicar
da8bbc0ad0 Deal with moving to res_nsearch(). dns_search() on OSX lacks an error handler, might revert to using straight bind9. 2009-08-06 04:37:07 +00:00
Scott MacVicar
afcc47ef85 Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code. 2009-08-06 01:33:54 +00:00
Scott MacVicar
118b42f142 Remove usage of res_nmkquery and res_nsend. We essentially were just doing a res_search() anyway, though now we use res_nsearch() with our own state.
This also adds support for using the high level <dns.h> API on OSX which in turns allows use of bind9 (finally).
2009-08-06 00:10:46 +00:00
Scott MacVicar
80d7dee7d6 Change dns.h to php_dns.h, part of my dns cleanup 2009-08-05 23:20:17 +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
Ilia Alshanetsky
116abdde65 Added missing handling for ICO support 2009-08-04 14:34:44 +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
Antony Dovgal
9618b85b65 fix memleak and possible segfault in HTTP fopen wrapper 2009-08-04 09:24:48 +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
f44f3a31cd - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32) 2009-08-03 19:05:56 +00:00
Felipe Pena
69dc1f80fd - CS 2009-08-03 15:58:18 +00:00
Felipe Pena
f59b07f3ad - Improved. No ugly copy. (Tony) 2009-08-03 13:26:15 +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
Antony Dovgal
eb219d11cb revert bogus memleak fix causing Valgrind to scream 2009-08-03 08:45:28 +00:00
Felipe Pena
53debf4a9f - Fixed tests 2009-08-01 15:46:50 +00:00
Kalle Sommer Nielsen
fef66b3c2d Kill compiler warnings 2009-08-01 14:45:42 +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
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