Aaron Piotrowski
f9e9d3a437
Cleanup exception ce API
...
Removed recently added functions to get Error ce's and marked the old functions
fetching default_exception_ce and error_exception_ce as deprecated.
2015-07-03 09:44:30 -05:00
Anatol Belski
9adfb053e6
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fix backport mistake
2015-07-03 16:22:01 +02:00
Anatol Belski
b281211979
fix backport mistake
...
in 5.6 it has to be explicitly copied to avoid double free
2015-07-03 16:21:02 +02:00
Christoph M. Becker
e75cf6b7e4
Merge branch 'PHP-5.6'
...
* PHP-5.6:
fixed fix #69975 wrt. ODBCVER < 0x0300
2015-07-03 13:32:05 +02:00
Christoph M. Becker
344ff5dd4c
fixed fix #69975 wrt. ODBCVER < 0x0300
2015-07-03 13:30:39 +02:00
Anatol Belski
02df0cb02b
improve info about the applink
2015-07-03 12:45:59 +02:00
Anatol Belski
9d9f372df6
added openssl applink shim note to UPGRADING.INTERNALS
2015-07-03 12:40:54 +02:00
Anatol Belski
274edb4c6f
add missing item in the content table
2015-07-03 12:40:53 +02:00
Anatol Belski
54e19fe7c3
Merge branch 'PHP-5.6'
...
* PHP-5.6:
backport c01943bffc
into 5.6
2015-07-03 11:17:16 +02:00
Anatol Belski
d870683d6b
backport c01943bffc
into 5.6
2015-07-03 11:16:02 +02:00
Anatol Belski
c01943bffc
fix improper behavior
...
openssl_spki_export() is documented to return string, but it's
obviously not achieved writing it to stdout :)
2015-07-03 10:15:52 +02:00
Anatol Belski
3d7343f609
integrate the applink shim in the other bins
2015-07-03 07:11:14 +02:00
Anatol Belski
59444347d1
integrate the openssl applink shim
...
This fixes ext/openssl/tests/openssl_spki_export.phpt failing
with the no OPENSSL_Applink error. Applink is also an interesting
technique documented in the OpenSSL FAQ
https://www.openssl.org/support/faq.html#PROG2
which allows under circumstances using different OpenSSL binaries
than those a program was linked with.
2015-07-03 07:11:13 +02:00
Xinchen Hui
e8f992c163
Catch the specifical exception
2015-07-03 11:18:53 +08:00
Christoph M. Becker
21029da71c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Added more tests to improve function coverage
2015-07-03 03:12:09 +02:00
Edgar R. Sandi
48d71af7ed
Added more tests to improve function coverage
2015-07-03 03:02:40 +02:00
Aaron Piotrowski
68baa539dc
Allow integer default for float type
2015-07-02 18:07:24 -05:00
Christoph M. Becker
2768bdbce0
updated NEWS
2015-07-03 00:29:44 +02:00
Christoph M. Becker
caa539b481
Merge branch 'PHP-5.6'
...
* PHP-5.6:
updated NEWS
Fix #69975 : PHP segfaults when accessing nvarchar(max) defined columns
2015-07-03 00:25:03 +02:00
Christoph M. Becker
616661e0f8
updated NEWS
2015-07-03 00:23:44 +02:00
Christoph M. Becker
16db4d1462
Fix #69975 : PHP segfaults when accessing nvarchar(max) defined columns
...
The SQL Server Native Client 11.0 and maybe other ODBC drivers report
NVARCHAR(MAX) columns as SQL_WVARCHAR with size 0. This causes too small a
buffer to be emalloc'd, likely causing a segfault in the following. As we don't
know the real size of the column data, we treat such colums as
SQL_WLONGVARCHAR.
The related bug #67437 suggests that some drivers report a size of ~4GB. It is
not certain that this is really the case (there might be some integer overflow
involved, and anyway, there has been no feedback), so we do not cater for this
now. However, it would not be hard to treat all sizes above a certain threshold
in a similar way, i.e. as SQL_WLONGVARCHAR.
2015-07-03 00:15:47 +02:00
Bob Weinand
57881e878d
Update NEWS for bug #69957
2015-07-02 21:19:26 +02:00
Niklas Keller
5f72d94a8b
Correct type hint name for booleans in method signatures
2015-07-02 21:14:30 +02:00
Bob Weinand
6ff72467dc
XFAILED tests are not "You may have found a problem in PHP"
2015-07-02 20:49:30 +02:00
Bob Weinand
94722e12cf
Introduce ArithmeticError
2015-07-02 20:47:44 +02:00
Dmitry Stogov
b874f1a73d
Cleanup (avoid reallocation)
2015-07-02 20:29:06 +03:00
Dmitry Stogov
07e646f8ff
Cleanup (avoid reallocation)
2015-07-02 19:09:37 +03:00
Dmitry Stogov
9ea98d676b
Cleanup (avoid reallocations)
2015-07-02 18:58:04 +03:00
Dmitry Stogov
0fd2b4c030
Cleanup (avoid reallocation)
2015-07-02 18:50:54 +03:00
Anatol Belski
d0787534c0
add missing items to the table of contents
2015-07-02 16:34:42 +02:00
Anatol Belski
79ca2b06b6
update UPGRADING infos
2015-07-02 16:32:57 +02:00
Anatol Belski
6f3dd4d45b
fix pipe peek timeout
2015-07-02 15:19:38 +02:00
Christoph M. Becker
58b982afed
Fix alignment on 32-bit
2015-07-02 14:23:07 +02:00
Christoph M. Becker
a88c68f833
improve timings evaluations in test
2015-07-02 14:23:06 +02:00
Anatol Belski
cefca35692
use proper place to cleanup
2015-07-02 14:23:05 +02:00
Anatol Belski
4fe8d629d0
fix test for systems with lower time resolution
2015-07-02 14:23:04 +02:00
Anatol Belski
8fed210610
remove stderr descriptor
2015-07-02 14:23:03 +02:00
Anatol Belski
afd8ebca78
no need to fflush here
2015-07-02 14:23:02 +02:00
Anatol Belski
5750058ddb
added test for bug #69900
2015-07-02 14:23:01 +02:00
Anatol Belski
aec332e6b4
select the case to set the pipe blocking option more precisely
2015-07-02 14:23:00 +02:00
Anatol Belski
d6130fada6
fixed wrong number for the new option
2015-07-02 14:22:59 +02:00
Anatol Belski
4e5758f377
fix c/p issue
2015-07-02 14:22:58 +02:00
Anatol Belski
d516a14fb9
properly set the pipe blocking option
2015-07-02 14:22:57 +02:00
Anatol Belski
1a5a4d546e
add missing stuff is the header
2015-07-02 14:22:56 +02:00
Anatol Belski
734d907aa4
initial stuff to make allow blocking pipes on windows
2015-07-02 14:22:55 +02:00
Xinchen Hui
6de750efb7
Fixed conditional jump or move depends on uninitialised value(s)
...
==11551== at 0x57CB23C: xpmParseData (parse.c:702)
2015-07-02 19:02:49 +08:00
Xinchen Hui
72b0627315
Fixed bug #69521 (Segfault in gc_collect_cycles()).
2015-07-02 18:43:06 +08:00
Xinchen Hui
3422fb57c8
Use hash_str directly
2015-07-02 12:31:26 +08:00
Xinchen Hui
ba91bc36cd
Same here
2015-07-02 12:23:50 +08:00
Xinchen Hui
ba711aec30
Use one_char_string
2015-07-02 12:19:55 +08:00