]> granicus.if.org Git - php/log
php
7 years agoAvoid string reallocations in preg_quote()
Dmitry Stogov [Tue, 6 Jun 2017 10:56:19 +0000 (13:56 +0300)]
Avoid string reallocations in preg_quote()

7 years agoAdd note about publishing gpg key
Sara Golemon [Mon, 5 Jun 2017 23:33:38 +0000 (16:33 -0700)]
Add note about publishing gpg key

7 years agoMerge branch 'PHP-7.1'
Jakub Zelenka [Sun, 4 Jun 2017 17:22:02 +0000 (18:22 +0100)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Sun, 4 Jun 2017 17:11:49 +0000 (18:11 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoReplace ASN1_STRING_data with ASN1_STRING_get0_data
Jakub Zelenka [Sun, 4 Jun 2017 17:08:51 +0000 (18:08 +0100)]
Replace ASN1_STRING_data with ASN1_STRING_get0_data

This is a slightly modified version of the patch from Jelle van der Waa
( @jelly ) so full credit to him.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 3 Jun 2017 13:09:04 +0000 (15:09 +0200)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 3 Jun 2017 13:08:59 +0000 (15:08 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix leak in WDDX serialization
Nikita Popov [Sat, 3 Jun 2017 13:08:42 +0000 (15:08 +0200)]
Fix leak in WDDX serialization

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Sat, 3 Jun 2017 10:39:50 +0000 (12:39 +0200)]
Merge branch 'PHP-7.1'

7 years agoTravis: Use opcache in release build
Nikita Popov [Sat, 3 Jun 2017 10:37:47 +0000 (12:37 +0200)]
Travis: Use opcache in release build

Our debug builds on Travis are often timing out recently. Opcache
causes quite a large performance hit on test run times, so move it
over to the release build, where it should have less impact.

7 years agoImplemented FR #71520
Michael Moravec [Mon, 17 Apr 2017 16:06:20 +0000 (18:06 +0200)]
Implemented FR #71520

Adding the DateTime constants to the DateTimeInterface interface.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 2 Jun 2017 22:42:38 +0000 (00:42 +0200)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 2 Jun 2017 22:42:18 +0000 (00:42 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #69373
Tim Toohey [Fri, 2 Jun 2017 22:38:02 +0000 (00:38 +0200)]
Fixed bug #69373

xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This
causes problems if there are other references around to those children.

7 years agoFix bug #74607: Don't check for bi-directional compatibility in traits
Pedro Magalhães [Sun, 21 May 2017 12:41:55 +0000 (14:41 +0200)]
Fix bug #74607: Don't check for bi-directional compatibility in traits

7 years agoFix bug #55407
Niklas Keller [Mon, 29 May 2017 05:28:21 +0000 (07:28 +0200)]
Fix bug #55407

This reverts commit b148c50f4864684aa9a6c6483cc309a7f2badbb5 and
reintroduces the fix for bug #55407.

With https://wiki.php.net/rfc/parameter-no-type-variance being
implemented now, it's no longer a BC break.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 2 Jun 2017 22:05:58 +0000 (00:05 +0200)]
Merge branch 'PHP-7.1'

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 2 Jun 2017 22:05:35 +0000 (00:05 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #73473: Stack Buffer Overflow in msgfmt_parse_message
libnex [Mon, 29 May 2017 13:13:52 +0000 (13:13 +0000)]
Fixed bug #73473: Stack Buffer Overflow in msgfmt_parse_message

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 2 Jun 2017 21:53:00 +0000 (23:53 +0200)]
Merge branch 'PHP-7.1'

7 years agoopenssl_pkcs12_read: add missing BIO_free
Jelle van der Waa [Tue, 30 May 2017 13:55:05 +0000 (15:55 +0200)]
openssl_pkcs12_read: add missing BIO_free

When filling the extracerts array with certificates bio_out is created
but not free'd leading to a small memory leak of 224 bytes (reported by
valgrind).

7 years agoAdd basic test for posix_setegid function
Shaikhul Chowdhury [Fri, 26 May 2017 04:46:24 +0000 (00:46 -0400)]
Add basic test for posix_setegid function

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 2 Jun 2017 21:41:19 +0000 (23:41 +0200)]
Merge branch 'PHP-7.1'

7 years agoSet timezone for intl/test/bug74298.phpt
Jesper Hagström [Fri, 2 Jun 2017 13:29:04 +0000 (15:29 +0200)]
Set timezone for intl/test/bug74298.phpt

Now sets UTC as default timezone for the DateTime which otherwise
uses the timezone defined in php.ini.

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 2 Jun 2017 21:36:44 +0000 (23:36 +0200)]
Merge branch 'PHP-7.1'

7 years agoRevert "merge PR #2290: enable opcache in CLI in 7.1+"
Nikita Popov [Fri, 2 Jun 2017 21:34:32 +0000 (23:34 +0200)]
Revert "merge PR #2290: enable opcache in CLI in 7.1+"

This reverts commit 71fe529afc2f9bfd99d85539c709a27f025c0caa.

Without the file cache (which is not enabled by default), this has
non-trivial impact on the startup time. It also significantly
increases the baseline memory usage of PHP on CLI.

7 years agoPCRE_EXTRA_MARK is useful only for preg_replace_callbakc().
Dmitry Stogov [Fri, 2 Jun 2017 11:34:31 +0000 (14:34 +0300)]
PCRE_EXTRA_MARK is useful only for preg_replace_callbakc().
Removed branch expectations.

7 years agoAdded support for PCRE JIT fast path API
Dmitry Stogov [Fri, 2 Jun 2017 10:14:33 +0000 (13:14 +0300)]
Added support for PCRE JIT fast path API

7 years agoEscape value passed to exec()
Sara Golemon [Thu, 1 Jun 2017 22:42:17 +0000 (15:42 -0700)]
Escape value passed to exec()

getmypid() is safe, but no harm being EXTRA safe.

7 years agoIgnore spurious stderr output from lsof
Sara Golemon [Thu, 1 Jun 2017 22:40:26 +0000 (15:40 -0700)]
Ignore spurious stderr output from lsof

lsof may report errors trying to stat files owned by other
users in other processes, even when asking for files
associated to a specific process.  Boo.

7 years agoZVAL_COPY_UNREF() micro-optimization
Dmitry Stogov [Thu, 1 Jun 2017 21:38:09 +0000 (00:38 +0300)]
ZVAL_COPY_UNREF() micro-optimization

7 years agotest for ErrorException::getSeverity();
marcosptf [Sat, 20 Feb 2016 18:26:39 +0000 (16:26 -0200)]
test for ErrorException::getSeverity();

7 years agoimprove dns (checkdnsrr) test coverage
marcosptf [Sun, 13 Mar 2016 03:27:13 +0000 (00:27 -0300)]
improve dns (checkdnsrr) test coverage

7 years agotest to function forward_static_call_array();
marcosptf [Sun, 13 Mar 2016 06:12:23 +0000 (03:12 -0300)]
test to function forward_static_call_array();

was added new test to standard function;

7 years agoadded test for imagecopymergegray(), added color check to test for imagecopymerge()
Sean Fraser [Fri, 26 May 2017 00:22:48 +0000 (20:22 -0400)]
added test for imagecopymergegray(), added color check to test for imagecopymerge()

7 years agoopenssl: Add basic openssl_pkcs7_verify tests
Jelle van der Waa [Mon, 22 May 2017 11:48:31 +0000 (13:48 +0200)]
openssl: Add basic openssl_pkcs7_verify tests

Add basic openssl_pkcs7_verify tests, which verifies a signed email,
extracts the signed certificate and the body of the email.

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Thu, 1 Jun 2017 07:07:23 +0000 (08:07 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed #74639 - Added proper clone functionality for DatePeriod and DateInterval

7 years agoFixed #74639 - Added proper clone functionality for DatePeriod and DateInterval
andrewnester [Fri, 26 May 2017 10:56:41 +0000 (13:56 +0300)]
Fixed #74639 - Added proper clone functionality for DatePeriod and DateInterval

7 years agoAllow ReflectionClass::isIterable() to return true for Traversables
Sara Golemon [Wed, 31 May 2017 21:18:19 +0000 (14:18 -0700)]
Allow ReflectionClass::isIterable() to return true for Traversables

Current behavior is essentially "Is an INTERNAL iterable class".
This change allows isIterable() to return true for userspace classes as well.

7 years agoRename ReflectionClass::isIterateable() to isIterable()
Sara Golemon [Wed, 31 May 2017 18:44:53 +0000 (11:44 -0700)]
Rename ReflectionClass::isIterateable() to isIterable()

Iterateable is not a word.
Add the correct spelling, but keep the original one around
for BC purposes.

Perhaps we can add ZEND_ACC_DEPRECATED at some later date
and even remove it from PHP 8.

7 years agoExclude warm-up requests from callgrind profile.
Dmitry Stogov [Wed, 31 May 2017 13:16:56 +0000 (16:16 +0300)]
Exclude warm-up requests from callgrind profile.

7 years agoclean
Remi Collet [Wed, 31 May 2017 07:57:34 +0000 (09:57 +0200)]
clean

7 years agoUse of bundled libzip is deprecated
Remi Collet [Wed, 31 May 2017 07:56:01 +0000 (09:56 +0200)]
Use of bundled libzip is deprecated

7 years agoNEWS
Remi Collet [Tue, 30 May 2017 13:50:48 +0000 (15:50 +0200)]
NEWS

7 years agoNew optimization pattern
Dmitry Stogov [Wed, 31 May 2017 06:53:10 +0000 (09:53 +0300)]
New optimization pattern

7 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Wed, 31 May 2017 05:12:24 +0000 (13:12 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Update NEWS
  Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)

Conflicts:
ext/reflection/php_reflection.c

7 years agoUpdate NEWS
Xinchen Hui [Wed, 31 May 2017 05:09:38 +0000 (13:09 +0800)]
Update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Wed, 31 May 2017 05:08:26 +0000 (13:08 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)

Conflicts:
ext/reflection/php_reflection.c

7 years agoFixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)
Xinchen Hui [Wed, 31 May 2017 04:39:26 +0000 (12:39 +0800)]
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)

7 years agoAvoid double copying
Dmitry Stogov [Tue, 30 May 2017 23:14:17 +0000 (02:14 +0300)]
Avoid double copying

7 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 30 May 2017 21:41:12 +0000 (00:41 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed wrong condition
  ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
  ext/ldap: Allow default host from ldap.conf to work.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Tue, 30 May 2017 21:40:57 +0000 (00:40 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed wrong condition

7 years agoFixed wrong condition
Dmitry Stogov [Tue, 30 May 2017 21:40:33 +0000 (00:40 +0300)]
Fixed wrong condition

7 years agoFixed function name resolution
Dmitry Stogov [Tue, 30 May 2017 18:48:16 +0000 (21:48 +0300)]
Fixed function name resolution

7 years agoext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
David Caldwell [Thu, 25 May 2017 21:27:11 +0000 (21:27 +0000)]
ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)

7 years agoext/ldap: Allow default host from ldap.conf to work.
David Caldwell [Thu, 25 May 2017 00:41:12 +0000 (00:41 +0000)]
ext/ldap: Allow default host from ldap.conf to work.

This fixes an regression introduced in
e7af0fe1eb89e40671e86a588aa1b78607b85461. Previously, calling
ldap_connect() with no parameters would pass NULL to ldap_init(),
which causes it to use the default host specified in
/etc/ldap/ldap.conf (on Ubuntu).

When the code changed to use ldap_initialize(), it initialized a uri,
even if there were no parameters passed to ldap_connect(). Because of
this, there's no way to pass a NULL into ldap_initialize(), making it
impossible to use the default uri from ldap.conf.

This commit bypasses the uri creation when there is no host argument,
passing on a NULL to ldap_initialize() which restores the old PHP 5.5
behavior.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Côme Bernigaud [Tue, 30 May 2017 14:48:16 +0000 (16:48 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
  ext/ldap: Allow default host from ldap.conf to work.

Conflicts:
ext/ldap/ldap.c

7 years agoMerge branch 'pull-request/2536' into PHP-7.0
Côme Bernigaud [Tue, 30 May 2017 14:45:27 +0000 (16:45 +0200)]
Merge branch 'pull-request/2536' into PHP-7.0

* pull-request/2536:
  ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
  ext/ldap: Allow default host from ldap.conf to work.

7 years agoCheck for possible run-time function name resolution
Dmitry Stogov [Tue, 30 May 2017 14:37:54 +0000 (17:37 +0300)]
Check for possible run-time function name resolution

7 years agotrim() micro-optimization
Dmitry Stogov [Tue, 30 May 2017 14:14:08 +0000 (17:14 +0300)]
trim() micro-optimization

7 years agoreapply platform related onig patches
Anatol Belski [Tue, 30 May 2017 13:47:22 +0000 (15:47 +0200)]
reapply platform related onig patches

7 years agoMerge branch 'PHP-7.1'
Remi Collet [Tue, 30 May 2017 13:46:51 +0000 (15:46 +0200)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  NEWS
  NEWS
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6

7 years agoNEWS
Remi Collet [Tue, 30 May 2017 13:46:15 +0000 (15:46 +0200)]
NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Remi Collet [Tue, 30 May 2017 13:45:52 +0000 (15:45 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  NEWS
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
  Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6

7 years agoNEWS
Remi Collet [Tue, 30 May 2017 13:45:09 +0000 (15:45 +0200)]
NEWS

7 years agoPatch from the upstream git
Remi Collet [Tue, 30 May 2017 13:40:32 +0000 (15:40 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)

Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>

7 years agoPatch from the upstream git
Remi Collet [Tue, 30 May 2017 13:39:21 +0000 (15:39 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6

Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>

7 years agoPatch from the upstream git
Remi Collet [Tue, 30 May 2017 13:38:17 +0000 (15:38 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)

Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>

7 years agoPatch from the upstream git
Remi Collet [Tue, 30 May 2017 13:37:11 +0000 (15:37 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)

Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>

7 years agoPatch from the upstream git
Remi Collet [Tue, 30 May 2017 13:35:42 +0000 (15:35 +0200)]
Patch from the upstream git
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6

Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org>

7 years agoUpdate Oniguruma to latest upstream version 6.3.0
Remi Collet [Tue, 30 May 2017 12:14:57 +0000 (14:14 +0200)]
Update Oniguruma to latest upstream version 6.3.0

Windows specific changes need to be applied again.

7 years agoUpdate opcode description
Dmitry Stogov [Tue, 30 May 2017 11:47:21 +0000 (14:47 +0300)]
Update opcode description

7 years agoFixed support for C compilers that don't support global register variables.
Dmitry Stogov [Tue, 30 May 2017 10:31:58 +0000 (13:31 +0300)]
Fixed support for C compilers that don't support global register variables.

7 years agoAdded ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement corresponding...
Dmitry Stogov [Tue, 30 May 2017 10:23:17 +0000 (13:23 +0300)]
Added ZEND_FUNC_NUM_ARGS, ZEND_FUNC_GET_ARGS instructions, to implement corresponding builtin functions.
Special optimisation for "array_slice(INT, func_get_args())" pattern.

7 years agoExtend ZEND_SEND_ARRAY to eliminate array_slice() call for "call_user_func_array...
Dmitry Stogov [Tue, 30 May 2017 09:25:46 +0000 (12:25 +0300)]
Extend ZEND_SEND_ARRAY to eliminate array_slice() call for "call_user_func_array(_, array_slice(_, LONG, _))" pattern.

7 years agoDon't allocate empty strings, use single interned string instead.
Dmitry Stogov [Tue, 30 May 2017 07:02:04 +0000 (10:02 +0300)]
Don't allocate empty strings, use single interned string instead.

7 years agomissing fix for another test
Remi Collet [Mon, 29 May 2017 10:07:13 +0000 (12:07 +0200)]
missing fix for another test

7 years agomissing fix for test
Remi Collet [Mon, 29 May 2017 09:41:16 +0000 (11:41 +0200)]
missing fix for test

7 years agoadd PREG_UNMATCHED_AS_NULL flag to allow distinguish between unmatched subpatterns...
Nicolas Grekas [Tue, 16 May 2017 10:46:32 +0000 (12:46 +0200)]
add PREG_UNMATCHED_AS_NULL flag to allow distinguish between unmatched subpatterns and empty matches

7 years agoFix possible test failure with path > 108
Remi Collet [Mon, 29 May 2017 09:17:32 +0000 (11:17 +0200)]
Fix possible test failure with path > 108

E.g.  Notice: stream_socket_server(): socket path exceeded the maximum allowed length of 108 bytes and was truncated in /builddir/build/BUILD/php-src-32d7fa6f74b56fed8124d4dea0f98f0f9964a64e/ext/standard/tests/streams/bug74556.php on line 4

7 years agofurther data type fixes to ext/dba
Anatol Belski [Mon, 29 May 2017 08:14:47 +0000 (10:14 +0200)]
further data type fixes to ext/dba

7 years agomove dba handlers to size_t
Anatol Belski [Mon, 29 May 2017 08:02:51 +0000 (10:02 +0200)]
move dba handlers to size_t

7 years agofix hash build (when build dir != src dir)
Remi Collet [Mon, 29 May 2017 07:55:51 +0000 (09:55 +0200)]
fix hash build (when build dir != src dir)

7 years agoMerge branch 'master' of git.php.net:php-src
Remi Collet [Mon, 29 May 2017 07:54:29 +0000 (09:54 +0200)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src: (150 commits)
  Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection
  Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
  Fixed typo
  fix typo
  fix resetting cursor data if dba_firstkey failed
  fix wrong define
  fix c/p issue
  enable ext/dba on AppVeyor
  implement support for LMDB in ext/dba
  fix identiation
  Bugfix #74556 stream_socket_get_name() returns empty string
  Fix abstract name handling to be binary safe
  Added more EXIF MAKERNOTE formats:  - AGFA,  - Kyocera  - Ricoh  - Epson
  Replace slow generic sha3 implementation by https://github.com/gvanas/KeccakCodePackage
  Bugfix #74598 ftp:// ignores context
  Improve conditions and visibility
  [ci skip] update NEWS
  Fix test
  Fixed bug #72885 flatfile: dba_fetch() fails to read replaced entry
  Update NEWS
  ...

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 29 May 2017 07:31:58 +0000 (08:31 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection

7 years agoFix Bug #74386Phar::__construct(): wrong number of parameters by reflection
Fabien Villepinte [Sat, 6 May 2017 12:38:17 +0000 (14:38 +0200)]
Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection

7 years agoMerge branch 'PHP-7.1'
Joe Watkins [Mon, 29 May 2017 07:30:11 +0000 (08:30 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Mon, 29 May 2017 07:29:58 +0000 (08:29 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection

7 years agoFix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
Fabien Villepinte [Wed, 10 May 2017 10:40:21 +0000 (12:40 +0200)]
Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection

7 years agoFixed typo
Markus Staab [Thu, 25 May 2017 18:06:13 +0000 (20:06 +0200)]
Fixed typo

7 years agofix typo
Anatol Belski [Sun, 28 May 2017 19:15:52 +0000 (21:15 +0200)]
fix typo

7 years agofix resetting cursor data if dba_firstkey failed
Anatol Belski [Sun, 28 May 2017 16:59:15 +0000 (18:59 +0200)]
fix resetting cursor data if dba_firstkey failed

better symbol check

fix config.m4

7 years agofix wrong define
Anatol Belski [Sun, 28 May 2017 16:57:07 +0000 (18:57 +0200)]
fix wrong define

7 years agofix c/p issue
Anatol Belski [Sun, 28 May 2017 16:54:26 +0000 (18:54 +0200)]
fix c/p issue

7 years agoenable ext/dba on AppVeyor
Anatol Belski [Sun, 28 May 2017 16:51:04 +0000 (18:51 +0200)]
enable ext/dba on AppVeyor

7 years agoimplement support for LMDB in ext/dba
Anatol Belski [Sun, 28 May 2017 16:13:26 +0000 (18:13 +0200)]
implement support for LMDB in ext/dba

don't abort txn if cursor is active

fix typos

7 years agofix identiation
Anatol Belski [Sat, 27 May 2017 23:17:03 +0000 (01:17 +0200)]
fix identiation

7 years agoMerge branch 'PHP-7.1'
Sara Golemon [Sun, 28 May 2017 15:51:41 +0000 (08:51 -0700)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Bugfix #74556 stream_socket_get_name() returns empty string
  Fix abstract name handling to be binary safe

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Sun, 28 May 2017 15:49:25 +0000 (08:49 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Bugfix #74556 stream_socket_get_name() returns empty string
  Fix abstract name handling to be binary safe

7 years agoBugfix #74556 stream_socket_get_name() returns empty string
Sara Golemon [Sun, 28 May 2017 14:23:57 +0000 (07:23 -0700)]
Bugfix #74556 stream_socket_get_name() returns empty string

The original bug report had it returning '\0',
but with a fix to abstract name handling (6d2d0bbda7)
it now actually returns ''.

Neither of these are good, as per unix(7)
an empty socket name indicates an unbound name
and "should not be inspected".