marcosptf [Sun, 13 Mar 2016 03:27:13 +0000 (00:27 -0300)]
improve dns (checkdnsrr) test coverage
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;
Sean Fraser [Fri, 26 May 2017 00:22:48 +0000 (20:22 -0400)]
added test for imagecopymergegray(), added color check to test for imagecopymerge()
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.
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
andrewnester [Fri, 26 May 2017 10:56:41 +0000 (13:56 +0300)]
Fixed #74639 - Added proper clone functionality for DatePeriod and DateInterval
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.
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.
Dmitry Stogov [Wed, 31 May 2017 13:16:56 +0000 (16:16 +0300)]
Exclude warm-up requests from callgrind profile.
Remi Collet [Wed, 31 May 2017 07:57:34 +0000 (09:57 +0200)]
clean
Remi Collet [Wed, 31 May 2017 07:56:01 +0000 (09:56 +0200)]
Use of bundled libzip is deprecated
Remi Collet [Tue, 30 May 2017 13:50:48 +0000 (15:50 +0200)]
NEWS
Dmitry Stogov [Wed, 31 May 2017 06:53:10 +0000 (09:53 +0300)]
New optimization pattern
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
Xinchen Hui [Wed, 31 May 2017 05:09:38 +0000 (13:09 +0800)]
Update NEWS
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
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)
Dmitry Stogov [Tue, 30 May 2017 23:14:17 +0000 (02:14 +0300)]
Avoid double copying
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.
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
Dmitry Stogov [Tue, 30 May 2017 21:40:33 +0000 (00:40 +0300)]
Fixed wrong condition
Dmitry Stogov [Tue, 30 May 2017 18:48:16 +0000 (21:48 +0300)]
Fixed function name resolution
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)
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.
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
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.
Dmitry Stogov [Tue, 30 May 2017 14:37:54 +0000 (17:37 +0300)]
Check for possible run-time function name resolution
Dmitry Stogov [Tue, 30 May 2017 14:14:08 +0000 (17:14 +0300)]
trim() micro-optimization
Anatol Belski [Tue, 30 May 2017 13:47:22 +0000 (15:47 +0200)]
reapply platform related onig patches
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
Remi Collet [Tue, 30 May 2017 13:46:15 +0000 (15:46 +0200)]
NEWS
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
Remi Collet [Tue, 30 May 2017 13:45:09 +0000 (15:45 +0200)]
NEWS
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>
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>
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>
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>
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>
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.
Dmitry Stogov [Tue, 30 May 2017 11:47:21 +0000 (14:47 +0300)]
Update opcode description
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.
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.
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.
Dmitry Stogov [Tue, 30 May 2017 07:02:04 +0000 (10:02 +0300)]
Don't allocate empty strings, use single interned string instead.
Remi Collet [Mon, 29 May 2017 10:07:13 +0000 (12:07 +0200)]
missing fix for another test
Remi Collet [Mon, 29 May 2017 09:41:16 +0000 (11:41 +0200)]
missing fix for test
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
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
Anatol Belski [Mon, 29 May 2017 08:14:47 +0000 (10:14 +0200)]
further data type fixes to ext/dba
Anatol Belski [Mon, 29 May 2017 08:02:51 +0000 (10:02 +0200)]
move dba handlers to size_t
Remi Collet [Mon, 29 May 2017 07:55:51 +0000 (09:55 +0200)]
fix hash build (when build dir != src dir)
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
...
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
Fabien Villepinte [Sat, 6 May 2017 12:38:17 +0000 (14:38 +0200)]
Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection
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
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
Fabien Villepinte [Wed, 10 May 2017 10:40:21 +0000 (12:40 +0200)]
Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
Markus Staab [Thu, 25 May 2017 18:06:13 +0000 (20:06 +0200)]
Fixed typo
Anatol Belski [Sun, 28 May 2017 19:15:52 +0000 (21:15 +0200)]
fix typo
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
Anatol Belski [Sun, 28 May 2017 16:57:07 +0000 (18:57 +0200)]
fix wrong define
Anatol Belski [Sun, 28 May 2017 16:54:26 +0000 (18:54 +0200)]
fix c/p issue
Anatol Belski [Sun, 28 May 2017 16:51:04 +0000 (18:51 +0200)]
enable ext/dba on AppVeyor
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
Anatol Belski [Sat, 27 May 2017 23:17:03 +0000 (01:17 +0200)]
fix identiation
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
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
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".
Sara Golemon [Sun, 28 May 2017 15:20:21 +0000 (08:20 -0700)]
Fix abstract name handling to be binary safe
Per unix(7):
abstract: an abstract socket address is distinguished (from a
pathname socket) by the fact that sun_path[0] is a null byte
('\0'). The socket's address in this namespace is given by the
additional bytes in sun_path that are covered by the specified
length of the address structure. (Null bytes in the name have no
special significance.) The name has no connection with filesystem
pathnames. When the address of an abstract socket is returned,
the returned addrlen is greater than sizeof(sa_family_t) (i.e.,
greater than 2), and the name of the socket is contained in the
first (addrlen - sizeof(sa_family_t)) bytes of sun_path.
The existing implementation was assuming significance in null bytes
contained in the abstract address identifier.
Kalle Sommer Nielsen [Sun, 28 May 2017 12:00:51 +0000 (14:00 +0200)]
Added more EXIF MAKERNOTE formats:
- AGFA,
- Kyocera
- Ricoh
- Epson
Christian Schneider [Wed, 5 Apr 2017 15:30:23 +0000 (17:30 +0200)]
Replace slow generic sha3 implementation by https://github.com/gvanas/KeccakCodePackage
Fix hash_copy() tests by using correct size for sha3 context
sync config.w32 with with new sha3 files
Move dependency on KeccakHash.h to hash_sha3.c so we do not rely on it to install php_hash_sha3.h
Allocate memory for KeccacInstance in hash_sha3.c so header files do not need to know about implementation details while keeping API backward compatible to original sha3 implementation
Fix memory leak because hash_copy is called after init which already allocates the hashinstance
Sara Golemon [Sun, 28 May 2017 04:15:24 +0000 (21:15 -0700)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Bugfix #74598 ftp:// ignores context
Sara Golemon [Sun, 28 May 2017 04:14:02 +0000 (21:14 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Bugfix #74598 ftp:// ignores context
Sara Golemon [Sun, 28 May 2017 04:12:49 +0000 (21:12 -0700)]
Bugfix #74598 ftp:// ignores context
Anatol Belski [Sat, 27 May 2017 21:07:49 +0000 (23:07 +0200)]
Improve conditions and visibility
Anatol Belski [Sat, 27 May 2017 20:57:19 +0000 (22:57 +0200)]
[ci skip] update NEWS
Anatol Belski [Sat, 27 May 2017 20:45:58 +0000 (22:45 +0200)]
Fix test
The lock flag is not set to '-' in the test, so there's no such run.
Anatol Belski [Sat, 27 May 2017 20:23:02 +0000 (22:23 +0200)]
Fixed bug #72885 flatfile: dba_fetch() fails to read replaced entry
With append mode it is only possible to write to the end of the file. It
is not suitable for drivers like flatfile. Thus, if the file is created,
the stream is closed and is reopened with r+b, otherwise r+ mode is used
right away.
Xinchen Hui [Sat, 27 May 2017 14:43:53 +0000 (22:43 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Update NEWS
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
Xinchen Hui [Sat, 27 May 2017 14:43:30 +0000 (22:43 +0800)]
Update NEWS
Xinchen Hui [Sat, 27 May 2017 14:43:23 +0000 (22:43 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
Xinchen Hui [Sat, 27 May 2017 14:42:17 +0000 (22:42 +0800)]
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
Anatol Belski [Sat, 27 May 2017 11:30:55 +0000 (13:30 +0200)]
extend condition
Xinchen Hui [Sat, 27 May 2017 04:12:17 +0000 (12:12 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Correct the location
Xinchen Hui [Sat, 27 May 2017 04:12:12 +0000 (12:12 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Correct the location
Xinchen Hui [Sat, 27 May 2017 04:11:53 +0000 (12:11 +0800)]
Correct the location
Xinchen Hui [Sat, 27 May 2017 04:09:28 +0000 (12:09 +0800)]
Merge branch 'PHP-7.1'
* PHP-7.1:
Added NEWs
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
Xinchen Hui [Sat, 27 May 2017 04:09:11 +0000 (12:09 +0800)]
Added NEWs
Xinchen Hui [Sat, 27 May 2017 04:08:48 +0000 (12:08 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
Xinchen Hui [Sat, 27 May 2017 04:06:43 +0000 (12:06 +0800)]
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
Kalle Sommer Nielsen [Fri, 26 May 2017 15:37:44 +0000 (17:37 +0200)]
Remove accidently added byte
Kalle Sommer Nielsen [Fri, 26 May 2017 15:29:50 +0000 (17:29 +0200)]
Added zend_parse_parameters_none_throw()
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)
Anatol Belski [Thu, 25 May 2017 19:01:32 +0000 (21:01 +0200)]
Turn interactive mode on, if cli binary is clicked in filemanager
Dmitry Stogov [Thu, 25 May 2017 17:20:57 +0000 (20:20 +0300)]
Fixed copy-paste mistake
Dmitry Stogov [Thu, 25 May 2017 15:41:28 +0000 (18:41 +0300)]
Added ZEND_GET_CLASS, ZEMD_GET_CALLED_CLASS, ZEND_GET_TYPE instructions, to implement corresponding builtin functions.
Derick Rethans [Thu, 25 May 2017 14:57:15 +0000 (10:57 -0400)]
Merge branch 'PHP-7.1'
Derick Rethans [Thu, 25 May 2017 14:57:09 +0000 (10:57 -0400)]
Added a test case for (docs) bug #74652
Dmitry Stogov [Thu, 25 May 2017 13:02:16 +0000 (16:02 +0300)]
Fixed test (backtrace was changed)
Dmitry Stogov [Thu, 25 May 2017 09:52:34 +0000 (12:52 +0300)]
Added ZEND_COUNT instruction, to implement corresponding builtin.