]> granicus.if.org Git - php/log
php
8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Sat, 16 Jul 2016 21:02:34 +0000 (23:02 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
Zend/zend_gc.c

8 years agoRevert "Fixed bug #72286 (Segmentation fault During Garbage Collection)"
Nikita Popov [Sat, 16 Jul 2016 21:00:47 +0000 (23:00 +0200)]
Revert "Fixed bug #72286 (Segmentation fault During Garbage Collection)"

This reverts commit 1c84b55adea936b065a20102202bea3d1d243225.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Fri, 15 Jul 2016 17:47:21 +0000 (19:47 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix #72604: imagearc() ignores thickness for full arcs
Christoph M. Becker [Fri, 15 Jul 2016 17:42:26 +0000 (19:42 +0200)]
Fix #72604: imagearc() ignores thickness for full arcs

We remove the special casing for full arcs, what conforms to external libgd.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 14 Jul 2016 23:09:58 +0000 (01:09 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix bug #66502: DOM document dangling reference
Christoph M. Becker [Thu, 14 Jul 2016 22:57:36 +0000 (00:57 +0200)]
Fix bug #66502: DOM document dangling reference

When we decrement the refcount of a node's document, we state that we
won't need it anymore. Therefore we can *always* set the pointer to the
document to NULL, what avoids invalid memory accesses for some edge cases
as demonstrated with the PHPT.

Original patch provided by Sean Heelan.

8 years agoFix test output
Nikita Popov [Thu, 14 Jul 2016 21:22:09 +0000 (23:22 +0200)]
Fix test output

The error is now detected earlier, so the message ends up being
different.

8 years agoFix is_callable() on abstract method via object
Nikita Popov [Thu, 14 Jul 2016 19:38:10 +0000 (21:38 +0200)]
Fix is_callable() on abstract method via object

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Thu, 14 Jul 2016 19:38:47 +0000 (22:38 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #72286 (Segmentation fault During Garbage Collection)

8 years agoFixed bug #72286 (Segmentation fault During Garbage Collection)
Dmitry Stogov [Thu, 14 Jul 2016 19:37:25 +0000 (22:37 +0300)]
Fixed bug #72286 (Segmentation fault During Garbage Collection)

8 years agoMerge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0
Anatol Belski [Thu, 14 Jul 2016 19:21:01 +0000 (21:21 +0200)]
Merge branch 'PHP-7.0' of git.php.net:php-src into PHP-7.0

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Thu, 14 Jul 2016 19:16:07 +0000 (21:16 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Extend libxml exports
  Updated NEWS
  Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns
  Updated NEWS
  Fix bug #70480 (php_url_parse_ex() buffer overflow read)
  Update PHP 5.5 NEWS entries with CVE info

8 years agoMerge branch 'PHP-5.5' into PHP-5.6
Anatol Belski [Thu, 14 Jul 2016 19:13:49 +0000 (21:13 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Extend libxml exports
  Updated NEWS
  Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns
  Updated NEWS
  Fix bug #70480 (php_url_parse_ex() buffer overflow read)
  Update PHP 5.5 NEWS entries with CVE info

8 years agoExtend libxml exports
Anatol Belski [Thu, 14 Jul 2016 19:08:54 +0000 (21:08 +0200)]
Extend libxml exports

These are needed to support libxslt 1.1.29 on Windows. This libxslt version
fixes CVE-2015-7995 and for this reason needs to be used.

8 years agoFix bad merge
Nikita Popov [Thu, 14 Jul 2016 18:44:36 +0000 (20:44 +0200)]
Fix bad merge

In master the operand is fetched earlier, I didn't account for
that.

8 years agoFix leak when creating timezone with null bytes
Nikita Popov [Thu, 14 Jul 2016 15:43:29 +0000 (17:43 +0200)]
Fix leak when creating timezone with null bytes

8 years agoFix leak when dynamically calling abstract method
Nikita Popov [Thu, 14 Jul 2016 15:36:56 +0000 (17:36 +0200)]
Fix leak when dynamically calling abstract method

8 years agoFix leak of class name when printing exception backtrace
Nikita Popov [Thu, 14 Jul 2016 15:29:59 +0000 (17:29 +0200)]
Fix leak of class name when printing exception backtrace

8 years agoFix leaks in yield from error conditions
Nikita Popov [Thu, 14 Jul 2016 13:55:30 +0000 (15:55 +0200)]
Fix leaks in yield from error conditions

Conflicts:
Zend/zend_vm_execute.h

8 years agoFix leak for by-ref assign to overloaded object
Nikita Popov [Wed, 13 Jul 2016 22:08:29 +0000 (00:08 +0200)]
Fix leak for by-ref assign to overloaded object

Conflicts:
Zend/zend_vm_execute.h

8 years agoAdd missing call opcodes in cleanup_unfinished_calls()
Nikita Popov [Wed, 13 Jul 2016 21:55:19 +0000 (23:55 +0200)]
Add missing call opcodes in cleanup_unfinished_calls()

Otherwise we may leak if an exception is thrown from them.

8 years agoFix leak if throw_exception_object() fails
Nikita Popov [Wed, 13 Jul 2016 21:35:53 +0000 (23:35 +0200)]
Fix leak if throw_exception_object() fails

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Thu, 14 Jul 2016 15:20:19 +0000 (17:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix bug #72596: imagetypes function won't advertise WEBP support
Christoph M. Becker [Thu, 14 Jul 2016 14:43:13 +0000 (16:43 +0200)]
Fix bug #72596: imagetypes function won't advertise WEBP support

We add the constant IMG_WEBP and make sure that WebP support is properly
reported by imagetypes().

8 years agoupdate NEWS
Anatol Belski [Thu, 14 Jul 2016 11:20:13 +0000 (13:20 +0200)]
update NEWS

8 years agoFixed memory leak
Dmitry Stogov [Thu, 14 Jul 2016 10:05:27 +0000 (13:05 +0300)]
Fixed memory leak

8 years agoFixed bug #72594 (Calling an earlier instance of an included anonymous class fatals)
Xinchen Hui [Thu, 14 Jul 2016 05:36:43 +0000 (13:36 +0800)]
Fixed bug #72594 (Calling an earlier instance of an included anonymous class fatals)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 13 Jul 2016 19:57:14 +0000 (21:57 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoAdd NEWS entry
Nikita Popov [Wed, 13 Jul 2016 19:57:01 +0000 (21:57 +0200)]
Add NEWS entry

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Wed, 13 Jul 2016 19:46:52 +0000 (21:46 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
ext/reflection/php_reflection.c

8 years agofix: bug72222 for PHP-5.6 reflection export of array consts
nikita2206 [Sun, 15 May 2016 23:58:21 +0000 (02:58 +0300)]
fix: bug72222 for PHP-5.6 reflection export of array consts

8 years agoMerge branch 'PHP-7.0' of https://git.php.net/push/php-src into PHP-7.0
Keyur [Wed, 13 Jul 2016 03:15:03 +0000 (03:15 +0000)]
Merge branch 'PHP-7.0' of https://git.php.net/push/php-src into PHP-7.0

8 years agoAdd to NEWS
Keyur [Wed, 13 Jul 2016 03:03:26 +0000 (03:03 +0000)]
Add to NEWS

8 years agoFixes #72590: Opcache restart with kill_all_lockers does not work
Keyur [Wed, 13 Jul 2016 02:47:46 +0000 (02:47 +0000)]
Fixes #72590: Opcache restart with kill_all_lockers does not work

ACCEL_LOG_ERROR is special and causes a zend_bailout() and the code
never gets to call kill() in the next line after the logging. Change
the log level to WARNING.

8 years agoFixed bug #72588 (Using global var doesn't work while accessing SimpleXML element)
Xinchen Hui [Wed, 13 Jul 2016 02:49:58 +0000 (10:49 +0800)]
Fixed bug #72588 (Using global var doesn't work while accessing SimpleXML element)

8 years agomissed the dot
Anatol Belski [Tue, 12 Jul 2016 15:04:41 +0000 (17:04 +0200)]
missed the dot

8 years agoupdate NEWS
Anatol Belski [Tue, 12 Jul 2016 15:01:51 +0000 (17:01 +0200)]
update NEWS

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 13:51:23 +0000 (15:51 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Tue, 12 Jul 2016 13:50:58 +0000 (15:50 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Revert "Fixes #52384: Adds parameter value to dumped output. Also adds output flag indicating presence of PDO::PARAM_INPUT_OUTPUT."
  Revert "Fix test for #52384"

Conflicts:
ext/pdo/pdo_stmt.c

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 13:47:05 +0000 (15:47 +0200)]
Updated NEWS

8 years agoRevert "Fixes #52384: Adds parameter value to dumped output. Also adds output flag...
Julien Pauli [Tue, 12 Jul 2016 13:46:07 +0000 (15:46 +0200)]
Revert "Fixes #52384: Adds parameter value to dumped output. Also adds output flag indicating presence of PDO::PARAM_INPUT_OUTPUT."

This reverts commit 15336b44d95c41079438af8ac73f77ff893aeef7.

8 years agoRevert "Fix test for #52384"
Julien Pauli [Tue, 12 Jul 2016 13:45:49 +0000 (15:45 +0200)]
Revert "Fix test for #52384"

This reverts commit 642e44b98f18d867052aa7e02476aae9c8881201.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Tue, 12 Jul 2016 13:27:57 +0000 (15:27 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix test for #52384

8 years agoFix test for #52384
Julien Pauli [Tue, 12 Jul 2016 13:27:37 +0000 (15:27 +0200)]
Fix test for #52384

8 years agoFixed bug #72569 DOTNET/COM array parameters broke in PHP7
Anatol Belski [Tue, 12 Jul 2016 12:58:13 +0000 (14:58 +0200)]
Fixed bug #72569 DOTNET/COM array parameters broke in PHP7

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Tue, 12 Jul 2016 12:51:23 +0000 (14:51 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

# Resolved conflicts:
# ext/intl/idn/idn.c

8 years agoPartially fix #72506: idn_to_ascii for UTS #46 incorrect for long domain names
Christoph M. Becker [Tue, 12 Jul 2016 12:42:38 +0000 (14:42 +0200)]
Partially fix #72506: idn_to_ascii for UTS #46 incorrect for long domain names

We don't actually fix this issue wrt. the empty $info array, because it is
not clear what this array should contain and we're concerned about the
potential BC break, but at least we fix the inconsistent handling of
resulting domains with 255 bytes (which raise an error), and longer domains
(which just return FALSE), what has to be considered a very minor BC break
if at all.

8 years agoupdate NEWS
Anatol Belski [Tue, 12 Jul 2016 11:01:54 +0000 (13:01 +0200)]
update NEWS

8 years agoMake phpize set a proper build type (windows)
y-uti [Tue, 12 Jul 2016 10:59:11 +0000 (12:59 +0200)]
Make phpize set a proper build type (windows)

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 09:17:58 +0000 (11:17 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Tue, 12 Jul 2016 09:17:36 +0000 (11:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Fixes #52384: Adds parameter value to dumped output. Also adds output flag indicating presence of PDO::PARAM_INPUT_OUTPUT.

Conflicts:
ext/pdo/pdo_stmt.c

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 08:49:04 +0000 (10:49 +0200)]
Updated NEWS

8 years agoFixes #52384: Adds parameter value to dumped output. Also adds output flag indicating...
Bishop Bettini [Tue, 21 Jun 2016 12:16:51 +0000 (08:16 -0400)]
Fixes #52384: Adds parameter value to dumped output. Also adds output flag indicating presence of PDO::PARAM_INPUT_OUTPUT.

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 08:38:40 +0000 (10:38 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Tue, 12 Jul 2016 08:38:22 +0000 (10:38 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Fix #72575: using --allow-to-run-as-root should ignore missing user directive

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 08:37:59 +0000 (10:37 +0200)]
Updated NEWS

8 years agoFix #72575: using --allow-to-run-as-root should ignore missing user
gooh [Mon, 11 Jul 2016 12:28:04 +0000 (14:28 +0200)]
Fix #72575: using --allow-to-run-as-root should ignore missing user
directive

Trying to start PHP-FPM with the --allow-to-run-as-root flag will not
work when the user directive is not given in the FPM worker pool
configuration. Parsing the config will fail. Consequently, FPM cannot
start.

The check is in place to prevent FPM from getting started with root
privileges by accident. Prior to #61295 the check would also prevent
any non-root user to start PHP-FPM without a user directive present.

This patch adds an additional check to the config parser, checking for
the --allow-to-run-as-root flag to be present. If so, parsing will no
longer abort for root users even if the user directive is missing.

I will also update the PHP docs since they still state the user
directive is a mandatory setting which it is not since #61295.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Tue, 12 Jul 2016 08:20:01 +0000 (10:20 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Fix 72122 - don't use EH_THROW for calls to getIterator

8 years agoUpdated NEWS
Julien Pauli [Tue, 12 Jul 2016 08:19:45 +0000 (10:19 +0200)]
Updated NEWS

8 years agoFix 72122 - don't use EH_THROW for calls to getIterator
Loz Calver [Fri, 6 May 2016 09:22:23 +0000 (10:22 +0100)]
Fix 72122 - don't use EH_THROW for calls to getIterator

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Tue, 12 Jul 2016 04:18:09 +0000 (12:18 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  backport to 5.6 (we should not unset the default value)

Conflicts:
Zend/zend_exceptions.c
ext/standard/tests/serialize/bug69152.phpt

8 years agobackport to 5.6 (we should not unset the default value)
Xinchen Hui [Tue, 12 Jul 2016 04:14:45 +0000 (12:14 +0800)]
backport to 5.6 (we should not unset the default value)

8 years agoFixed bug #72581 (previous property undefined in Exception after deserialization)
Xinchen Hui [Tue, 12 Jul 2016 03:51:20 +0000 (11:51 +0800)]
Fixed bug #72581 (previous property undefined in Exception after deserialization)

8 years agoUpdate NEWS
Christoph M. Becker [Mon, 11 Jul 2016 14:09:12 +0000 (16:09 +0200)]
Update NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 11 Jul 2016 14:08:10 +0000 (16:08 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoBug #66836 has been fixed
Christoph M. Becker [Mon, 11 Jul 2016 14:06:35 +0000 (16:06 +0200)]
Bug #66836 has been fixed

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Mon, 11 Jul 2016 12:58:55 +0000 (14:58 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Remove needless zeroing of anonymously mmap'd memory
  Remove needless zeroing of anonymously mmap'd memory

8 years agoRemove needless zeroing of anonymously mmap'd memory
Julien Pauli [Mon, 11 Jul 2016 12:58:12 +0000 (14:58 +0200)]
Remove needless zeroing of anonymously mmap'd memory

8 years agoRemove needless zeroing of anonymously mmap'd memory
Michael McConville [Tue, 26 Apr 2016 17:16:38 +0000 (13:16 -0400)]
Remove needless zeroing of anonymously mmap'd memory

All existing systems zero anonymously mmapped memory, and if I
understand correctly POSIX will be specifying this soon. Many projects
already rely on it, so no reasonable system would return memory of
unspecified value.

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Derick Rethans [Mon, 11 Jul 2016 10:32:10 +0000 (11:32 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoGenerate new .c file from .re file, as that was missing on my previous commit
Derick Rethans [Mon, 11 Jul 2016 10:31:43 +0000 (11:31 +0100)]
Generate new .c file from .re file, as that was missing on my previous commit

8 years agoFixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)
Xinchen Hui [Mon, 11 Jul 2016 03:51:19 +0000 (11:51 +0800)]
Fixed bug #72571 (SQLite3::bindValue, SQLite3::bindParam crash)

8 years agoFixed bug #72570 Segmentation fault when binding parameters on a query without placeh...
Matteo Beccati [Sun, 10 Jul 2016 12:36:07 +0000 (14:36 +0200)]
Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Matteo Beccati [Sun, 10 Jul 2016 12:34:59 +0000 (14:34 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed bug #70313 PDO statement fails to throw exception

8 years agoFixed bug #70313 PDO statement fails to throw exception
Matteo Beccati [Sun, 10 Jul 2016 11:04:49 +0000 (13:04 +0200)]
Fixed bug #70313 PDO statement fails to throw exception

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 14:32:32 +0000 (16:32 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Fri, 8 Jul 2016 14:31:53 +0000 (16:31 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  update filter_var filters for ipv4 addresses to reflect rfc6890

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 14:31:42 +0000 (16:31 +0200)]
Updated NEWS

8 years agoupdate filter_var filters for ipv4 addresses to reflect rfc6890
Jos Elstgeest [Fri, 24 Jun 2016 22:47:15 +0000 (00:47 +0200)]
update filter_var filters for ipv4 addresses to reflect rfc6890

8 years agoCorrect for connection with PDO::ATTR_STRINGIFY_FETCHES set to false
Adam Baratz [Wed, 15 Jun 2016 21:42:34 +0000 (17:42 -0400)]
Correct for connection with PDO::ATTR_STRINGIFY_FETCHES set to false

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 13:36:38 +0000 (15:36 +0200)]
Updated NEWS

8 years agoFix #69975: PHP segfaults when accessing nvarchar(max) defined columns
Christoph M. Becker [Thu, 2 Jul 2015 22:04:50 +0000 (00:04 +0200)]
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.

(cherry picked from commit 16db4d1462bf3eacb93c0cd940f799160a284b24)
(cherry picked from commit 344ff5dd4c538eaebea075f7705321f8b86d0b47)

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 13:06:21 +0000 (15:06 +0200)]
Updated NEWS

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Fri, 8 Jul 2016 13:05:13 +0000 (15:05 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Updated NEWS
  Backported bug #71144 (Segmentation fault when using cURL with ZTS)
  fix bug #72024 (microtime() leaks memory)

Conflicts:
ext/curl/interface.c

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 12:59:16 +0000 (14:59 +0200)]
Updated NEWS

8 years agoBackported bug #71144 (Segmentation fault when using cURL with ZTS)
Julien Pauli [Fri, 8 Jul 2016 12:58:56 +0000 (14:58 +0200)]
Backported bug #71144 (Segmentation fault when using cURL with ZTS)

8 years agofix bug #72024 (microtime() leaks memory)
Michael Maroszek [Thu, 7 Jul 2016 12:24:05 +0000 (14:24 +0200)]
fix bug #72024 (microtime() leaks memory)

8 years agoUpdated NEWS
Julien Pauli [Fri, 8 Jul 2016 12:35:43 +0000 (14:35 +0200)]
Updated NEWS

8 years agoMerge branch 'pull-request/1982' into PHP-5.5
Julien Pauli [Fri, 8 Jul 2016 12:24:05 +0000 (14:24 +0200)]
Merge branch 'pull-request/1982' into PHP-5.5

* pull-request/1982:
  Update PHP 5.5 NEWS entries with CVE info

8 years agoNEWS
Remi Collet [Fri, 8 Jul 2016 08:47:40 +0000 (10:47 +0200)]
NEWS

8 years agoFixed Bug #72564 boolean always deserialized as "true"
Remi Collet [Fri, 8 Jul 2016 08:46:33 +0000 (10:46 +0200)]
Fixed Bug #72564 boolean always deserialized as "true"

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Remi Collet [Fri, 8 Jul 2016 08:45:32 +0000 (10:45 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  add test for bug #72564 (7.x regression)

8 years agoadd test for bug #72564 (7.x regression)
Remi Collet [Fri, 8 Jul 2016 08:45:13 +0000 (10:45 +0200)]
add test for bug #72564 (7.x regression)

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christopher Jones [Thu, 7 Jul 2016 01:52:39 +0000 (11:52 +1000)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoMask DB usernames from expected test output for test portability
Christopher Jones [Thu, 7 Jul 2016 01:52:17 +0000 (11:52 +1000)]
Mask DB usernames from expected test output for test portability

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 6 Jul 2016 23:49:05 +0000 (01:49 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agomerge NEWS blocks
Ferenc Kovacs [Wed, 6 Jul 2016 23:46:02 +0000 (01:46 +0200)]
merge NEWS blocks

8 years agoAdd NEWS entries
Nikita Popov [Wed, 6 Jul 2016 23:31:04 +0000 (01:31 +0200)]
Add NEWS entries

8 years agobase64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)
Lauri Kenttä [Wed, 25 May 2016 19:06:42 +0000 (22:06 +0300)]
base64_decode: fix bug #72264 ('VV= =' shouldn't fail in strict mode)

8 years agobase64_decode: remove redundant code
Lauri Kenttä [Wed, 25 May 2016 16:52:11 +0000 (19:52 +0300)]
base64_decode: remove redundant code

case 1 is already handled in the first lines of the for loop;
it would only be entered in the invalid case where the string
continues past the defined length (ch != 0 but length-- == 0).

case 2 and case 3 are redundant, since k >= j and later the
string is truncated to j characters anyway.