summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 7.1.23PHP-7.1.23Sara Golemon2018-10-091-1/+1
|
* Update NEWS for PHP 7.1.23RC1Sara Golemon2018-09-281-1/+1
|
* Fix test for release buildsNikita Popov2018-09-281-2/+1
|
* Fixed bug #76846Nikita Popov2018-09-283-2/+33
|
* Fixed bug #76918 Repeated parameter name in arg infoSara Golemon2018-09-251-1/+1
|
* Terminate smart string correctlyChristopher Jones2018-09-241-2/+2
| | | | This is related to Zend VM regression bug #75881. The regression was fixed in the VM, so there is no user visible change from the termination correction.
* Make usable for PECL OCI8 release for PHP 7.xChristopher Jones2018-09-245-2/+125
|
* Backport master branch comment typo fixChristopher Jones2018-09-241-1/+1
|
* Make tests portable across PHP 7.x versionsChristopher Jones2018-09-245-7/+7
|
* Remove $id from phpinfo as already done in PHP-7.3Christopher Jones2018-09-241-1/+0
|
* And strip trailing tabs too...Christopher Jones2018-09-24151-462/+462
|
* Sync EXPECT usage with PHP-7.3Christopher Jones2018-09-2491-98/+95
|
* Remove trailing whitespace to help keep branches in syncChristopher Jones2018-09-24267-624/+623
|
* Remove trailing whitespace to help keep branches in sycnChristopher Jones2018-09-248-44/+44
|
* Fix #66828: iconv_mime_encode Q-encoding longer than it should beChristoph M. Becker2018-09-223-2/+27
| | | | | | | | | | | | | | | | | Before the fix for bug 48289 has been applied, the algorithm to construct a Q-encoded-word has been optimistic, i.e. try to encode as many bytes that *may* fit in the remaining space, calculate the actual length of the Q-encoded word, and if it's too long, try again with a reduced size. However, the fix for the mentioned bug replaced this by a pessimistic algorithm, which always terminates[1] the for loop[2] during the first iteration (which renders the following 3 lines as dead code), and as such easily produces unnecessarily short encoded-words. Instead the proper fix for the bug would have been to make sure that `out_size` is always decremented, if the space isn't sufficient for the encoded-word. [1] <https://github.com/php/php-src/blob/php-7.3.0beta3/ext/iconv/iconv.c#L1421> [2] <https://github.com/php/php-src/blob/php-7.3.0beta3/ext/iconv/iconv.c#L1360>
* Fix getColumnMeta() testNikita Popov2018-09-191-8/+8
| | | | | | | | | | | Newer MySQL versions are stricter about invalid values. Three issues are fixed: * Don't use negative values with ZEROFILL. ZEROFILL implies UNSIGNED. * Use a legal TIMESTAMP value. TIMESTAMP does not accept a Unix timestamp. * Specify BIGINT values as strings, to avoid overflows. This is a cherry-pick of d2dc0a32911c0e08986da799ce11e18c3fa5ca57 from master.
* Fix intermittent failures in mysqli_stmt_bind_result_format.phptNikita Popov2018-09-191-4/+4
| | | | | | | | | | | | | There were two distinct issues here: * $trend was compared against 'NULL' using !=, which does not work as intended in the case where $trend==0.0. * current_targets was declared as double(17,0), which means that the fractional part was rounded, so that the same comparison in SQL (rounded) and in PHP (not rounded) did not necessarily match. Please don't write mt_rand based tests, it takes ages to debug this crap...
* Fixed bug #76901Nikita Popov2018-09-193-7/+26
| | | | | | | get_method() may modify the object pointer passed to it if method forwarding is used. In this case we do not want to modify the passed zval, so make sure that we copy the object into a temporary first.
* Fix bug #75533: array_reduce is slow when $carry is large arrayManabu Matsui2018-09-182-3/+3
|
* Add spectre switch for suitable vc14 versionsAnatol Belski2018-09-181-0/+5
|
* Fix 76480: Use curl_multi_wait() so that timeouts are respectedPierrick Charron2018-09-172-1/+21
|
* Sync version for vc++ 15.9Anatol Belski2018-09-131-0/+2
|
* Improve error code matchingAnatol Belski2018-09-121-2/+2
|
* Update binary SDK version for AppVeyorAnatol Belski2018-09-121-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Ferenc Kovacs2018-09-120-0/+0
|\
| * Merge branch 'PHP-5.6' into PHP-7.0Ferenc Kovacs2018-09-120-0/+0
| |\
| | * 5.6.39 will be the nextFerenc Kovacs2018-09-113-5/+7
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2018-09-110-0/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: 7.0.33 next
| * | 7.0.33 nextAnatol Belski2018-09-113-5/+9
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2018-09-100-0/+0
|\ \ \ | |/ / | | | | | | | | | * PHP-7.0: Sync NEWS [ci skip]
| * | Sync NEWS [ci skip]Anatol Belski2018-09-101-1/+2
| | |
* | | Merge branch 'PHP-7.0' into PHP-7.1Stanislav Malyshev2018-09-091-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-7.0: Update NEWS Fix for bug #76582
| * | Merge branch 'PHP-5.6' into PHP-7.0Stanislav Malyshev2018-09-091-0/+1
| |\ \ | | |/ | | | | | | | | | | | | * PHP-5.6: Update NEWS Fix for bug #76582
| | * Update NEWSStanislav Malyshev2018-09-091-0/+3
| | |
| | * Fix for bug #76582Stanislav Malyshev2018-09-091-0/+1
| | | | | | | | | | | | | | | The brigade seems to end up in a messed up state if something fails in shutdown, so we clean it up.
* | | Fix ssl stream reneg limit test to print only after first renegotiationJakub Zelenka2018-09-091-2/+6
| | | | | | | | | | | | | | | It has been reported that in some setup the test does multiple renegotiations which is allowed.
* | | Fix #75273: php_zlib_inflate_filter() may not update bytes_consumedChristoph M. Becker2018-09-083-10/+64
| | | | | | | | | | | | | | | | | | | | | Whenever we return with `PSFS_PASS_ON`, we need to update `bytes_consumed` to not mislead the caller. Instead of fixing the respective `if` clauses, we eschew the early bail-outs to simplify the code a bit.
* | | Sync with recent changes to default libcurl buildAnatol Belski2018-09-051-1/+16
| | | | | | | | | | | | (cherry picked from commit a1ba3007a452fb2618526ed7159236362219a208)
* | | Fix #74454: Wrong exception being thrown when using ReflectionMethodChristoph M. Becker2018-09-054-2/+31
| | | | | | | | | | | | | | | If zend_throw_exception_ex() already threw an exception, we should not throw again.
* | | Fix bug #74764 and add a test caseVille Hukkamaki2018-09-043-0/+29
| | |
* | | [ci skip] Update NEWSAnatol Belski2018-09-041-0/+4
| | |
* | | Revert all MySQL auth related changesNikita Popov2018-09-047-425/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per bug #76651 these changes do not appear to work correctly in some cases. As no immediate fix seems to be forthcoming, I'm reverting these changes. Revert "Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)" This reverts commit 11507c0e1bfa17a96480f3648397f6975c31551e. Revert "Fix mysqlnd build without openssl" This reverts commit 6c9db02ff7812c298d1e7e292ba731d9d3a66790. Revert "Fix VC compilation as variable size array is not supported" This reverts commit f96df64cb2219fda42ca875483f874cf3052647c. Revert "Fix MySQL 8 auth" This reverts commit d6e81f0bfd0cb90586dd83d4fd47a4302605261a.
* | | Fix parenthesis warningNikita Popov2018-09-041-1/+1
| | |
* | | Fix bug #75481: makedev warningPeter Kokot2018-09-042-1/+4
| | | | | | | | | | | | | | | | | | | | | To use makedev the sys/sysmacros.h needs to be included on newer systems. Cherry-picked from PHP-7.3.
* | | Fixed bug #73457Ville Hukkamaki2018-09-044-18/+65
| | | | | | | | | | | | Correctly report errors when opening FTP data connection.
* | | Fixed bug #76832 ZendOPcache.MemoryBase periodically deleted by the OSAnatol Belski2018-09-031-0/+7
| | |
* | | Fixed reference-countingin ZTS build.Dmitry Stogov2018-09-031-1/+1
| | |
* | | Fix #75696: posix_getgrnam fails to print details of groupChristoph M. Becker2018-09-013-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | According to the POSIX specification of `getgrnam_r()` the result of `sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value suggested for the size of the buffer, and `ERANGE` signals that insufficient storage was supplied. So if we get `ERANGE`, we try again with a buffer twice as big, and so on, instead of failing.
* | | Fix stack underflow in pharAnatol Belski2018-08-301-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | The checks can issue reads below and above the temporary buffer. A read itself doesn't seem dangerous, but the condition result can be arbitrary. Such reads have to be avoided. Likely this patch should be backported. (cherry picked from commit b053beee7efb64b8e439fb3639de839e615ba89c)
* | | fix double cast to int on 32-bitRemi Collet2018-08-301-1/+1
| | |