Commit Graph

26648 Commits

Author SHA1 Message Date
Gustavo André dos Santos Lopes
5b383dacdf - Updated UPGRADING, protos and attribution in ext/intl/idn/idn.c 2011-11-24 22:45:50 +00:00
Gustavo André dos Santos Lopes
fa4fe63944 - Support for UTS #46. 2011-11-24 17:54:50 +00:00
Derick Rethans
d0a898d2a2 - Fixed bug #60236 (TLA timezone dates are not converted properly from
timestamp).
- Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
  time zone type 2).

And fixed some test cases.
2011-11-24 17:13:47 +00:00
Pierrick Charron
70136445cb Revert commit r319729 until I have a clean version for non-ZTS 2011-11-24 12:49:11 +00:00
Xinchen Hui
e013725516 Fixed bug #60367 (Reflection and Late Static Binding) 2011-11-24 09:16:11 +00:00
Pierrick Charron
da2797108f Implemented FR #55540, added functions curl_share_init(), curl_share_setopt() and curl_share_close(). 2011-11-23 22:20:28 +00:00
Pierrick Charron
517e28309d Fix build for libcurl < 7.20.0 2011-11-23 19:36:52 +00:00
Ulf Wendel
77025b71e1 Fix test 2011-11-23 16:47:22 +00:00
Ulf Wendel
785b68a109 Message can vary depending on server version 2011-11-23 16:38:50 +00:00
Dmitry Stogov
b3522ffdcb Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL: Extra content at the end of the doc, when server uses chunked transfer encoding with spaces after chunk size) 2011-11-23 10:49:42 +00:00
Pierrick Charron
bafdf84528 Fixed bug #54995 2011-11-23 05:45:27 +00:00
Felipe Pena
9a98ccff5e - Fixed memory leak when calling the Finfo constructor twice 2011-11-23 01:20:49 +00:00
Felipe Pena
d0839fc837 - Fix build (using libcurl 7.21.0) 2011-11-22 21:10:24 +00:00
Felipe Pena
16fbcf7188 - Fix the fix (thanks Chris Jones!) 2011-11-22 19:18:34 +00:00
Pierrick Charron
fe1bf12552 Fix test to remove dependancy over php.net 2011-11-22 18:50:57 +00:00
Pierrick Charron
fff23f12bd Add new cURL CURLOPT_* options 2011-11-22 17:33:48 +00:00
Pierrick Charron
33d3eb1e43 Fixed bug #55635 2011-11-22 17:13:26 +00:00
Ulf Wendel
aeaa4b3da6 Skipping with libmysql. If a documentation points to more or less unmaintained wiki contents, I take it as a request to stop testing a feature. Can't tell if I get false positive, hit a bug or not. This is not libmysql testing. Its PHP MySQL API testing. 2011-11-22 16:52:42 +00:00
Andrey Hristov
0e31a00117 use the method in all builds. Thus it can be used for detection
of state transitioning in every case
2011-11-22 16:38:06 +00:00
Felipe Pena
b370f94866 - Fix the fix 2011-11-22 15:12:44 +00:00
Felipe Pena
718374ac2a - Fixed possible memory leak in finfo_open() 2011-11-22 15:04:19 +00:00
Felipe Pena
97d7f9e112 - Fixed invalid free in call_user_method() function 2011-11-22 12:47:08 +00:00
Felipe Pena
f6fb9fc2b2 - Fixed memory leak in several Intl locale functions 2011-11-22 12:29:15 +00:00
Xinchen Hui
6f5ca6f280 Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string conversion") 2011-11-22 10:11:06 +00:00
Pierrick Charron
d47dffc1b8 Fix this test to work with all version (even old) of libcurl 2011-11-22 08:29:26 +00:00
Pierrick Charron
18e4f02921 Fix memory leak when using libcurl < 7.17.0 2011-11-22 05:19:37 +00:00
Felipe Pena
18768584e2 - Fixed possible crash in mb_ereg_search_init() using empty pattern 2011-11-21 19:15:18 +00:00
Xinchen Hui
3781026cb8 Comparison between pointer and integer 2011-11-21 06:07:43 +00:00
Xinchen Hui
b0cf58633c C++ style comment 2011-11-21 05:57:45 +00:00
Pierrick Charron
42ebac1d01 Fix memory leak 2011-11-21 02:44:28 +00:00
Pierrick Charron
7410d0b55d Fix memory leak 2011-11-21 02:29:24 +00:00
Pierrick Charron
9ee79f65ec Fix test to use PHP_CURL_HTTP_REMOTE_SERVER 2011-11-21 02:10:57 +00:00
Pierre Joye
a495e3759c - restore correct window_size 2011-11-20 10:10:43 +00:00
Pierre Joye
76e3964c1c - fix build, ansi c requires constant value, no expresion, even constant var 2011-11-19 23:09:12 +00:00
Felipe Pena
276518ff17 - Fixed bug #60339 (valgrind reports LEAK --with-mm)
patch by: yohgaki at ohgaki dot net
2011-11-19 18:50:49 +00:00
Mateusz Kocielski
63b8ff7619 - Fixed bug #60337 bcscale related crashed on 64bits platforms 2011-11-19 12:46:43 +00:00
Stanislav Malyshev
9fe3a605c6 fix bug #60164 (Stubs of a specific length break phar_open_from_fp scanning for __HALT_COMPILER) 2011-11-19 04:59:56 +00:00
Stanislav Malyshev
c7d6fafdf9 fix test number 2011-11-19 04:49:59 +00:00
Stanislav Malyshev
c9b7ddf9fb Fix bug #60150 (Integer overflow during the parsing of invalid exif header) 2011-11-19 04:41:03 +00:00
Christopher Jones
1a7669f1b8 r319456 also fixed the OCI8 part of #55301 (multiple null pointer) 2011-11-18 18:14:15 +00:00
Pierrick Charron
8de50cc1aa Added new SoapClient option "keep_alive". FR #60329 2011-11-18 13:24:35 +00:00
Christopher Jones
984c34aa0b Sync to 5.3 and check additional cases for #55748 2011-11-18 09:59:35 +00:00
Xinchen Hui
601407aa25 Fixed bug #60306 (Characters lost while converting from cp936 to utf8) 2011-11-18 08:50:29 +00:00
Stanislav Malyshev
9a69efb9fc fixes for bug #55748 2011-11-18 07:11:19 +00:00
Pierrick Charron
89104021b7 Remove unused variables in libmbfl 2011-11-18 06:27:27 +00:00
Antony Dovgal
3b40dabc8c fix bug #60082 (Crash in ArrayObject() when using recursive references)
--Tis line, and those below, will be ignored--

M    trunk/ext/spl/spl_array.c
M    branches/PHP_5_4/ext/spl/spl_array.c
M    branches/PHP_5_3/ext/spl/spl_array.c
M    branches/PHP_5_3/NEWS
2011-11-18 05:22:35 +00:00
Felipe Pena
595ac67a52 - Fixed bug #60267 (Compile failure with freetds 0.91) 2011-11-16 12:13:22 +00:00
Felipe Pena
3d19038838 - Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs)
patch by: klightspeed at netspace dot net dot au
2011-11-15 20:33:26 +00:00
Ilia Alshanetsky
32c4c239c0 Fixed bug #60244 (pg_fetch_* functions do not validate that row param is >0). 2011-11-15 18:02:58 +00:00
Felipe Pena
1f81004be2 - Fixed bug #52624 (tempnam() by-pass open_basedir with inexistent directory) 2011-11-15 16:59:59 +00:00
Felipe Pena
9a7a1fdabb - Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference) 2011-11-15 15:16:20 +00:00
David Soria Parra
020e7e1b72 Forgot the bug specific test. 2011-11-15 13:36:45 +00:00
David Soria Parra
fd2e3d6d8e Fixed bug #55371 (get_magic_quotes_gpc() throws deprecation warning.)
Patch by David Zuelke <david dot zuelke at bitextender dot com>
2011-11-15 13:22:52 +00:00
Felipe Pena
0fbb9ee359 - We can constify in 5.4+ 2011-11-15 12:34:59 +00:00
Johannes Schlüter
03a0f9deb4 - Add missing include. 2011-11-14 17:56:33 +00:00
Dmitry Stogov
52deaeb8c0 Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references) 2011-11-14 08:43:00 +00:00
Gustavo André dos Santos Lopes
a56c0bd0d8 - Fixed tests in ext/standard/tests/http by adding the INI setting value
allow_url_fopen=1
- Converted test file from dos line endings to unix line endings.
2011-11-14 01:12:23 +00:00
Rasmus Lerdorf
bd7e9cfca1 Fix test 2011-11-12 19:12:39 +00:00
Rasmus Lerdorf
ffb1c4d8ef Fix typo and don't use 'a' as an invalid filename since it is the default
gcc binary filename and is thus not unlikely to be left lying around in the
build dir which cause these tests to fail
2011-11-12 18:46:04 +00:00
Felipe Pena
28d1bc37e2 - Fixed bug #60261 (phar dos null pointer) 2011-11-11 21:39:11 +00:00
Rui Hirokawa
50b2e02c04 revert changes to fix bug #60116. 2011-11-11 14:58:32 +00:00
Arpad Ray
8b6a2d257a Fix hash key length in register/remove_user_shutdown_function 2011-11-11 14:42:18 +00:00
Christopher Jones
a1cf0c426a OCI8: Fixed bug #59985 (show normal warning text for OCI_NO_DATA). Sync NEWS. 2011-11-10 22:47:00 +00:00
Mateusz Kocielski
aaa59efafc Fixed NULL pointer dereference in stream_socket_enable_crypto, case when
ssl_handle of session_stream is not initialized.
2011-11-10 10:33:07 +00:00
Felipe Pena
9da6f6a374 - Make valgrind happy with session_decode_error2.phpt 2011-11-09 23:50:01 +00:00
Felipe Pena
6fac17f9d0 - Initialize BG(serialize_lock) to make valgrind happy 2011-11-09 22:16:31 +00:00
Christopher Jones
d8bc406918 Add tests for unsupported types 2011-11-09 06:19:07 +00:00
Stanislav Malyshev
10f20585fc fix bug #55475 - implement is_a BC solution 2011-11-09 05:27:45 +00:00
Antony Dovgal
22b39bcc75 bail out if reading HTTP headers failed 2011-11-08 13:30:58 +00:00
Dmitry Stogov
e86830273b Fixed bug #60104 (Segmentation Fault in pdo_sqlite when using sqliteCreateFunction()) 2011-11-08 10:11:25 +00:00
Xinchen Hui
326c58df66 Fix tests 2011-11-08 06:35:07 +00:00
Stanislav Malyshev
0d591e599f 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
52457e518b Improve OCI8 NLS env creation error messages (#58925) 2011-11-07 20:10:41 +00:00
Rui Hirokawa
d73b1a275d fixed bug #60227: header() cannot detect the multi-line header with CR. 2011-11-06 11:07:14 +00:00
Ferenc Kovacs
80d1553746 the mandatory __construct() for SPL classes was reverted in r318566 2011-11-05 16:49:56 +00:00
Rui Hirokawa
6dabd7de04 added japanese encoding to maintain compatibility with PHP 5.3. 2011-11-05 04:43:35 +00:00
Christopher Jones
d3d44d8fc1 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
cfc4abe47c Replace custom "stress_test" setting with generic SKIP_SLOW_TESTS 2011-11-03 21:52:59 +00:00
Ulf Wendel
25235313a0 Improving test to reflect latest API changes 2011-11-03 17:39:39 +00:00
Florian Anderiasch
6587e243ec Redid the fix for #60192 with suggestions by Pierre and Kalle 2011-11-03 16:20:11 +00:00
Xinchen Hui
64978cb2d9 xfail, not fix yet 2011-11-03 05:16:47 +00:00
Andrey Hristov
a330739594 Add a middleman which can intercept the calls and can reroute them 2011-11-02 17:06:30 +00:00
Arpad Ray
fc5bebfd0c fix calling user close func when it isn't open 2011-11-02 16:53:22 +00:00
Johannes Schlüter
026445a0aa - Fix bug #60155 (pdo_mysql.default_socket ignored). 2011-11-02 15:45:53 +00:00
Andrey Hristov
29f88a003f - 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
9e7cc71167 fixed alias and encoding mapping for emoji logo. 2011-11-02 14:51:39 +00:00
Andrey Hristov
4f7dc4d283 fix trace log messages 2011-11-02 14:20:35 +00:00
Peter Cowburn
ac8ece2718 add 3rd parameter to arg info for splfileobject fgetcsv/setcsvcontrol (bug #60201) 2011-11-02 13:24:46 +00:00
Derick Rethans
c6fbe8e69d - Updated to version 2011.14 (2011n) 2011-11-02 10:58:51 +00:00
Dmitry Stogov
fbdd2f3e5e Prevent possible integer overflow 2011-11-02 08:07:12 +00:00
Florian Anderiasch
c2874a8077 Fix #60192 SegFault when Collator not constructed properly 2011-11-02 07:36:52 +00:00
Christopher Jones
0bf1d9eac7 Update for new Oracle patchset variation 2011-11-01 21:30:57 +00:00
Rasmus Lerdorf
d1d9d56a96 Fix bug 60183 2011-11-01 15:15:51 +00:00
Florian Anderiasch
be930868aa Fixed #60160 and added a test for it 2011-11-01 11:51:53 +00:00
Christopher Jones
0c6861ac5e OCI8: improve initialization error message (See bug 60154) 2011-10-31 20:48:25 +00:00
Andrey Hristov
ba1f65faa1 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
6a9feb730f 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
ff72c73ce9 fixed alias of encoding. 2011-10-30 08:40:22 +00:00
Rui Hirokawa
71ee976a2d added a test script for bug60116 and fixed behabior of ESCAPE_CMD_END. 2011-10-30 05:57:26 +00:00
Gustavo André dos Santos Lopes
41abc6d017 - 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
Patrick Allaert
226cba9fca Added test for #60104 2011-10-26 09:32:37 +00:00
Andrey Hristov
cae81edb0c Bump internal version id after recent changes 2011-10-26 09:00:32 +00:00
Andrey Hristov
845d8fa10c 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
5e8bcbb08a oci8 - Increase Oracle error message length for 11.2.0.3+ 2011-10-25 22:01:42 +00:00
Andrey Hristov
13bc754db7 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
6671223afa - Updated to version 2011.13 (2011m) 2011-10-24 15:19:08 +00:00
Andrey Hristov
4cda1b4086 remove duplicate, happened after double patching 2011-10-24 12:54:04 +00:00
Pierre Joye
8bd6b9d87a - 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
374018803a move plugin specific stuff to one file. create object factory
for similar objects
2011-10-24 12:34:44 +00:00
Pierre Joye
87ce6fe18d - win9x is not supported anymore since 5.3 2011-10-24 10:53:17 +00:00
Rui Hirokawa
f17a215493 fixed bug #60116 escapeshellcmd() cannot escape the dangerous quotes. 2011-10-23 13:49:54 +00:00
Rui Hirokawa
71a94c2225 removed invalid two byte sequenct for utf-8. 2011-10-23 11:54:06 +00:00
Ferenc Kovacs
11de3aeedb 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
7472c081b7 add files that weren't committed with the previous commit 2011-10-21 15:29:43 +00:00
Andrey Hristov
139813877c 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
ed12ebc79c Changed silent conversion of array to string to produce a notice. (Patrick) 2011-10-21 06:08:47 +00:00
Xinchen Hui
b873f0ebf0 Fixed bug #60094 (C++ comment fails in c89) 2011-10-19 15:08:50 +00:00
Andrey Hristov
10e4419231 api_ext to reverse_api 2011-10-19 15:04:12 +00:00
Michael Wallner
849e7ae7aa 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
99ed1585a7 Tests for the DST RFC. 2011-10-18 21:45:07 +00:00
Rui Hirokawa
e3c13d7961 fixed maximum byte length of utf8mb4. 2011-10-18 14:28:01 +00:00
Rui Hirokawa
ec2670a276 fixed byte length of utf-8. 2011-10-18 14:03:44 +00:00
Ilia Alshanetsky
65732af7da 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
50339d8cf1 revert change, doesn't work 2011-10-16 02:43:50 +00:00
Stanislav Malyshev
3e289bb0f9 fix potential integer overflow 2011-10-15 23:57:33 +00:00
Stanislav Malyshev
379ab5ec22 fix openbasedir in test 2011-10-15 23:52:40 +00:00
Rui Hirokawa
fe92d64a4a updated bundled oniguruma regex library to 5.9.2. fixed bug #42290. 2011-10-15 08:55:53 +00:00
Rui Hirokawa
35ec732d92 added a missing emoji U+27BF. 2011-10-15 07:14:45 +00:00
Felipe Pena
cce94408e6 - 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
badb5f2610 export this existing function 2011-10-12 16:18:02 +00:00
Felipe Pena
31d213930d - Fixed bug #60033 (Incorrectly merged PDO dblib patches break uniqueidentifier column type) 2011-10-12 01:24:51 +00:00
Felipe Pena
261353382f - 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
a498bc62b8 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
103d60fad0 last stat fix 2011-10-10 15:45:56 +00:00
Andrey Hristov
063162be3a fix test after stat change 2011-10-10 14:39:22 +00:00
Andrey Hristov
e1e147aa4e fix another test after stat change 2011-10-10 14:33:07 +00:00
Andrey Hristov
4151194c5a fix test 2011-10-10 14:19:01 +00:00
Andrey Hristov
3468180085 fix test 2011-10-10 13:25:45 +00:00
Andrey Hristov
93d6c4767b fix test 2011-10-10 12:50:09 +00:00
Derick Rethans
87ecd87b6f - Updated to version 2011.12 (2011l) 2011-10-10 08:05:55 +00:00
Christian Stocker
65ee77c4b0 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
069e495b5f null the value before usage 2011-10-08 14:48:14 +00:00
Xinchen Hui
c8ff0fe254 Fix #55819 crash on mb_ereg_replace_callback
Need hirokawa to review this.
2011-10-07 04:24:04 +00:00
Andrey Hristov
00e9a1f942 Add test case 2011-10-06 17:06:02 +00:00
Andrey Hristov
26dd8c52c4 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
5f6020bc4d 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
303f8acd24 Fix bad cast which leads to crashes! 2011-10-05 18:51:15 +00:00
Pierre Joye
abf58318d2 - 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
75bdf86d61 Fixed bug #55750 (memory copy issue in sysvshm extension). 2011-10-03 18:17:12 +00:00
Felipe Pena
021b650a6a - 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
3e14579486 A better fix for #55817 (thanks to bjori) 2011-09-30 15:08:32 +00:00
Hannes Magnusson
b4f6baf9aa Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY) 2011-09-30 14:17:23 +00:00
Hannes Magnusson
317f933cd6 Use the default stream context for FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator 2011-09-30 14:12:26 +00:00
Xinchen Hui
9eeac29cc3 Fix wrong codes #55817 2011-09-30 13:34:07 +00:00
Gustavo André dos Santos Lopes
4eb080226b - 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
5067e98390 - Oops missed return. Also improved the readability of a test. 2011-09-27 11:43:07 +00:00
Gustavo André dos Santos Lopes
9a723eb69c - 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
fad5288119 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
b6e4771e61 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
d1d6911949 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
e932aef17b - 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
7c06ac560a 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
53634f7648 - Updated to version 2011.11 (2011k) 2011-09-26 17:23:00 +00:00
Pierre Joye
16f6347264 - be sure to check if the var ha not been removed between the two calls 2011-09-26 08:49:28 +00:00
Pierre Joye
2b8fe11dd8 - 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:38:03 +00:00
Johannes Schlüter
31ff0d156e - Fix folding 2011-09-25 13:06:09 +00:00
Johannes Schlüter
eb86165205 - Fix bug #55776 (PDORow to session bug) 2011-09-25 12:39:05 +00:00
Rui Hirokawa
6f7514a669 added test script for mb_ereg_replace_callback(). 2011-09-25 08:55:27 +00:00
Rui Hirokawa
9b1c6035d2 fixed seg faults for mb_ereg_replace_callback. 2011-09-25 08:33:43 +00:00
Rui Hirokawa
1297c0508a added mb_ereg_replace_callback(). 2011-09-25 08:01:54 +00:00
Xinchen Hui
6d2a0bd6cc Fix tests due to bison depened message format 2011-09-25 03:35:57 +00:00
Xinchen Hui
437f058814 Fix warning "implicit declaration of function `zend_fetch_debug_backtrace'" 2011-09-25 03:18:39 +00:00
Rui Hirokawa
cb17a1b216 added tests for #40685. 2011-09-24 02:11:48 +00:00
Rui Hirokawa
ac54ec22f5 fixed #40685: removed '&' in mb_decode_numericentity(). 2011-09-24 02:11:18 +00:00
Rasmus Lerdorf
657b661d40 Add a test and declare the local vars locally 2011-09-23 15:19:48 +00:00
Xinchen Hui
8cefbca521 Improve the warning message of incompatible arguments. (#55719)
And fix tests related.
2011-09-23 15:08:11 +00:00
Rasmus Lerdorf
659fc4b0f4 Fix for bug #55767 2011-09-23 13:16:37 +00:00
Rui Hirokawa
7dae4e5d39 added test script for pictogram. 2011-09-23 11:09:33 +00:00
Rui Hirokawa
f178684ffb fixed a bug in conversion table. 2011-09-23 11:08:34 +00:00
Ferenc Kovacs
54e570123c 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
471a5a1182 skip the interbase tests if cannot connect to the server 2011-09-22 22:07:02 +00:00
Ferenc Kovacs
73bed915c5 the julian date for timestamp 1000000000 is 2452161.5740741, which is rounded to 2452162 2011-09-22 21:50:45 +00:00
Ferenc Kovacs
02f43cda38 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
d2d78d993d Removed unreachable code (stream == NULL check is done already) 2011-09-21 19:08:30 +00:00
Johannes Schlüter
a53c7127bf - Use the proper variable here. 2011-09-21 12:34:15 +00:00
Michael Wallner
f989a86500 fix r316992 2011-09-19 15:20:38 +00:00
Michael Wallner
8f857603b4 Fixed bug #55544 ob_gzhandler always conflicts with zlib.output_compression 2011-09-19 14:37:00 +00:00
Johannes Schlüter
2817c5f3e7 - Fix folding 2011-09-19 12:31:06 +00:00
Pierre Joye
272180cb85 - fix build (macros mess) 2011-09-17 12:41:23 +00:00
Pierre Joye
7b2eeea2b4 - fix TS build 2011-09-17 10:24:18 +00:00
Xinchen Hui
212d210ac9 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
ad9c9ed529 - Fixed bug #55231 (Unsatisfied symbols __sync_fetch_and_add_4) 2011-09-17 00:01:45 +00:00
Christopher Jones
ee026944fd Test portability fix 2011-09-16 19:56:32 +00:00
Pierre Joye
0ec7852b44 - add -win32 versions and skipif 2011-09-16 10:45:04 +00:00
Dmitry Stogov
938d956e2e Fixed Windows build 2011-09-16 06:55:43 +00:00
Christopher Jones
3e55ec1e93 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
991c018131 Update libmagic.patch (patch reversed base on -r296679) 2011-09-15 15:53:49 +00:00
Xinchen Hui
f265c5a573 Fix warning "implicit declaration of function `vasprintf'"
If There is a better fix, plz fixme.
2011-09-15 07:09:43 +00:00
Xinchen Hui
9a6424e95d Forget commit to trunk 2011-09-14 15:45:02 +00:00
Arpad Ray
74e0985477 fix default session handler error message 2011-09-14 15:30:30 +00:00
Gustavo André dos Santos Lopes
0a74551c26 - ext/openssl/tests/bug36732.phpt more portable. 2011-09-14 10:55:46 +00:00
Pierre Joye
039fc22164 - fix text (encoding was broken with the previous commit) 2011-09-14 10:30:31 +00:00
Gustavo André dos Santos Lopes
8bf8989a4c - 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
c84f06db15 Fix tests 2011-09-14 06:48:26 +00:00
Xinchen Hui
cf26e0eddb Add test for bug #55688 2011-09-14 05:02:50 +00:00
Xinchen Hui
057aa683f1 Fix bug #55688 (Crash when calling SessionHandler::gc())
Need arpad to review this change
2011-09-14 04:10:45 +00:00
Xinchen Hui
872ff4f8c9 Fix warning "implicit declaration of function `vasprintf'" 2011-09-14 02:19:22 +00:00
Felipe Pena
a99f146ec4 - Fixed memory leak when calling SessionHandler::open() several times 2011-09-14 01:45:57 +00:00
Arpad Ray
465475a7a2 fix session oo tests for windows 2011-09-14 01:16:19 +00:00
Arpad Ray
45a96e0d5b fix zts break in r316688 2011-09-13 23:07:08 +00:00
Arpad Ray
5bc97c6cfa Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo) 2011-09-13 22:28:15 +00:00
Ferenc Kovacs
449497f162 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
f15c453242 Separate test for %a is no longer needed. 2011-09-13 20:31:02 +00:00
Ferenc Kovacs
3ad895cc17 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
93763b11c9 Improve parameter handling cod 2011-09-13 16:36:29 +00:00
Pierre Joye
d2ff9ff591 - test passes now (and VC6 is not supported anymore) 2011-09-13 16:21:24 +00:00
Derick Rethans
37d1038958 - 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
43da6d64a9 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:58:03 +00:00
Pierre Joye
d4ed1e1f13 - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:51:47 +00:00
Pierre Joye
f9b1b83136 - TZ auto detection varies, not always UTC 2011-09-13 13:42:03 +00:00
Pierre Joye
8b719e817e - TZ auto detection varies, not always UTC 2011-09-13 13:39:49 +00:00
Dmitry Stogov
e43ff1359e Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Pierre Joye
9b881b680c - skip on win, runtime TZ via putenv is not supported with ext/date 2011-09-13 13:26:48 +00:00
Xinchen Hui
84c94e29c9 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
3996135f68 - fix test on win, putenv is not supported for TZ and ext/date 2011-09-13 12:04:57 +00:00
Pierre Joye
4262382199 - skip on win, strftime uses system TZ 2011-09-12 23:31:22 +00:00
Gustavo André dos Santos Lopes
d7c7fe3587 - Test for bug #55646. 2011-09-12 20:05:07 +00:00
Stanislav Malyshev
ba04ba9c82 MFB crypt fix 2011-09-12 17:50:42 +00:00
Gustavo André dos Santos Lopes
1fbf911905 - 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
4653534643 Test for non-string replacement, bug#54304 2011-09-12 17:20:44 +00:00
Ilia Alshanetsky
3d3a6a3b96 Fixed bug #55273 (base64_decode() with strict rejects whitespace after pad) 2011-09-12 17:20:24 +00:00
Derick Rethans
1e4dac2d58 - Updated to version 2011.10 (2011j) 2011-09-12 15:49:12 +00:00
Ulf Wendel
0290718b00 This should please gcov.php.net which hits error 1044 instead of 1049. 2011-09-12 15:05:10 +00:00
Tjerk Anne Meesters
7b1790bdfb 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
1c688e06dd Fix typo. 2011-09-12 13:55:28 +00:00
Popa Adrian Marius
b5aad069ee fix gcov Warning: ibase_drop_db(): lock time-out on wait transaction object 2011-09-12 13:46:03 +00:00
Ulf Wendel
0024235874 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
4ff1539384 Allow replacement to be any scalar value 2011-09-12 13:21:57 +00:00
Rui Hirokawa
6074e38d37 fixed optional argument. 2011-09-12 13:20:05 +00:00
Ulf Wendel
49e693124f Hits libmysql/MySQL bug, works with mysqlnd 2011-09-12 13:14:16 +00:00
Pierre Joye
4891b29d6b - revert incorrect fix introduced in r316528 2011-09-12 12:59:52 +00:00
Christian Stocker
f8ffb5af1d Added test for XSL bug 54446 2011-09-12 12:44:49 +00:00
Ulf Wendel
76879f2cce 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
7bb31903c8 Ensure we are working with strings here 2011-09-12 11:44:55 +00:00
Xinchen Hui
17858fc789 Merge from branch, make things consistent 2011-09-12 10:57:26 +00:00
Hannes Magnusson
d0dbb43935 Sync line ending with 5_4 2011-09-12 10:24:27 +00:00
Popa Adrian Marius
8b22751c24 fixes bug #55659 adn 006 test for firebird driver 2011-09-12 09:41:02 +00:00
Pierre Joye
5cb30970dc - unused var 2011-09-12 09:27:03 +00:00
Hannes Magnusson
8db792d1f2 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
Rui Hirokawa
0f7a2cd306 MFH: fixed test failure on win32. 2011-09-11 13:15:40 +00:00