]>
granicus.if.org Git - php/log
Nikita Popov [Fri, 13 Oct 2017 09:59:28 +0000 (11:59 +0200)]
Fix gc_032.phpt
Use var_dump instead of debug_zval_dump. The refcounts are not
important for this test and change depending on whether opcache
is loaded or not.
Dmitry Stogov [Fri, 13 Oct 2017 08:39:42 +0000 (11:39 +0300)]
Merge branch 'develop_operators' of github.com:tianhe1986/php-src
* 'develop_operators' of github.com:tianhe1986/php-src:
`memcmp` begins from the second char.
tianhe1986 [Thu, 12 Oct 2017 14:46:26 +0000 (22:46 +0800)]
`memcmp` begins from the second char.
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
Dmitry Stogov [Thu, 12 Oct 2017 13:23:45 +0000 (16:23 +0300)]
PHP must not create circular arrays when element is assigned by value.
Christoph M. Becker [Thu, 12 Oct 2017 10:52:58 +0000 (12:52 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #75221 (Argon2i always throws NUL at the end)
Christoph M. Becker [Mon, 18 Sep 2017 16:09:53 +0000 (18:09 +0200)]
Fixed bug #75221 (Argon2i always throws NUL at the end)
Apparently, `argon2_encodedlen()` also counts the terminating NUL byte;
that doesn't appear to be documented somewhere, but from looking at the
implementation[1] it is pretty obvious. Therefore, the respective
`zend_string` has to be one byte shorter.
[1] <https://github.com/P-H-C/phc-winner-argon2/blob/
20161029 /src/argon2.c#L431-L436>
Bob Weinand [Thu, 12 Oct 2017 10:32:49 +0000 (12:32 +0200)]
Merge branch 'PHP-7.2'
Bob Weinand [Thu, 12 Oct 2017 10:32:30 +0000 (12:32 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
Bob Weinand [Thu, 12 Oct 2017 10:31:20 +0000 (12:31 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Thu, 12 Oct 2017 10:30:20 +0000 (12:30 +0200)]
Fixed bug #75363 (openssl_x509_parse leaks memory)
Dmitry Stogov [Thu, 12 Oct 2017 08:54:40 +0000 (11:54 +0300)]
Small improvement with zend_memnstr (tianhe1986)
Anatol Belski [Wed, 11 Oct 2017 20:26:09 +0000 (22:26 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
It looks like i should've taken joint response on ext/fileinfo long ago
Anatol Belski [Wed, 11 Oct 2017 20:25:27 +0000 (22:25 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
It looks like i should've taken joint response on ext/fileinfo long ago
Anatol Belski [Wed, 11 Oct 2017 20:24:52 +0000 (22:24 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
It looks like i should've taken joint response on ext/fileinfo long ago
Anatol Belski [Wed, 11 Oct 2017 20:21:34 +0000 (22:21 +0200)]
It looks like i should've taken joint response on ext/fileinfo long ago
Anatol Belski [Wed, 11 Oct 2017 18:32:28 +0000 (20:32 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Put php-sdk-2.0.12beta1 for AppVeyor
Anatol Belski [Wed, 11 Oct 2017 18:31:58 +0000 (20:31 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Put php-sdk-2.0.12beta1 for AppVeyor
Anatol Belski [Wed, 11 Oct 2017 18:30:40 +0000 (20:30 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Put php-sdk-2.0.12beta1 for AppVeyor
Anatol Belski [Wed, 11 Oct 2017 18:27:27 +0000 (20:27 +0200)]
Put php-sdk-2.0.12beta1 for AppVeyor
Quite some tool upgrades there, especially re2c 1.0.2
Anatol Belski [Wed, 11 Oct 2017 17:03:24 +0000 (19:03 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] update NEWS
Anatol Belski [Wed, 11 Oct 2017 17:02:51 +0000 (19:02 +0200)]
[ci skip] update NEWS
Anatol Belski [Wed, 11 Oct 2017 17:00:41 +0000 (19:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Cleanup irrelevant info
Anatol Belski [Wed, 11 Oct 2017 16:40:16 +0000 (18:40 +0200)]
Cleanup irrelevant info
Anatol Belski [Wed, 11 Oct 2017 16:24:29 +0000 (18:24 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Upgrade bundled libmagic to 5.31
Anatol Belski [Wed, 11 Oct 2017 16:18:55 +0000 (18:18 +0200)]
Upgrade bundled libmagic to 5.31
Christoph M. Becker [Wed, 11 Oct 2017 15:40:12 +0000 (17:40 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
Christoph M. Becker [Wed, 11 Oct 2017 15:30:17 +0000 (17:30 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
Christoph M. Becker [Wed, 11 Oct 2017 15:29:02 +0000 (17:29 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
Christoph M. Becker [Wed, 11 Oct 2017 15:05:53 +0000 (17:05 +0200)]
Merge branch 'pull-request/2798' into PHP-7.0
* pull-request/2798:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
Christoph M. Becker [Wed, 11 Oct 2017 13:27:56 +0000 (15:27 +0200)]
Test requires mbstring – skip if not available
Christoph M. Becker [Wed, 11 Oct 2017 13:01:23 +0000 (15:01 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Use PHP_VERSION for exif
Christoph M. Becker [Wed, 11 Oct 2017 12:44:19 +0000 (14:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Use PHP_VERSION for exif
Christoph M. Becker [Wed, 11 Oct 2017 12:43:30 +0000 (14:43 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Use PHP_VERSION for exif
Christoph M. Becker [Wed, 11 Oct 2017 12:42:02 +0000 (14:42 +0200)]
Merge branch 'pull-request/2799' into PHP-7.0
* pull-request/2799:
Use PHP_VERSION for exif
Christoph M. Becker [Wed, 11 Oct 2017 12:38:59 +0000 (14:38 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
bump version
Christoph M. Becker [Wed, 11 Oct 2017 12:38:12 +0000 (14:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
bump version
Anatol Belski [Wed, 11 Oct 2017 07:00:32 +0000 (09:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix datatype
Anatol Belski [Wed, 11 Oct 2017 06:58:59 +0000 (08:58 +0200)]
Fix datatype
Dmitry Stogov [Tue, 10 Oct 2017 16:37:46 +0000 (19:37 +0300)]
Fixed file_cache broken by recent AST related changes.
Dmitry Stogov [Tue, 10 Oct 2017 16:37:40 +0000 (19:37 +0300)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed cleanup after optimization passes
Dmitry Stogov [Tue, 10 Oct 2017 16:25:51 +0000 (19:25 +0300)]
Fixed cleanup after optimization passes
Sara Golemon [Tue, 10 Oct 2017 15:58:01 +0000 (11:58 -0400)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Revert "Update NEWS for PHP 7.2.0RC4"
Revert "Update NEWS for 7.2.0RC5"
Update NEWS for 7.2.0RC5
Update NEWS for PHP 7.2.0RC4
Sara Golemon [Tue, 10 Oct 2017 15:55:50 +0000 (11:55 -0400)]
Revert "Update NEWS for PHP 7.2.0RC4"
This reverts commit
1ea657c65e64d8338e47ead04cfe64c88bf47f2c .
Sara Golemon [Tue, 10 Oct 2017 15:55:41 +0000 (11:55 -0400)]
Revert "Update NEWS for 7.2.0RC5"
This reverts commit
ef25e56ae6a9df1d8fe409707c208d71c067f285 .
Sara Golemon [Tue, 10 Oct 2017 15:49:16 +0000 (15:49 +0000)]
Update NEWS for 7.2.0RC5
Sara Golemon [Tue, 10 Oct 2017 15:27:31 +0000 (15:27 +0000)]
Update NEWS for PHP 7.2.0RC4
Joe Watkins [Tue, 10 Oct 2017 15:12:36 +0000 (16:12 +0100)]
bump version
Dmitry Stogov [Tue, 10 Oct 2017 12:45:03 +0000 (15:45 +0300)]
AST don't have to be COPYABLE anymore.
Anatol Belski [Tue, 10 Oct 2017 12:33:31 +0000 (14:33 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix path in makefile fragment
Anatol Belski [Tue, 10 Oct 2017 12:32:02 +0000 (14:32 +0200)]
Fix path in makefile fragment
Christoph M. Becker [Tue, 10 Oct 2017 12:00:33 +0000 (14:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
[ci skip] Add NEWS entry for bug #75349
Christoph M. Becker [Tue, 10 Oct 2017 11:59:09 +0000 (13:59 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
[ci skip] Add NEWS entry for bug #75349
Christoph M. Becker [Tue, 10 Oct 2017 11:55:45 +0000 (13:55 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
[ci skip] Add NEWS entry for bug #75349
Christoph M. Becker [Tue, 10 Oct 2017 11:54:52 +0000 (13:54 +0200)]
[ci skip] Add NEWS entry for bug #75349
Anatol Belski [Tue, 10 Oct 2017 11:00:38 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix re2c version detection
Anatol Belski [Tue, 10 Oct 2017 11:00:26 +0000 (13:00 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix re2c version detection
Anatol Belski [Tue, 10 Oct 2017 11:00:14 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Update NEWS for 7.2.0RC5
Update NEWS for PHP 7.2.0RC4
Anatol Belski [Tue, 10 Oct 2017 10:59:14 +0000 (12:59 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix re2c version detection
Remi Collet [Tue, 10 Oct 2017 10:27:37 +0000 (10:27 +0000)]
Update NEWS for 7.2.0RC5
Remi Collet [Tue, 10 Oct 2017 10:12:30 +0000 (10:12 +0000)]
Update NEWS for PHP 7.2.0RC4
Anatol Belski [Tue, 10 Oct 2017 08:52:52 +0000 (10:52 +0200)]
Fix re2c version detection
Dmitry Stogov [Tue, 10 Oct 2017 08:10:27 +0000 (11:10 +0300)]
Renumber types and type_flags
Dmitry Stogov [Tue, 10 Oct 2017 07:11:05 +0000 (10:11 +0300)]
Always use IS_CONSTANT_AST (IS_CONSTANT is removed).
Anatol Belski [Tue, 10 Oct 2017 06:28:46 +0000 (08:28 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Move dev to 7.0.26
Anatol Belski [Tue, 10 Oct 2017 06:28:09 +0000 (08:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Move dev to 7.0.26
Anatol Belski [Tue, 10 Oct 2017 06:27:37 +0000 (08:27 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Move dev to 7.0.26
Anatol Belski [Tue, 10 Oct 2017 06:26:04 +0000 (08:26 +0200)]
Move dev to 7.0.26
Sara Golemon [Mon, 2 Oct 2017 21:26:05 +0000 (17:26 -0400)]
Make GMP more usable by third-party extensions.
Export a PHPAPI function to return gmp_ce (and make the actual storage static).
Provide gmp_object struct in header w/ inline accessor.
Install php_gmp_int.h header.
Remove unnecessary `#ifdef HAVE_GMP` checks.
Dmitry Stogov [Mon, 9 Oct 2017 13:57:51 +0000 (16:57 +0300)]
Changed zend_ast_ref structure to use only one allocation, removing dichotomy between heap/arena ASTs.
Anatol Belski [Mon, 9 Oct 2017 13:40:00 +0000 (15:40 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix array access on undeclared properties in DateInterval
Anatol Belski [Mon, 9 Oct 2017 13:38:37 +0000 (15:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix array access on undeclared properties in DateInterval
Anatol Belski [Mon, 9 Oct 2017 13:38:21 +0000 (15:38 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fix array access on undeclared properties in DateInterval
Anatol Belski [Mon, 9 Oct 2017 13:35:38 +0000 (15:35 +0200)]
Fix array access on undeclared properties in DateInterval
Anatol Belski [Mon, 9 Oct 2017 11:15:17 +0000 (13:15 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fix ftok() multibyte path support
Anatol Belski [Mon, 9 Oct 2017 11:13:51 +0000 (13:13 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fix ftok() multibyte path support
Anatol Belski [Mon, 9 Oct 2017 11:07:40 +0000 (13:07 +0200)]
Fix ftok() multibyte path support
Dmitry Stogov [Mon, 9 Oct 2017 09:24:11 +0000 (12:24 +0300)]
Use zval_ptr_dtor_nogc() in places where circular zvals are not possible
Peter Kokot [Sun, 8 Oct 2017 15:29:46 +0000 (17:29 +0200)]
Update README information for the libmbfl library
The libmbfl library is bundled with PHP and has its own repository for
development and bug fixes. To avoid confusion and faster development the
README has been updated to include the information of the original library and
to use the bundled library as a fork of the upstream repository instead.
Peter Kokot [Sun, 8 Oct 2017 12:08:23 +0000 (14:08 +0200)]
Refactor mbstring READMEs
Peter Kokot [Sun, 8 Oct 2017 01:09:37 +0000 (03:09 +0200)]
Remove code examples from dom extension
PHP documentation is a better place to present code examples. Tests
for ext/dom already include all used PHP code.
Peter Kokot [Thu, 5 Oct 2017 17:07:28 +0000 (19:07 +0200)]
Remove old apache_hooks occurrence
The apache_hooks SAPI has been removed since PHP >= 7.0 and there is no
need to have two different php_request_startup definitions.
Also php_request_startup_for_hook() and php_request_shutdown_for_hook() functions
are not used in the PHP source code directly anymore. They are out of sync and
are not touched when making changes to the shutdown sequence.
The php_start_sapi() function was therefore not used anymore and is
removed.
Peter Kokot [Thu, 5 Oct 2017 15:55:29 +0000 (17:55 +0200)]
Remove some old apache2filter occurrences
apache2filter was supported in PHP <= 5.6. This patch removes some old
apache2filter occurrences. Also FreeBSD warning therefore is not needed
anymore when building PHP with apache2filter and in later versions don't
need to set the --with-tsrm-pth option.
Peter Kokot [Thu, 5 Oct 2017 14:49:43 +0000 (16:49 +0200)]
Remove unused Travis configuration for sapi/phpdbg
The phpdbg sapi has been initially developed under the
github.com/krakjoe/krakjoe/phpdbg repository with its own Travis-CI.org
configuration. Since 2017-03-16 the main development is happening in the main
php-src repository.
Peter Kokot [Fri, 6 Oct 2017 21:37:32 +0000 (23:37 +0200)]
Remove README from ext/tidy in favor of the PHP docs
The tidy introduction includes an outdated link to tidy HTML library homepage,
and PHP documentation presents the tidy PHP extension better instead.
Peter Kokot [Sat, 7 Oct 2017 20:31:38 +0000 (22:31 +0200)]
Remove outdated README from ext/com_dotnet
The PHP documentation includes updated and better com_dotnet
information.
Peter Kokot [Sat, 7 Oct 2017 22:45:36 +0000 (00:45 +0200)]
Remove done TODO file from date extension
TODO file for date extension has been outdated:
- date_default_timezone_set_error.phpt includes checking that
date_default_timezone_set() validates the passed timezone identifiers.
- ext/date/php_date.c includes timezone caching
- errors are included in date_parse() return value.
Sara Golemon [Sat, 7 Oct 2017 14:14:11 +0000 (10:14 -0400)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
Add line numbers to Optimizer debug output
Sara Golemon [Sat, 7 Oct 2017 14:14:03 +0000 (10:14 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
Sara Golemon [Sat, 7 Oct 2017 14:13:54 +0000 (10:13 -0400)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
Sara Golemon [Sat, 7 Oct 2017 14:08:34 +0000 (10:08 -0400)]
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
Rasmus Lerdorf [Fri, 6 Oct 2017 20:18:12 +0000 (17:18 -0300)]
Add line numbers to Optimizer debug output
Christoph M. Becker [Fri, 6 Oct 2017 15:16:54 +0000 (17:16 +0200)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
Christoph M. Becker [Fri, 6 Oct 2017 14:56:46 +0000 (16:56 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1:
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
Christoph M. Becker [Fri, 6 Oct 2017 14:46:22 +0000 (16:46 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
Christoph M. Becker [Fri, 6 Oct 2017 14:45:07 +0000 (16:45 +0200)]
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
Of course, reflection has to know that as well.
Rasmus Lerdorf [Fri, 6 Oct 2017 14:03:07 +0000 (11:03 -0300)]
Add line numbers to Opcache's zend_dump_op() debug output
Dmitry Stogov [Fri, 6 Oct 2017 09:08:55 +0000 (12:08 +0300)]
mb_convert_variables() refactored to use simple recursion.
Fixed incorrect recursion protection (previous implementation kept protection flag or apply counter in non-zero state).
Dmitry Stogov [Fri, 6 Oct 2017 08:47:11 +0000 (11:47 +0300)]
Fixed incorrect recursion detection
Dmitry Stogov [Thu, 5 Oct 2017 23:54:14 +0000 (02:54 +0300)]
HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to be consistent with IS_STR_PERSISTENT).
Dmitry Stogov [Thu, 5 Oct 2017 22:34:50 +0000 (01:34 +0300)]
Refactored recursion pretection