]>
granicus.if.org Git - php/log
Remi Collet [Mon, 22 Jul 2019 14:14:36 +0000 (16:14 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm with system libgd - drop need to use libfreetype with system libgd - improve configure comments
Remi Collet [Mon, 22 Jul 2019 09:47:38 +0000 (11:47 +0200)]
cleanup gd build with system libgd - drop need to use libpng with system libgd - drop need to use libjpeg with system libgd - drop need to use libXpm with system libgd - drop need to use libfreetype with system libgd - improve configure comments
Peter Kokot [Mon, 22 Jul 2019 14:06:12 +0000 (16:06 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove HAVE_PQPUTCOPYEND
Peter Kokot [Mon, 22 Jul 2019 14:05:26 +0000 (16:05 +0200)]
Remove HAVE_PQPUTCOPYEND
Symbol is not used anywhere in the code and also Postgresql 7.x is
EOL anyway.
Closes GH-4453
Peter Kokot [Mon, 22 Jul 2019 14:04:20 +0000 (16:04 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix internals upgrading log
Remove HAVE_DSA_DEFAULT_METHOD
Peter Kokot [Mon, 22 Jul 2019 14:04:07 +0000 (16:04 +0200)]
Fix internals upgrading log
Peter Kokot [Mon, 22 Jul 2019 14:01:25 +0000 (16:01 +0200)]
Remove HAVE_DSA_DEFAULT_METHOD
Last usage removed via
6a813634052710f3f4bf6e2e03ca1b6c7be3bcee .
Closes GH-4455
Christoph M. Becker [Mon, 22 Jul 2019 14:00:18 +0000 (16:00 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove superfluous HAVE_GD_BUNDLED checks
Christoph M. Becker [Mon, 22 Jul 2019 13:10:08 +0000 (15:10 +0200)]
Remove superfluous HAVE_GD_BUNDLED checks
If we're compiling the bundled libgd, `HAVE_GD_BUNDLED` is set, so
there is no need to check for this macro again.
Nikita Popov [Mon, 22 Jul 2019 10:41:20 +0000 (12:41 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 22 Jul 2019 10:41:15 +0000 (12:41 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 22 Jul 2019 10:40:26 +0000 (12:40 +0200)]
Remove test for bug #77185
Seems to be very unreliable in CI.
Nikita Popov [Mon, 22 Jul 2019 10:29:31 +0000 (12:29 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 22 Jul 2019 10:29:27 +0000 (12:29 +0200)]
Merge branch 'master' of git.php.net:/php-src
Nikita Popov [Mon, 22 Jul 2019 10:29:00 +0000 (12:29 +0200)]
Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4
Nikita Popov [Mon, 22 Jul 2019 10:13:12 +0000 (12:13 +0200)]
Merge branch 'PHP-7.4'
Christoph M. Becker [Mon, 22 Jul 2019 10:01:58 +0000 (12:01 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Drop superfluous ENABLE_GD_TTF
Christoph M. Becker [Sun, 21 Jul 2019 15:28:49 +0000 (17:28 +0200)]
Drop superfluous ENABLE_GD_TTF
If we `HAVE_LIBFREETYPE`, we define `ENABLE_GD_TTF` if it is not
defined. Therefore we can check for `HAVE_LIBFREETYPE` in the first
place.
Nikita Popov [Mon, 22 Jul 2019 09:53:50 +0000 (11:53 +0200)]
Add deprecations to UPGRADING
Nikita Popov [Fri, 12 Jul 2019 10:53:09 +0000 (12:53 +0200)]
Deprecate unbinding $this from non-static closure
Nikita Popov [Fri, 12 Jul 2019 10:42:32 +0000 (12:42 +0200)]
Deprecate allow_url_include
Nikita Popov [Fri, 12 Jul 2019 10:20:41 +0000 (12:20 +0200)]
Deprecate restore_include_path()
Nikita Popov [Fri, 12 Jul 2019 10:14:02 +0000 (12:14 +0200)]
Deprecate convert_cyr_string()
Nikita Popov [Fri, 12 Jul 2019 10:09:50 +0000 (12:09 +0200)]
Deprecate (real) cast
Nikita Popov [Fri, 12 Jul 2019 08:31:16 +0000 (10:31 +0200)]
Deprecate implode() with swapped parameter order
Nikita Popov [Fri, 12 Jul 2019 08:21:21 +0000 (10:21 +0200)]
Deprecate FILTER_SANITIZE_MAGIC_QUOTES
Nikita Popov [Thu, 11 Jul 2019 15:18:01 +0000 (17:18 +0200)]
Deprecate is_real() function
Nikita Popov [Thu, 11 Jul 2019 15:12:08 +0000 (17:12 +0200)]
Deprecate money_format()
Nikita Popov [Thu, 11 Jul 2019 15:06:54 +0000 (17:06 +0200)]
Deprecate hebrevc()
Nikita Popov [Thu, 11 Jul 2019 15:04:36 +0000 (17:04 +0200)]
Deprecate ezmlm_hash()
Nikita Popov [Thu, 11 Jul 2019 15:02:04 +0000 (17:02 +0200)]
Deprecate encoding as 3rd param to mb_strrpos()
Nikita Popov [Thu, 11 Jul 2019 11:41:10 +0000 (13:41 +0200)]
Deprecate Reflection export() methods
And remove the Reflector::export() interface method.
Nikita Popov [Thu, 11 Jul 2019 11:35:44 +0000 (13:35 +0200)]
Deprecate array_key_exists() on objects
Nikita Popov [Thu, 11 Jul 2019 11:32:10 +0000 (13:32 +0200)]
Deprecate get_magic_quotes_gpc() and get_magic_quotes_runtime()
Nikita Popov [Mon, 22 Jul 2019 09:19:32 +0000 (11:19 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 22 Jul 2019 09:19:24 +0000 (11:19 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 22 Jul 2019 09:18:38 +0000 (11:18 +0200)]
Reduce number of workers in test
4 seems to be enough to reliably reproduce the issue. Let's see
if this works better in CI.
Dmitry Stogov [Mon, 22 Jul 2019 09:03:35 +0000 (12:03 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Initialize static_members_table
Dmitry Stogov [Mon, 22 Jul 2019 09:02:16 +0000 (12:02 +0300)]
Initialize static_members_table
Dmitry Stogov [Mon, 22 Jul 2019 08:59:49 +0000 (11:59 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Evaluate constant in class scope
Dmitry Stogov [Mon, 22 Jul 2019 08:59:24 +0000 (11:59 +0300)]
Evaluate constant in class scope
Nikita Popov [Mon, 22 Jul 2019 08:34:58 +0000 (10:34 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 22 Jul 2019 08:34:32 +0000 (10:34 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Maksim Nikulin [Wed, 23 Jan 2019 05:19:29 +0000 (12:19 +0700)]
Prevent use after free in fpm_event_epoll_wait
epoll event backend does not guarantee that child input/output events
are reported before SIGCHILD due to finished worker. While a bunch of
events received by epoll is being processed, child-related structures
may be removed before dispatching of an I/O event for the same child.
The result may be attempt to access to memory region allocated for
another purpose, segfault of the master process, and unavailable web
sites.
Postpone processing of SIGCHILD events till other events in the same
bunch are processed.
Fix Bug #62418 php-fpm master process crashes
Fix Bug #65398 Race condition between SIGCHLD and child stdout/stderr event leads to segfault
Fix Bug #75112 php-fpm crashing, hard to reproduce
Fix Bug #77114 php-fpm master segfaults in fpm_event_epoll_wait/fpm_event_fire
Fix Bug #77185 Use-after-free in FPM master event handling
Remi Collet [Mon, 22 Jul 2019 07:12:48 +0000 (09:12 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
improve temporary fix for system libgd
Remi Collet [Mon, 22 Jul 2019 07:11:32 +0000 (09:11 +0200)]
improve temporary fix for system libgd
- PHP_GD_PNG needed to set include path for png.h
- PHP_GD_JPEG needed to set include path for jpeglib.h
Peter Kokot [Sun, 21 Jul 2019 09:41:20 +0000 (11:41 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove build.mk usage
Peter Kokot [Sun, 21 Jul 2019 09:40:23 +0000 (11:40 +0200)]
Remove build.mk usage
First step when creating the `configure` script is currently using
make. This is helpful when developing buildsystem to only rebuild
`configure` and `main/php_config.h.in` files when one of the *.m4
or configure.ac file changes and saves the developer time a little.
Realistically however, it is not needed that much considering the
times of several seconds to fully rebuild the configure script and
configuration header. The next step when running the `configure`
script is much more time consuming so performance on buildconf
level is a bit questionable and won't be noticed on today's
systems.
Additionally:
- buildconf now removes cache and all targets and uses -f option on
the first step i.e. autoconf. The autoheader does not need the -f
option in this case.
Closes GH-4437
Peter Kokot [Sun, 21 Jul 2019 09:35:09 +0000 (11:35 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove some unused HAVE_* symbols
Peter Kokot [Sun, 21 Jul 2019 09:34:18 +0000 (11:34 +0200)]
Remove some unused HAVE_* symbols
- HAVE_NET_SNMP removed via
cab643f615d4f592778b7234dabed772d5d66866
- HAVE_CRYPTO_AEAD_AES256GCM
ad120c5ae93b49aeb4661b84f981beda2b31cde8
- Remove HAVE_FREETDS and HAVE_LIBDNET_STUB (not used in current
extension; copy paste from other removed extensions)
Closes GH-4448
Peter Kokot [Sun, 21 Jul 2019 09:32:53 +0000 (11:32 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove HAVE_LIBZIP
Peter Kokot [Sun, 21 Jul 2019 09:31:23 +0000 (11:31 +0200)]
Remove HAVE_LIBZIP
The libzip library is now always used from the system.
Closes GH-4450
George Wang [Sun, 21 Jul 2019 04:02:03 +0000 (00:02 -0400)]
Merge branch 'PHP-7.4'
George Wang [Sun, 21 Jul 2019 04:01:39 +0000 (00:01 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4
George Wang [Sun, 21 Jul 2019 04:01:06 +0000 (00:01 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3
George Wang [Sun, 21 Jul 2019 03:59:43 +0000 (23:59 -0400)]
Checked in LiteSpeed SAPI 7.5, addressed two main problems in "clean shutdown" introduced in 7.4.3,
1. falls in an infinite loop because PHP engine's inconsistent state, now override the ITIMER_PROF to 0.1 second, clean shutdown must finish before that.
2. generate too much error log, we completely disable "error_reporting" before calling php_request_shutdown().
Peter Kokot [Sat, 20 Jul 2019 23:10:57 +0000 (01:10 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Renamed MySQLi test to remove duplicate 'mysqli_'
George Peter Banyard [Sat, 20 Jul 2019 23:10:31 +0000 (01:10 +0200)]
Renamed MySQLi test to remove duplicate 'mysqli_'
Closes GH-4441
Peter Kokot [Sat, 20 Jul 2019 23:02:51 +0000 (01:02 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix typos
Markus Staab [Sat, 20 Jul 2019 23:01:36 +0000 (01:01 +0200)]
Fix typos
Closes GH-4447
Peter Kokot [Sat, 20 Jul 2019 22:50:27 +0000 (00:50 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix failed tests for phar
Peter Kokot [Sat, 20 Jul 2019 22:49:35 +0000 (00:49 +0200)]
Fix failed tests for phar
- when $status is boolean, E_NOTICE appears and tests fail
- opcache is never enabled on these tests anyway.
- Add opcache.revalidate_freq=0 to testing script
Instead of checking this in the tests files it can be used directly in
the main testing script. Also this fixes failed tests.
- Use opcache_invalidate() instead of sleep() delay in some tests. Some
delays are still used since the opcache_invalidate seems to be buggy
and not working as expected.
Closes GH-4392
Peter Kokot [Sat, 20 Jul 2019 22:41:20 +0000 (00:41 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite
Peter Kokot [Sat, 20 Jul 2019 22:40:59 +0000 (00:40 +0200)]
Move HAVE_SQLITE3_CLOSE_V2 to pdo_sqlite
Closes GH-4444
Peter Kokot [Sat, 20 Jul 2019 22:39:44 +0000 (00:39 +0200)]
Update changelog
Peter Kokot [Sat, 20 Jul 2019 22:37:47 +0000 (00:37 +0200)]
Remove HAVE_LOCALE_H and locale.h check
This was a left over for supporting old code in PHP extensions out there.
Check is not needed anymore since this is part of C89+ standard.
Closes GH-4445
Remi Collet [Sat, 20 Jul 2019 05:57:26 +0000 (07:57 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed bug #78314 (missing freetype support/functions with external gd)
Remi Collet [Sat, 20 Jul 2019 05:57:13 +0000 (07:57 +0200)]
Fixed bug #78314 (missing freetype support/functions with external gd)
Peter Kokot [Fri, 19 Jul 2019 22:27:39 +0000 (00:27 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove unused sqlite symbols
Peter Kokot [Fri, 19 Jul 2019 22:27:10 +0000 (00:27 +0200)]
Remove unused sqlite symbols
- HAVE_SQLITE3_KEY is no longer used in php-src
- SQLITE_ENABLE_COLUMN_METADATA is no longer used in php-src
Closes GH-4443
Peter Kokot [Fri, 19 Jul 2019 21:07:34 +0000 (23:07 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix typos in FFI
Peter Kokot [Fri, 19 Jul 2019 21:07:04 +0000 (23:07 +0200)]
Fix typos in FFI
Closes GH-4438
Christoph M. Becker [Fri, 19 Jul 2019 18:05:08 +0000 (20:05 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Put oniguruma include path to proper CFLAGS
Christoph M. Becker [Fri, 19 Jul 2019 18:03:41 +0000 (20:03 +0200)]
Put oniguruma include path to proper CFLAGS
Christoph M. Becker [Fri, 19 Jul 2019 17:31:58 +0000 (19:31 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Move Oniguruma related config stuff to where it belongs
Christoph M. Becker [Fri, 19 Jul 2019 17:27:23 +0000 (19:27 +0200)]
Move Oniguruma related config stuff to where it belongs
Oniguruma is exclusively used by ext/mbstring, and only if mbregex is
enabled. Therefore it is unnecessary and confusing to have Oniguruma
related config stuff scattered elsewhere.
While we're at it, we also remove the referral to the bundled libonig
which is removed as of PHP 7.4.0, and the duplicated call to
`PHP_INSTALL_HEADERS()`.
Nikita Popov [Fri, 19 Jul 2019 08:59:10 +0000 (10:59 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 19 Jul 2019 08:58:00 +0000 (10:58 +0200)]
Merge Linux & Windows fwrite test
The test files are the same, just with a different OS check...
Dmitry Stogov [Fri, 19 Jul 2019 08:46:35 +0000 (11:46 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Use run-time cache to avoid repeatable hash lookups in ZEND_DECLARE_CLASS_DELAYED
Dmitry Stogov [Fri, 19 Jul 2019 08:46:03 +0000 (11:46 +0300)]
Use run-time cache to avoid repeatable hash lookups in ZEND_DECLARE_CLASS_DELAYED
Nikita Popov [Fri, 19 Jul 2019 08:06:30 +0000 (10:06 +0200)]
Merge branch 'PHP-7.4'
rjhdby [Wed, 13 Mar 2019 10:51:31 +0000 (13:51 +0300)]
Deprecate alternative array access syntax
RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access
Dmitry Stogov [Fri, 19 Jul 2019 07:50:51 +0000 (10:50 +0300)]
Fixed JIT
Dmitry Stogov [Fri, 19 Jul 2019 07:45:00 +0000 (10:45 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Use run-time cache to avoid repeatable hash lookups when creating anonymous functions and classes
Dmitry Stogov [Fri, 19 Jul 2019 07:43:49 +0000 (10:43 +0300)]
Use run-time cache to avoid repeatable hash lookups when creating anonymous functions and classes
Dmitry Stogov [Fri, 19 Jul 2019 07:10:50 +0000 (10:10 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
ZEND_DECLARE_ANON_CLASS doesn't need to skip anything now. It's immediatelly followed by ZEND_NEW.
Dmitry Stogov [Fri, 19 Jul 2019 07:09:26 +0000 (10:09 +0300)]
ZEND_DECLARE_ANON_CLASS doesn't need to skip anything now. It's immediatelly followed by ZEND_NEW.
Peter Kokot [Thu, 18 Jul 2019 22:03:06 +0000 (00:03 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove safe_mode directive when installing ext/phar
Peter Kokot [Thu, 18 Jul 2019 22:02:12 +0000 (00:02 +0200)]
Remove safe_mode directive when installing ext/phar
Closes GH-4436
Dmitry Stogov [Thu, 18 Jul 2019 13:50:56 +0000 (16:50 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Merge common code
Dmitry Stogov [Thu, 18 Jul 2019 13:46:25 +0000 (16:46 +0300)]
Merge common code
Nikita Popov [Thu, 18 Jul 2019 12:42:34 +0000 (14:42 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 18 Jul 2019 12:42:20 +0000 (14:42 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 18 Jul 2019 12:41:22 +0000 (14:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Abyr Valg [Wed, 17 Jul 2019 18:46:40 +0000 (21:46 +0300)]
Fixed bug #77946
Save multi_info_read() result into easy handle.
Christoph M. Becker [Thu, 18 Jul 2019 10:15:42 +0000 (12:15 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove remaining lightnings from run-tests.php
Christoph M. Becker [Thu, 18 Jul 2019 10:12:41 +0000 (12:12 +0200)]
Remove remaining lightnings from run-tests.php
The classic Windows console only supports the Unicode BMP, so it can't
handle the LIGHTNING MOOD character (U+1F5F2). It also seems that
common fonts do not support the LIGHTNING (U+2607) character, so a
general removal is appropriate.
However, Windows is already "ready for the future"[1], but PHP for
Windows is not (yet).
[1] <https://devblogs.microsoft.com/commandline/windows-command-line-unicode-and-utf-8-output-text-buffer/>
Peter Kokot [Thu, 18 Jul 2019 10:11:45 +0000 (12:11 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove duplicate socklen_t check
Peter Kokot [Thu, 18 Jul 2019 10:11:19 +0000 (12:11 +0200)]
Remove duplicate socklen_t check
- Use Autoconf's default AC_CHECK_TYPES
Closes GH-4418
Nikita Popov [Thu, 18 Jul 2019 09:16:33 +0000 (11:16 +0200)]
Merge branch 'PHP-7.4'