Commit Graph

26605 Commits

Author SHA1 Message Date
Rui Hirokawa
cc74264764 MFH: fixed bug #60227 (header() cannot detect the multi-line header with CR(0x0D).) 2011-11-10 14:24:31 +00:00
Rui Hirokawa
db5d9c0b66 MFH: fixed bug #60116 (escapeshellcmd() cannot escape the characters which cause shell command injection). 2011-11-10 14:19:06 +00:00
Felipe Pena
6781229e88 - Make valgrind happy with session_decode_error2.phpt 2011-11-09 23:50:01 +00:00
Felipe Pena
cc8d433454 - Initialize BG(serialize_lock) to make valgrind happy 2011-11-09 22:16:31 +00:00
Christopher Jones
8006a6723c Add tests for unsupported types 2011-11-09 06:19:07 +00:00
Stanislav Malyshev
3598185a74 fix bug #55475 - implement is_a BC solution 2011-11-09 05:27:45 +00:00
Antony Dovgal
50f5c1e9b2 bail out if reading HTTP headers failed 2011-11-08 14:12:37 +00:00
Dmitry Stogov
cacf363957 Fixed bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction()) 2011-11-08 10:11:25 +00:00
Xinchen Hui
0ac9b9b0ae Fix tests 2011-11-08 06:35:07 +00:00
Stanislav Malyshev
5063a77128 Fixed bug #54084 (token_get_all with regards to __halt_compiler is not binary safe) 2011-11-08 04:59:17 +00:00
Christopher Jones
76d68f8dbd Improve OCI8 NLS env creation error messages (#58925) 2011-11-07 20:10:41 +00:00
Ferenc Kovacs
7888715e73 the mandatory __construct() for SPL classes was reverted in r318566 2011-11-05 16:49:56 +00:00
Rui Hirokawa
d6015ff972 MFH: added japanese encoding to maintain compatibility with PHP 5.3. 2011-11-05 04:44:16 +00:00
Patrick Allaert
9da01ac6b6 Added test for #60104 2011-11-04 19:13:37 +00:00
Christopher Jones
0a2bf3ee32 Bump OCI8 version to 1.4.7 stable in preparation for PHP 5.3.9 2011-11-03 22:13:34 +00:00
Christopher Jones
623b4231b5 Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS 2011-11-03 21:52:59 +00:00
Ulf Wendel
58f40c0345 Improving test to reflect latest API changes 2011-11-03 17:39:39 +00:00
Florian Anderiasch
8343d05e85 Redid the fix for #60192 with suggestions by Pierre and Kalle 2011-11-03 16:20:11 +00:00
Andrey Hristov
de50e98a07 Add a middleman which can intercept the calls and can reroute them 2011-11-02 17:06:30 +00:00
Arpad Ray
11d6fcdba0 fix calling user close func when it isn't open 2011-11-02 16:53:22 +00:00
Johannes Schlüter
539a0f3bd3 - Fix bug #60155 (pdo_mysql.default_socket ignored). 2011-11-02 15:45:53 +00:00
Andrey Hristov
2627fafcbd - shift a bit of code around
- when cloning use the methods of the original object
2011-11-02 15:08:01 +00:00
Rui Hirokawa
77477945b3 MFH: fixed alias and encoding mapping for emoji logo. 2011-11-02 14:51:56 +00:00
Andrey Hristov
989f2fbc14 fix trace log messages 2011-11-02 14:20:35 +00:00
Peter Cowburn
9b86852d6e add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201) 2011-11-02 13:24:46 +00:00
Derick Rethans
c1d520d19d - Updated to version 2011.14 (2011n) 2011-11-02 10:58:51 +00:00
Dmitry Stogov
fd28dfc569 Prevent possible integer overflow 2011-11-02 08:07:12 +00:00
Florian Anderiasch
294c28f885 Fix #60192 SegFault when Collator not constructed properly 2011-11-02 07:36:52 +00:00
Christopher Jones
735efbdd04 Update for new Oracle patchset variation 2011-11-01 21:30:57 +00:00
Rasmus Lerdorf
d2881adcbc Fix bug 60183 2011-11-01 15:15:51 +00:00
Florian Anderiasch
58a134fb48 Fixed #60160 and added a test for it 2011-11-01 11:51:53 +00:00
Christopher Jones
c4eb5f2387 OCI8: improve initialization error message (See bug 60154) 2011-10-31 20:48:25 +00:00
Andrey Hristov
92ec40d8e4 Now really split the method tables and have different
methods for the handle and the data object.
Add auxiliary functions to work with the new methods.
Add possibility to clone a connection object - shadow copy.
2011-10-31 14:33:56 +00:00
Andrey Hristov
8fb6bdd5b8 Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA.
A step in the direction of keeping internal data private
2011-10-31 11:46:24 +00:00
Rui Hirokawa
c1a4a36c14 MFH: fixed alias of encoding. 2011-10-30 08:40:51 +00:00
Gustavo André dos Santos Lopes
32f7337bd4 - Reverted changes that required constructor overrides to invoke the parent
constructor in several SPL classes and applied 5.3 fixes instead.
  Related bugs: #54384, #55175 and #55300
2011-10-29 23:17:18 +00:00
Andrey Hristov
7edb8a69b6 Bump internal version id after recent changes 2011-10-26 09:00:32 +00:00
Andrey Hristov
f926a3c07d Move from directly referencing an aggregated structure to using a
pointer to a structure. The structure is still aggregated but we add
a level of indirection for possible plugins to overwrite the storage
2011-10-25 23:01:49 +00:00
Christopher Jones
8eb4386c87 oci8 - Increase Oracle error message length for 11.2.0.3+ 2011-10-25 22:01:42 +00:00
Andrey Hristov
3295415cce Add hooks for __call like functionality and also allow to
handle calls that spread over two internal functions. Let's call it
a local TX.
2011-10-25 19:04:36 +00:00
Derick Rethans
d74a8a6e3f - Updated to version 2011.13 (2011m) 2011-10-24 15:19:08 +00:00
Pierre Joye
97076fa68e - fixed bug #60120, proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes 2011-10-24 12:39:55 +00:00
Andrey Hristov
4321da0388 move plugin specific stuff to one file. create object factory
for similar objects
2011-10-24 12:34:44 +00:00
Pierre Joye
20422c2653 - win9x is not supported anymore since 5.3 2011-10-24 10:53:17 +00:00
Rui Hirokawa
5add615494 MFH: removed invalid two byte sequenct for utf-8. 2011-10-23 11:54:34 +00:00
Ferenc Kovacs
8066746c73 adding SKIP_SLOW_TESTS checks for the slow tests, and additionaly sync the domains used in the ext/standard/tests/network/getmxrr.phpt with the other branches 2011-10-23 10:09:29 +00:00
Andrey Hristov
e111b23dd7 fix the build 2011-10-21 15:36:36 +00:00
Andrey Hristov
652490d43a shift code around to two new files - mysqlnd_driver.c
and mysqlnd_ext_plugin.c (mysqlnd extension plugin)
2011-10-21 15:28:58 +00:00
Stanislav Malyshev
d81ea16ef1 Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Xinchen Hui
380a1ea142 Fixed bug #60094 (C++ comment fails in c89) 2011-10-19 15:08:50 +00:00
Andrey Hristov
efb68d9399 api_ext to reverse_api 2011-10-19 15:04:12 +00:00
Michael Wallner
b6921369b5 Fix Bug #55801 Behavior of unserialize has changed:
(un)serialize in __wakeup/__sleep now use clean var_hashes
2011-10-19 10:09:24 +00:00
Daniel Convissor
f2ce9b406b Tests for the DST RFC. 2011-10-18 21:45:07 +00:00
Rui Hirokawa
41ddca803d fixed maximum byte length of utf8mb4. 2011-10-18 14:28:21 +00:00
Rui Hirokawa
0d73145490 MFH: fixed byte length of utf-8. 2011-10-18 14:04:13 +00:00
Ilia Alshanetsky
d4ae4e79db Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects with numeric string properties) 2011-10-17 23:51:25 +00:00
Stanislav Malyshev
63b934b9c7 revert change, doesn't work 2011-10-16 02:43:50 +00:00
Stanislav Malyshev
0a1cc5f01c fix potential integer overflow 2011-10-15 23:57:33 +00:00
Stanislav Malyshev
1551cc62db fix openbasedir in test 2011-10-15 23:52:40 +00:00
Rui Hirokawa
a1de339e17 added a missing emoji U+27BF. 2011-10-15 07:12:02 +00:00
Felipe Pena
4168e0dfe4 - Fixed bug #60048 (sa_len a #define on IRIX)
patch by: china at thewrittenword dot com
2011-10-13 22:56:05 +00:00
Andrey Hristov
bbf59ae4da export this existing function 2011-10-12 16:18:02 +00:00
Felipe Pena
d080277d97 - Fixed bug #60033 (Incorrectly merged PDO dblib patches break uniqueidentifier column type) 2011-10-12 01:24:51 +00:00
Felipe Pena
71eaaf6567 - Fixed bug #60042 (spl_autoload_call may manipulate a dangling pointer)
patch by: tom at punkave dot com
2011-10-12 01:03:15 +00:00
Andrey Hristov
b5f5770399 MYSQLND_NET refactored not to use any direct reference to MYSQLND (the connection)
QC will need an ifdef-layer to compile with this
2011-10-10 20:49:28 +00:00
Andrey Hristov
33eb2ab6f1 last stat fix 2011-10-10 15:45:56 +00:00
Andrey Hristov
c75a4a408b fix test after stat change 2011-10-10 14:39:22 +00:00
Andrey Hristov
d4e0ef5dc9 fix another test after stat change 2011-10-10 14:33:07 +00:00
Andrey Hristov
90ef61d587 fix test 2011-10-10 14:19:01 +00:00
Andrey Hristov
085c3de991 fix test 2011-10-10 13:25:45 +00:00
Andrey Hristov
236fb29289 fix test 2011-10-10 12:50:09 +00:00
Derick Rethans
6c1fe05d61 - Updated to version 2011.12 (2011l) 2011-10-10 08:05:55 +00:00
Christian Stocker
eb039d5783 Added the xsl.security_prefs option to 5_4 and trunk and
mark it as deprecated for BC-reasons
Added tests for ini option and combination of both
2011-10-10 07:59:19 +00:00
Andrey Hristov
1744885c62 null the value before usage 2011-10-08 14:48:14 +00:00
Andrey Hristov
5b1efc1d87 Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
eb0f361439 Be consistent, add mysqli::stat property, as equivalent of mysqli_stat().
Fix for Bug #55859 mysqli->stat property access gives error
2011-10-06 11:25:05 +00:00
Andrey Hristov
c3019a16d5 try not to crash when closing persistent sockets, because EG(persistent_list)
is cleaned before the extensions' MSHUTDOWNs are called.
2011-10-06 00:45:58 +00:00
Andrey Hristov
3cddf1d7b5 Fix bad cast which leads to crashes! 2011-10-05 18:51:15 +00:00
Pierre Joye
2f3adeb083 - Revert r313616 (When we have a blocking SSL socket, respect the timeout
option, scottmac)

# This caused bug #55283 and #55848, we should investigate a proper solution without
# breaking anything.
2011-10-05 05:20:51 +00:00
Ilia Alshanetsky
567e2f1cf3 Fixed bug #55750 (memory copy issue in sysvshm extension). 2011-10-03 18:17:12 +00:00
Felipe Pena
66d25f5266 - Improve void arg check
- Removed unused variable
- Added check for empty tag in enchant_broker_request_dict() (to avoid assert warning)
2011-10-01 13:01:12 +00:00
Xinchen Hui
50662f83ec A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Hannes Magnusson
5fba3ba7c3 Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY) 2011-09-30 14:17:23 +00:00
Hannes Magnusson
3dabada846 Use the default stream context for FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator 2011-09-30 14:12:26 +00:00
Xinchen Hui
0e6250fcff Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Gustavo André dos Santos Lopes
ecfa660a82 - Fixed #55798: serialize followed by unserialize with numeric object prop.
gives integer prop.
2011-09-28 14:47:42 +00:00
Gustavo André dos Santos Lopes
736ada5931 - Oops missed return. Also improved the readability of a test. 2011-09-27 11:43:07 +00:00
Gustavo André dos Santos Lopes
5ae7564890 - Added tests and NEWS for r306475; see bug #55797.
- Removed now redundant previous overflow check, which relied on
  undefined behavior (wraparound) and was ignored in optimized builds.
2011-09-27 10:57:25 +00:00
Antony Dovgal
38d485ca41 fix bug #55768 (PDO_OCI can't resume Oracle session after it's been killed) 2011-09-27 09:12:13 +00:00
Ferenc Kovacs
3b4b1a79b6 split the ext/calendar/tests/bug53574.phpt into two test, as we expect different result on 32 and 64 bit 2011-09-27 00:53:41 +00:00
Ferenc Kovacs
9c2f27a380 fix #49599, the eol-style is important here, as this is a regression test for #36459 2011-09-26 23:28:24 +00:00
Gustavo André dos Santos Lopes
05389f7752 - Fixed bug in SdnToGregorian (see comments on #53574, though that bug is about
another function). NEWS & tests tomorrow.
2011-09-26 22:38:21 +00:00
Christopher Jones
4e4ad9aa26 Use TZ similar to easter_date.phpt else gcov et al give a diff for unixtojd(1000000000) 2011-09-26 19:13:06 +00:00
Derick Rethans
1cab3610de - Updated to version 2011.11 (2011k) 2011-09-26 17:23:00 +00:00
Pierre Joye
60bf324ed5 - Fix bug #55622, better fix for this issue, old fix can break if sizeof(size_t) > sizeof(int) like on sparc 2011-09-26 08:36:33 +00:00
Johannes Schlüter
223e2ac106 - Fix folding 2011-09-25 13:06:09 +00:00
Johannes Schlüter
9da3e6c1a6 - Fix bug #55776 (PDORow to session bug) 2011-09-25 12:39:05 +00:00
Rui Hirokawa
96240fc3ed revert the previous patch. 2011-09-25 08:22:58 +00:00
Rui Hirokawa
d050fa87d4 MFH: added mb_ereg_replace_callback(). 2011-09-25 08:15:50 +00:00
Xinchen Hui
3fd08b3bd4 Fix tests due to bison depened message format 2011-09-25 03:35:57 +00:00
Xinchen Hui
579408b897 Fix warning "implicit declaration of function `zend_fetch_debug_backtrace'" 2011-09-25 03:18:39 +00:00
Rui Hirokawa
a6a3bd010a MFH: fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:12:17 +00:00
Rasmus Lerdorf
46f74e3523 Add a test and declare the local vars locally 2011-09-23 15:19:48 +00:00
Xinchen Hui
c58f254354 Improve the warning message of incompatible arguments. (#55719)
And fix tests related.
2011-09-23 15:08:11 +00:00
Rasmus Lerdorf
f5ec360df7 Fix for bug #55767 2011-09-23 13:16:37 +00:00
Rui Hirokawa
d938844d8f MFH: fixed a bug in convertion table and added test script for emoji. 2011-09-23 11:11:38 +00:00
Ferenc Kovacs
a52d3efe08 the TZ environment variable also needed to be set here, didn't dug up why date.timezone isn't sufficient 2011-09-22 22:29:28 +00:00
Ferenc Kovacs
75893abe89 skip the interbase tests if cannot connect to the server 2011-09-22 22:07:02 +00:00
Ferenc Kovacs
f71b3cdd67 the julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to 2452162 2011-09-22 21:50:45 +00:00
Ferenc Kovacs
0839aee404 it seems that easter_date doesn't use the date.timezone but the TZ environment variable, so it passing the return value of easter_date() to date() which uses the date.timezone will create wrong result. 2011-09-22 20:59:10 +00:00
Ilia Alshanetsky
172d037068 Removed unreachable code (stream == NULL check is done already) 2011-09-21 19:08:30 +00:00
Johannes Schlüter
679c87e999 - Use the proper variable here. 2011-09-21 12:34:15 +00:00
Michael Wallner
3e221129a7 fix r316992 2011-09-19 15:20:38 +00:00
Michael Wallner
85a62e9086 Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression 2011-09-19 14:37:00 +00:00
Johannes Schlüter
2122879a7a - Fix folding 2011-09-19 12:31:06 +00:00
Pierre Joye
6c2b670e69 - fix build (macros mess) 2011-09-17 12:41:23 +00:00
Pierre Joye
a68abe830d - fix TS build 2011-09-17 10:24:18 +00:00
Xinchen Hui
26c1a62b34 Fix Bug #55703(PHP crash when calling mysqli_fetch_fields)
Since the catalog values always is "def" now, see http://dev.mysql.com/doc/refman/5.0/en/c-api-data-structures.html
2011-09-17 03:12:23 +00:00
Felipe Pena
39c6382b14 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-09-17 00:01:45 +00:00
Christopher Jones
b5edcb56cb Test portability fix 2011-09-16 19:56:32 +00:00
Pierre Joye
c6b74fe209 - add -win32 versions and skipif 2011-09-16 10:45:04 +00:00
Dmitry Stogov
d6ab6bc6ea Fixed Windows build 2011-09-16 06:55:43 +00:00
Christopher Jones
a0526b9452 Fix skipif for non zlib builds re message http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/phar/phar_object.c#351 2011-09-15 17:23:29 +00:00
Xinchen Hui
610fabf414 Update libmagic.patch (patch reversed base on -r296679) 2011-09-15 15:53:49 +00:00
Xinchen Hui
c32aa35d58 Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.
2011-09-15 07:09:43 +00:00
Arpad Ray
aaa86e2287 fix default session handler error message 2011-09-14 15:30:30 +00:00
Gustavo André dos Santos Lopes
4de9123b85 - ext/openssl/tests/bug36732.phpt more portable. 2011-09-14 10:55:46 +00:00
Gustavo André dos Santos Lopes
428ef23067 - Fixed test ext/openssl/tests/004.phpt.
- Made ext/openssl/tests/bug55646.phpt more reproducible by giving it a custom
  openssl.cnf.
2011-09-14 09:56:59 +00:00
Xinchen Hui
7bd4924bf7 Fix test, Make warning message bison independed 2011-09-14 08:49:29 +00:00
Xinchen Hui
7e5307cc79 Fix tests 2011-09-14 06:48:26 +00:00
Xinchen Hui
5412b2885d Add test for bug #55688 2011-09-14 05:02:50 +00:00
Xinchen Hui
ed4251860a Fix bug #55688 (Crash when calling SessionHandler::gc())
Need arpad to review this change
2011-09-14 04:10:45 +00:00
Xinchen Hui
17ff990ef0 Fix warning "implicit declaration of function `vasprintf'" 2011-09-14 02:19:22 +00:00
Felipe Pena
b034032ae2 - Fixed memory leak when calling SessionHandler::open() several times 2011-09-14 01:45:57 +00:00
Arpad Ray
739151d388 fix session oo tests for windows 2011-09-14 01:16:19 +00:00
Arpad Ray
f8a943cc19 fix zts break in r316688 2011-09-13 23:07:08 +00:00
Arpad Ray
47cfae87eb Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo) 2011-09-13 22:28:15 +00:00
Ferenc Kovacs
6e998b4d0f I don't see why would be this a win only test. it works for me on linux, checked the history, find no explanation. 2011-09-13 21:06:06 +00:00
Daniel Convissor
7987fde4c1 Separate test for %a is no longer needed. 2011-09-13 20:31:02 +00:00
Ferenc Kovacs
e82139d2e0 fixing the tests, added the error_log= to the --INI-- so it should also pass for Stas 2011-09-13 19:56:42 +00:00
Ilia Alshanetsky
292c439ecf Improve parameter handling cod 2011-09-13 16:36:29 +00:00
Pierre Joye
4f50e84eae - test passes now (and VC6 is not supported anymore) 2011-09-13 16:21:24 +00:00
Derick Rethans
58daa3fd3a - Removed support for putenv("TZ=..") for setting the timezone.
- Removed the timezone guessing algorithm in case the timezone isn't set with
  date.timezone or date_default_timezone_set(). Instead of a guessed timezone,
  "UTC" is now used instead.
2011-09-13 14:48:13 +00:00
Pierre Joye
631e896b34 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:58:03 +00:00
Pierre Joye
ad407423cb - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:51:47 +00:00
Pierre Joye
ad2a280016 - TZ auto detection varies, not always UTC 2011-09-13 13:42:03 +00:00
Pierre Joye
3c61b48625 - TZ auto detection varies, not always UTC 2011-09-13 13:39:49 +00:00
Dmitry Stogov
4a25a7740d Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Pierre Joye
3a3c2942d2 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:26:48 +00:00
Xinchen Hui
e29ee12223 MFH, fix test 2011-09-13 13:02:57 +00:00
Xinchen Hui
54d48bb31f Fixed Bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated records) which was introduced by r311543 2011-09-13 12:44:13 +00:00
Pierre Joye
b108db222e - fix test on win, putenv is not supported for TZ and ext/date 2011-09-13 12:04:57 +00:00
Pierre Joye
198bb6780a - skip on win, strftime uses system TZ 2011-09-12 23:31:22 +00:00
Gustavo André dos Santos Lopes
b6aabaae59 - Test for bug #55646. 2011-09-12 20:05:07 +00:00
Gustavo André dos Santos Lopes
1d5028be3d - Fixed bug #55646: textual data is returned in UTF-8, but is input in
another encoding. 5.4 only as this implies a BC break.
2011-09-12 17:23:10 +00:00
Hannes Magnusson
76d9a3fa3d Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Ilia Alshanetsky
9915700fa1 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Derick Rethans
8b39370878 - Updated to version 2011.10 (2011j) 2011-09-12 15:49:12 +00:00
Ulf Wendel
c5523b5689 This should please gcov.php.net which hits error 1044 instead of 1049. 2011-09-12 15:05:10 +00:00
Tjerk Anne Meesters
828c07c500 Reverted changes in connect.inc based on Ulf's feedback
- Moved the ini_set() entries into a separate script 'setupdefault.inc'
- Let mysql_affected_rows and mysql_insert_id test cases use the newly created script

With the ini_set() statements inside connect.inc, some test cases would be forced to 'undo' them in order to test other scenarios.

Tested on all three dev lines with and without passing db credentials. No changes detected.
2011-09-12 14:35:45 +00:00
Ulf Wendel
078cbac1d2 Fix typo. 2011-09-12 13:55:28 +00:00
Popa Adrian Marius
13b1e46370 fix warning Warning: ibase_drop_db(): lock time-out on wait transaction object 2011-09-12 13:41:28 +00:00
Ulf Wendel
2472bf8898 Minor issue. Seems to fail the same way on various PHP + MySQL combinations. Setting XFAIL until we fix it. 2011-09-12 13:39:57 +00:00
Hannes Magnusson
2c5574b3d8 Allow replacement to be any scalar value 2011-09-12 13:21:57 +00:00
Rui Hirokawa
15fd9c288c MFH: fixed optional argument. 2011-09-12 13:20:27 +00:00
Ulf Wendel
ca79494000 Hits libmysql/MySQL bug, works with mysqlnd 2011-09-12 13:14:16 +00:00
Pierre Joye
4ce7228b00 - revert incorrect fix introduced in r316528 2011-09-12 12:59:52 +00:00
Christian Stocker
cc2fd64121 Added test for XSL bug 54446 2011-09-12 12:44:49 +00:00
Ulf Wendel
9bbb03391f Those will fail with MySQL 5.5. Running them because they have unveiled a crash, which has been fixed already. Setting to XFAIL, need to be decide if and/or how the functionality shall be supported. 2011-09-12 12:14:56 +00:00
Hannes Magnusson
ee27f57095 Ensure we are working with strings here 2011-09-12 11:44:55 +00:00
Popa Adrian Marius
ee1ed6743e fixes #55659 also the 006 firebird test 2011-09-12 09:36:37 +00:00
Pierre Joye
8bab4d155c - unused var 2011-09-12 09:27:03 +00:00
Hannes Magnusson
413f94913d Fixed issues when streams were closed before curl read/write from them, or cleaning
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Popa Adrian Marius
c845e06541 extension is not experimental anymore
see the status http://www.gn0s1s.nl/?p=108
2011-09-11 22:11:30 +00:00
Popa Adrian Marius
99d3297e8a fix test 003 from gconv test for firebird extension 2011-09-11 20:18:20 +00:00
Rui Hirokawa
6675883d81 MFH: fixed test failure on win32. 2011-09-11 13:15:48 +00:00
Rui Hirokawa
2d6ff8dc5c MFH: fixed test failure on win32. 2011-09-11 13:04:38 +00:00
Rui Hirokawa
5894909f01 MFH: fixed test case failures. 2011-09-11 12:29:15 +00:00
Rui Hirokawa
59b9ca51b0 MFH: fixed test case failures. 2011-09-11 12:12:48 +00:00
Rui Hirokawa
b870f23396 revert previous commit. 2011-09-11 03:56:16 +00:00
Rui Hirokawa
1dd6fd0d4f revert previous commit. 2011-09-11 03:55:08 +00:00
Rui Hirokawa
9d86be5068 MFH: removed test script which depends on the removed register_globals. 2011-09-11 02:16:58 +00:00
Felipe Pena
f6408176f6 - Fix test 2011-09-10 13:02:00 +00:00
Stanislav Malyshev
666d301ee3 Fix error message 2011-09-10 05:36:14 +00:00
Stanislav Malyshev
334636fefb revert bad test change 2011-09-10 05:29:29 +00:00
Xinchen Hui
6b57319cf4 Fixed Bug #55653(PS crash with libmysql when binding same variable as param and out)
Actually this caused by attempt to efree a INTERNED string
2011-09-10 03:51:16 +00:00
Ulf Wendel
61384510f1 Bug #55653 2011-09-09 12:12:08 +00:00
Hannes Magnusson
a2c1d37d4f Being smart and cleanup/rename/modify tests seconds before committing isn't very smart. 2011-09-09 08:28:57 +00:00
Hannes Magnusson
7cbaf76ca1 Merge tests from trunk 2011-09-09 08:14:04 +00:00
Pierre Joye
7a3d89a9aa - nuke unused var 2011-09-09 07:57:29 +00:00
Pierre Joye
2d9f758435 - improve r316420, function must return a value 2011-09-09 07:56:42 +00:00
Pierre Joye
de12ac023c - improve r316420 (SplFileObject cannot and should not accept directories) 2011-09-08 23:12:32 +00:00
Etienne Kneuss
1e04e19a37 MFH: adapt check for __construct bypass 2011-09-08 23:10:40 +00:00
Pierre Joye
38c698c062 - improve r316420 (SplFileObject cannot and should not accept directories) 2011-09-08 23:07:48 +00:00
Christopher Jones
e81fed3df5 Update SKIPIFs for test portability 2011-09-08 20:13:32 +00:00
Christopher Jones
8e23ee53bf Fix skipifs 2011-09-08 17:52:45 +00:00
Christopher Jones
0a8e670b15 Fix skipifs to match other tests for the case when connection fails 2011-09-08 17:40:15 +00:00
Pierre Joye
376ba8c92e - force LF 2011-09-08 16:10:07 +00:00
Etienne Kneuss
5cc7663098 SplFileObject does not accept directories. It did not check for that and blindly opened the directory, which works on linux but fails on windows. Now SplFileObject uses a stat() call to make sure it isn't a directory, if it is, it fails with an exception. Tests have been changed accordingly. 2011-09-08 15:52:59 +00:00
Rui Hirokawa
f79814360c 2nd arguments is necessary in mb_parse_str because register_globals was removed in PHP 5.4. 2011-09-08 15:19:18 +00:00
Hannes Magnusson
285ac82310 Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec 2011-09-08 14:37:18 +00:00
Pierre Joye
0507a433a3 - fix test, again... 2011-09-08 11:52:37 +00:00
Ferenc Kovacs
b82f0659c6 skip these tests if can't connect to mysql 2011-09-08 11:30:58 +00:00
Pierre Joye
923c02bbdc - fix test 2011-09-08 11:24:33 +00:00
Pierre Joye
8e7f4358ca - force LF and fix... and blame me for not reading the code correctly, zlib tests pass now, linux/bsd/win 100% 2011-09-08 10:20:38 +00:00
Pierre Joye
a1ea21eaac - force LF 2011-09-08 10:14:38 +00:00
Pierre Joye
567fb34eb3 - skip if no hash 2011-09-08 10:00:47 +00:00
Hannes Magnusson
7e986b2a46 Fix the path to the .pem 2011-09-08 09:27:47 +00:00
Christopher Jones
ff02132caf Use unique object names to reduce potential clashes when testing in parallel 2011-09-07 19:19:00 +00:00
Rasmus Lerdorf
6f03c9e38e This test was added to verify that bug 39322 was fixed, which the test
does test for and this works. However, it consistently failed because
it relied on a SIGHUP not terminating a sh -c /usr/bin/nohup sleep 50
process which doesn't work because the SIGHUP goes to the sh process
not the nohup'ed sleep process. So, I have sped up the test and removed
the nohup and instead of trying to SIGHUP I am just doing the equivalent
of a kill 0 on it to verify that the resource sticks around.
2011-09-07 18:09:34 +00:00
Ilia Alshanetsky
b6f512cae6 Fixed tests (skip when catch-all DNS such as openDNS is being used) 2011-09-07 15:31:48 +00:00
Rui Hirokawa
0d2aa8591b MFH: fixed invalid utf-8 check. 2011-09-07 14:30:38 +00:00
Hannes Magnusson
e5553b210a Revert r316345 which fixes all the tests again 2011-09-07 13:50:18 +00:00
Hannes Magnusson
c4039f6481 Fix errormessage 2011-09-07 13:47:31 +00:00
Johannes Schlüter
70561e9a6d - Use myslqnd by default when MySQL extensions are activated but no path given 2011-09-07 13:33:56 +00:00
Pierre Joye
59614b05c4 - reject paths with trainling spaces using the very good new zend arg 2011-09-07 12:33:22 +00:00
Hannes Magnusson
04044dd07e Fix cleanup routines 2011-09-07 12:05:19 +00:00
Pierre Joye
a2252e527f - skip on win, diff TZ format 2011-09-07 11:26:59 +00:00
Hannes Magnusson
a68943fc69 The error message is different when built with zts 2011-09-07 10:41:38 +00:00
Hannes Magnusson
45118176f5 Update skipif 2011-09-07 10:39:55 +00:00
Hannes Magnusson
3171c31bbc Sync tests between branches and fix the getcontent test 2011-09-07 10:38:53 +00:00
Hannes Magnusson
51d36f744a Update skipif message 2011-09-07 10:34:58 +00:00
Pierre Joye
828cf36a7f - force LF (svn prop and config) 2011-09-07 10:12:04 +00:00
Pierre Joye
67d1b69429 - fix test for OS where dir sep is \ 2011-09-07 09:19:28 +00:00
Pierre Joye
6ee31df599 - fix test for OS where dir sep is \ 2011-09-07 09:03:07 +00:00
Pierre Joye
8dc7e3d8c6 - add skipif for dom 2011-09-07 08:12:08 +00:00
Stanislav Malyshev
38ff70ef25 Commit Gustavo's closure rebinding patch as desided by vote 2011-09-07 06:46:27 +00:00
Xinchen Hui
b1263c4363 fix skipif description 2011-09-07 00:59:10 +00:00
Xinchen Hui
ab9db759b9 fixed typo 2011-09-07 00:56:52 +00:00
Andrey Hristov
be89aa686a Fix problems with the unbuffered set detection, for libmysql, which resulted
in always true. Thanks Stas.
2011-09-06 19:52:19 +00:00
Stanislav Malyshev
6577512462 improve open_basedir handling 2011-09-06 19:51:35 +00:00
Pierre Joye
82b14d2f86 - fix #55622, mem corruption on large input 2011-09-06 17:41:08 +00:00
Ulf Wendel
d73b285950 Fixing SKIPIF 2011-09-06 16:39:55 +00:00
Johannes Schlüter
7420cf22bc - Fix bug #55609 (mysqlnd cannot be built shared)
# This adds an option --enable-mysqlnd to explicitly built mysqlnd, like any
# other extension it can be used with =shared to build mysqlnd shared;
# mysqlnd will implicitly enabled when requested from another extension
2011-09-06 16:38:22 +00:00
Ulf Wendel
b8ecb0c4af Fixing SKIPIF 2011-09-06 16:37:45 +00:00
Ulf Wendel
cd0c221f82 Fixing SKIPIF fatal error. 6.0 is history, thus SKIPIF might need further updates? 2011-09-06 16:30:53 +00:00
Ulf Wendel
0f31db8d11 More parenthesis, credits to Nikita Popov 2011-09-06 16:13:03 +00:00
Pierre Joye
520e26718f - useless skipif 2011-09-06 15:49:28 +00:00
Hannes Magnusson
211806eb73 Add a constant, READLINE_LIB, to be able to differenciate which lib is being used 2011-09-06 15:09:15 +00:00
Hannes Magnusson
b1dd2f4e68 Fixed bug#54450 (callback function when built against libedit) 2011-09-06 15:07:24 +00:00
Andrey Hristov
049a7c49cd add query information to the trace log 2011-09-06 14:48:43 +00:00
Ulf Wendel
257131c0e0 BORK hunting - Fixing SKIPIF 2011-09-06 14:47:57 +00:00
Ulf Wendel
f5e4b5f1c5 Fix SKIPIF 2011-09-06 13:57:03 +00:00
Ulf Wendel
8bc4572b9e Fix SKIPIF 2011-09-06 13:50:45 +00:00
Ulf Wendel
cfb4fa47ad Prevent Notice 2011-09-06 13:39:46 +00:00
Ulf Wendel
faeae7ea47 Reverting to proper --INI-- section usage. Improve SKIPIF to skip test if open_basedir setting is too restrictive during test run for whatever reason. 2011-09-06 12:58:01 +00:00
Pierre Joye
48586679c6 - use only zlib function and reported the failure with base64 in #55620 2011-09-06 12:30:17 +00:00
Hannes Magnusson
1efe10a84b Mention which library php is using 2011-09-06 11:28:34 +00:00
Pierre Joye
efc45f8b60 - use a more portable name for the filename 2011-09-06 11:24:21 +00:00
Florian Anderiasch
52124aa09c MFH: Fixed ext/sockets/tests/socket_strerror.phpt
So it seems a missing ) killed the test.
2011-09-06 11:15:23 +00:00
Xinchen Hui
ddd98a9adc move it to right place 2011-09-06 09:45:21 +00:00
Xinchen Hui
42fd7352fb Add skipif 2011-09-06 09:29:04 +00:00
Pierre Joye
50fc27d119 - missing --SKIPIF-- 2011-09-06 09:28:23 +00:00
Pierre Joye
fafe247265 - move it to the right place 2011-09-06 09:23:10 +00:00
Pierre Joye
c21652d6e1 - fix skipif msg 2011-09-06 09:20:14 +00:00
Xinchen Hui
30718d0f14 Added skipif 2011-09-06 09:17:12 +00:00
Xinchen Hui
96ca3f1981 add skipif 2011-09-06 08:11:37 +00:00
Pierre Joye
feaf544ee4 - add skipif 2011-09-06 07:49:31 +00:00
Pierre Joye
8995250ee5 - fix test 2011-09-06 07:47:20 +00:00
Pierre Joye
c4c86324ec - fix test 2011-09-06 07:44:43 +00:00
Pierre Joye
d8016e05f4 - skip on win 2011-09-06 07:32:37 +00:00
Pierre Joye
702a5de5ac - add skipif 2011-09-06 07:29:59 +00:00
Pierre Joye
ce70e2b8fd - add skipif 2011-09-06 07:28:38 +00:00
Pierre Joye
71cda5ea0a - use something we know it exists... 2011-09-06 07:26:05 +00:00
Pierre Joye
d29a253629 - skip on win, name.. name. are not valid names 2011-09-06 07:23:20 +00:00
Pierre Joye
6402150c91 - add skipif 2011-09-06 07:09:56 +00:00
Pierre Joye
bb4f29c234 - don't test dir sep 2011-09-06 07:07:23 +00:00
Pierre Joye
9a3da11206 - add skipif 2011-09-06 06:57:53 +00:00
Pierre Joye
dd855aec8b - add skipif 2011-09-06 06:52:26 +00:00
Pierre Joye
0878034b62 - add skipif 2011-09-06 06:50:56 +00:00
Pierre Joye
09b6360c71 - add skipif 2011-09-06 06:47:12 +00:00
Pierre Joye
6be168b22d - add skipif 2011-09-06 06:44:59 +00:00
Pierre Joye
380aac7189 - add skipif 2011-09-06 06:42:11 +00:00
Stanislav Malyshev
d7ba64b4cd unused variables 2011-09-06 05:31:08 +00:00
Stanislav Malyshev
7f56f7eb69 allow user streams to override ch* on windows too 2011-09-06 05:28:25 +00:00
Stanislav Malyshev
6280a6bdf9 fix redirect when test run from different places 2011-09-06 05:21:56 +00:00
Stanislav Malyshev
119601b0d3 fix test 2011-09-06 05:20:51 +00:00
Stanislav Malyshev
fa5f7f61ba use DBUG_ON flag for checking debug
# Some libmysql builds don't define DBUG_OFF and non-debug builds are more frequent
2011-09-06 05:20:05 +00:00
Stanislav Malyshev
cbbf6bda4c this tests looks mysqlnd only 2011-09-06 05:13:47 +00:00
Pierre Joye
e403d5832a - add skipif 2011-09-05 19:59:42 +00:00
Ulf Wendel
797ac9ad3e No more test failure for libmysql, http://news.php.net/php.internals/55210 2011-09-05 16:24:40 +00:00
Andrey Hristov
5308ed60f3 Fix for Bug #55582 mysqli_num_rows() returns always 0 for unbuffered, when mysqlnd is used 2011-09-05 15:29:45 +00:00
Xinchen Hui
f249361559 Fixed tests (due to error message changed) 2011-09-05 15:05:51 +00:00
Xinchen Hui
6a4153db0c Fixed compiler warning "incompatible pointer type" 2011-09-05 15:02:21 +00:00
Shein Alexey
27ffd82f38 Reduced timeout in this test to 1ms, no need to wait further. 2011-09-05 14:43:08 +00:00
Pierre Joye
493808af3d - add skipif 2011-09-05 13:52:24 +00:00
Pierre Joye
6b424c19ce - add skipif 2011-09-05 13:41:01 +00:00
Pierre Joye
830fce0c7c - use the same test on win 2011-09-05 13:37:30 +00:00
Pierre Joye
2e853f026a - close the stream before removing the file (win and other system may lock it) and use test dir for tmp data 2011-09-05 13:31:13 +00:00
Pierre Joye
7b75be20a7 - sync&fix test with 5.3 2011-09-05 13:23:25 +00:00
Pierre Joye
e4337c0b27 - fix test, slash or back slash can be present 2011-09-05 13:13:37 +00:00
Pierre Joye
ea6b874ef0 - stupid me. 2011-09-05 13:06:51 +00:00
Pierre Joye
cd749225d5 - disable on win 2011-09-05 13:05:28 +00:00
Johannes Schlüter
2778bd3e11 Fix #ifdef for mixed builds (ext/mysql using myslqnd, mysqli using libmysql) 2011-09-05 13:05:15 +00:00
Pierre Joye
90237836f8 - disable on win 2011-09-05 13:04:12 +00:00
Pierre Joye
b2eed23e0c - other hostname can be defined or returned first 2011-09-05 12:34:55 +00:00
Hannes Magnusson
37dc06ea83 typo 2011-09-05 12:00:24 +00:00
Hannes Magnusson
3d6fcf06d1 Fix the test in 5.4 and trunk.
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
2011-09-05 11:07:38 +00:00
Pierre Joye
0f8594f753 - not used anymore, one version to rule them all 2011-09-05 11:00:52 +00:00
Shein Alexey
5f5b7175ea Make the test faster, what was done:
1) replaced multiple htmlentities calls with one call to get_html_translation table since they share the same code internally
2) reduced the upper range of the "for" loop to 0x2710 (10000), according to http://www.w3.org/TR/html4/sgml/entities.html it's enough
3) placed additional check to make sure all entities from get_html_translation_table were checked in the test
2011-09-05 11:00:14 +00:00