Commit Graph

6508 Commits

Author SHA1 Message Date
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