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
Rui Hirokawa
b36a8754d1
fixed test failure on win32.
2011-09-11 13:04:21 +00:00
Rui Hirokawa
5ae70c757b
fixed test case failures.
2011-09-11 12:29:00 +00:00
Rui Hirokawa
01bb437b85
fixed test case failures.
2011-09-11 12:12:24 +00:00
Rui Hirokawa
efd8563777
revert previous commit.
2011-09-11 03:57:31 +00:00
Rui Hirokawa
e7fa9ffc21
removed test script which depends on the removed register_globals.
2011-09-11 02:16:34 +00:00
Felipe Pena
77a08e1601
- Fix test
2011-09-10 13:02:00 +00:00
Stanislav Malyshev
2a6a890c46
Fix error message
2011-09-10 05:36:14 +00:00
Stanislav Malyshev
0fdeda6bf0
revert bad test change
2011-09-10 05:29:29 +00:00
Xinchen Hui
5e477ae1f8
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
6cb483cff8
Bug #55653
2011-09-09 12:12:08 +00:00
Hannes Magnusson
987c394143
Being smart and cleanup/rename/modify tests seconds before committing isn't very smart.
2011-09-09 08:28:57 +00:00
Pierre Joye
c35d34a10d
- nuke unused var
2011-09-09 07:57:29 +00:00
Pierre Joye
ba07a1c72b
- improve r316420, function must return a value
2011-09-09 07:56:42 +00:00
Pierre Joye
6550af384f
- improve r316420 (SplFileObject cannot and should not accept directories)
2011-09-08 23:12:32 +00:00
Pierre Joye
4ccef0b950
- improve r316420 (SplFileObject cannot and should not accept directories)
2011-09-08 23:07:48 +00:00
Christopher Jones
47f3bf02c9
Update SKIPIFs for test portability
2011-09-08 20:13:32 +00:00
Christopher Jones
d4f1085c18
Fix skipifs
2011-09-08 17:52:45 +00:00
Christopher Jones
de264a62cf
Fix skipifs to match other tests for the case when connection fails
2011-09-08 17:40:15 +00:00
Derick Rethans
72ebf32b49
- Updated to-do.
2011-09-08 16:57:41 +00:00
Pierre Joye
59571f6fce
- force LF
2011-09-08 16:10:07 +00:00
Etienne Kneuss
3afb143e65
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
9103c93606
2nd arguments is necessary in mb_parse_str because register_globals was removed in PHP 5.4.
2011-09-08 15:20:17 +00:00
Hannes Magnusson
31d09c9c4c
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
c4c7c48ac6
- fix test, again...
2011-09-08 11:52:37 +00:00
Ferenc Kovacs
f40fd8236e
skip these tests if can't connect to mysql
2011-09-08 11:30:58 +00:00
Pierre Joye
6f2cd0fcef
- fix test
2011-09-08 11:24:33 +00:00
Pierre Joye
0e05312d03
- skip if no hash
2011-09-08 10:00:47 +00:00
Hannes Magnusson
cf11413db3
Fix the path to the .pem
2011-09-08 09:27:47 +00:00
Christopher Jones
53cfca411b
Use unique object names to reduce potential clashes when testing in parallel
2011-09-07 19:19:00 +00:00
Rasmus Lerdorf
331766c3bf
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
12e983e714
Fixed tests (skip when catch-all DNS such as openDNS is being used)
2011-09-07 15:31:48 +00:00
Rui Hirokawa
36378d34f8
fixed invalid utf-8 check.
2011-09-07 14:30:06 +00:00
Hannes Magnusson
4e9a7658b8
Revert r316345 which fixes all the tests again
2011-09-07 13:50:18 +00:00
Hannes Magnusson
03d8301d7c
Fix errormessage
2011-09-07 13:47:31 +00:00
Hannes Magnusson
a078c05513
Fix folding
2011-09-07 13:46:45 +00:00
Johannes Schlüter
bea25b5e55
- Use myslqnd by default when MySQL extensions are activated but no path given
2011-09-07 13:33:56 +00:00
Pierre Joye
6b4717da8e
- reject paths with trainling spaces using the very good new zend arg
2011-09-07 12:33:22 +00:00
Hannes Magnusson
12d67c1a45
Fix cleanup routines
2011-09-07 12:05:19 +00:00
Pierre Joye
cf2ec7665e
- skip on win, diff TZ format
2011-09-07 11:26:59 +00:00
Hannes Magnusson
2fd3e799d8
The error message is different when built with zts
2011-09-07 10:41:38 +00:00
Hannes Magnusson
ce6f5e32ba
Update skipif
2011-09-07 10:39:55 +00:00
Hannes Magnusson
b6e2e54b70
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
3f85bc95f7
Update skipif message
2011-09-07 10:34:58 +00:00
Pierre Joye
e57b66393b
- force LF (svn prop and config)
2011-09-07 10:14:02 +00:00
Pierre Joye
5a14cd627d
- fix test for OS where dir sep is \
2011-09-07 09:19:28 +00:00
Pierre Joye
e63aa705a3
- fix test for OS where dir sep is \
2011-09-07 09:03:07 +00:00
Pierre Joye
e2ac1fc386
- add skipif for dom
2011-09-07 08:12:08 +00:00
Stanislav Malyshev
a447acdcc6
Commit Gustavo's closure rebinding patch as desided by vote
2011-09-07 06:46:27 +00:00
Xinchen Hui
b7788089e1
fix skipif description
2011-09-07 00:59:10 +00:00
Andrey Hristov
222c5b4a9c
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
a226fcc15e
improve open_basedir handling
2011-09-06 19:51:35 +00:00
Pierre Joye
eea14c09fc
- fix #55622 , mem corruption on large input
2011-09-06 17:41:08 +00:00
Pierre Joye
d37605a5f1
- useless skipif
2011-09-06 17:10:16 +00:00
Ulf Wendel
1c7a318421
Fixing SKIPIF
2011-09-06 16:39:55 +00:00
Johannes Schlüter
fca3b40d7b
- 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
696a1bdc07
Fixing SKIPIF
2011-09-06 16:37:45 +00:00
Ulf Wendel
6277b2857a
Fixing SKIPIF fatal error. 6.0 is history, thus SKIPIF might need further updates?
2011-09-06 16:30:53 +00:00
Ulf Wendel
eb16017160
More parenthesis, credits to Nikita Popov
2011-09-06 16:13:03 +00:00
Pierre Joye
3d08ebd419
- useless skipif
2011-09-06 15:49:28 +00:00
Hannes Magnusson
f00b4a7d72
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
dc018f3d10
Fixed bug#54450 (callback function when built against libedit)
2011-09-06 15:07:24 +00:00
Andrey Hristov
4f0b4031fe
add query information to the trace log
2011-09-06 14:48:43 +00:00
Ulf Wendel
ccd842f912
BORK hunting - Fixing SKIPIF
2011-09-06 14:47:57 +00:00
Ulf Wendel
fe89680010
Fix SKIPIF
2011-09-06 13:57:03 +00:00
Ulf Wendel
a4fcb5f1bb
Fix SKIPIF
2011-09-06 13:50:45 +00:00
Ulf Wendel
5ec2ee6c4d
Prevent Notice
2011-09-06 13:39:46 +00:00
Ulf Wendel
1a53d78b0c
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
f7f2c8c209
- use only zlib function and reported the failure with base64 in #55620
2011-09-06 12:30:47 +00:00
Hannes Magnusson
04028e5e61
Mention which library php is using
2011-09-06 11:28:34 +00:00
Pierre Joye
f2b8c5395c
- use a more portable name for the filename
2011-09-06 11:24:21 +00:00
Florian Anderiasch
57aaa1dca9
Fixed ext/sockets/tests/socket_strerror.phpt
...
So it seems a missing ) killed the test.
2011-09-06 09:56:13 +00:00
Xinchen Hui
567ab9feaf
move it to right place
2011-09-06 09:45:21 +00:00
Xinchen Hui
899ee8e705
Add skipif
2011-09-06 09:29:04 +00:00
Pierre Joye
e06ea30795
- missing --SKIPIF--
2011-09-06 09:28:23 +00:00
Pierre Joye
4d576e21a9
- move it to the right place
2011-09-06 09:23:10 +00:00
Pierre Joye
427bb75d4b
- fix skipif msg
2011-09-06 09:20:14 +00:00
Xinchen Hui
b1eaad7d1f
Added skipif
2011-09-06 09:17:12 +00:00
Xinchen Hui
241c5f0258
add skipif
2011-09-06 08:11:37 +00:00
Pierre Joye
555a138113
- add skipif
2011-09-06 07:49:31 +00:00
Pierre Joye
ee9738077f
- fix test
2011-09-06 07:47:20 +00:00
Pierre Joye
7c77d6b612
- fix test
2011-09-06 07:44:43 +00:00
Pierre Joye
1676e4044b
- skip on win
2011-09-06 07:32:37 +00:00
Pierre Joye
d6a6c1892b
- add skipif
2011-09-06 07:29:59 +00:00
Pierre Joye
95aefb0114
- add skipif
2011-09-06 07:28:38 +00:00
Pierre Joye
1d22c75eb3
- use something we know it exists...
2011-09-06 07:26:05 +00:00
Pierre Joye
80a2175c37
- skip on win, name.. name. are not valid names
2011-09-06 07:23:20 +00:00
Pierre Joye
66a1d741bf
- add skipif
2011-09-06 07:09:56 +00:00
Pierre Joye
b263273baa
- don't test dir sep
2011-09-06 07:07:23 +00:00
Pierre Joye
3179ef674c
- add skipif
2011-09-06 06:57:53 +00:00
Pierre Joye
b6fe362f12
- add skipif
2011-09-06 06:52:26 +00:00
Pierre Joye
bd0a02b72b
- add skipif
2011-09-06 06:50:56 +00:00
Pierre Joye
7921f410fc
- add skipif
2011-09-06 06:47:12 +00:00
Pierre Joye
b4769b1946
- add skipif
2011-09-06 06:44:59 +00:00
Pierre Joye
ec1575fbb2
- add skipif
2011-09-06 06:42:11 +00:00
Stanislav Malyshev
75cf1e8730
unused variables
2011-09-06 05:31:08 +00:00
Stanislav Malyshev
442e9c5148
allow user streams to override ch* on windows too
2011-09-06 05:28:25 +00:00
Stanislav Malyshev
d465ee0565
fix redirect when test run from different places
2011-09-06 05:21:56 +00:00
Stanislav Malyshev
22fbe247e3
fix test
2011-09-06 05:20:51 +00:00
Stanislav Malyshev
153649906c
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
6e0dfc1851
this tests looks mysqlnd only
2011-09-06 05:13:47 +00:00
Pierre Joye
57d0b478fb
- add skipif
2011-09-05 19:59:42 +00:00
Ulf Wendel
ac90fb4287
No more test failure for libmysql, http://news.php.net/php.internals/55210
2011-09-05 16:24:40 +00:00
Andrey Hristov
4325a8bffc
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
67872cf7a9
Fixed tests (due to error message changed)
2011-09-05 15:05:51 +00:00
Xinchen Hui
83f61c2c53
Fixed compiler warning "incompatible pointer type"
2011-09-05 15:02:21 +00:00
Shein Alexey
50d8d816c5
Reduced timeout in this test to 1ms, no need to wait further.
2011-09-05 14:43:08 +00:00