]> granicus.if.org Git - php/log
php
5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 29 Jul 2019 11:03:28 +0000 (13:03 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFixed bug #78341
Nikita Popov [Mon, 29 Jul 2019 11:02:01 +0000 (13:02 +0200)]
Fixed bug #78341

The smart branch logic assumed b->start refers to the old offsets,
while b->start was already adjusted to the new offsets at this
point. Delay the change until later.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 29 Jul 2019 09:27:39 +0000 (11:27 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 29 Jul 2019 09:27:34 +0000 (11:27 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #78333
Nikita Popov [Mon, 29 Jul 2019 09:23:26 +0000 (11:23 +0200)]
Fixed bug #78333

Don't dereference float/double values at unknown address, instead
memcpy it into an aligned stack slot and dereference that.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 29 Jul 2019 09:26:15 +0000 (11:26 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 29 Jul 2019 09:26:00 +0000 (11:26 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #78333
Nikita Popov [Mon, 29 Jul 2019 09:23:26 +0000 (11:23 +0200)]
Fixed bug #78333

Don't dereference float/double values at unknown address, instead
memcpy it into an aligned stack slot and dereference that.

5 years agoFixed bug #78344
Nikita Popov [Mon, 29 Jul 2019 09:12:00 +0000 (11:12 +0200)]
Fixed bug #78344

When performing a constant visibility check during compilation we
might be dealing with unlinked classes and as such should account
for the possibility of unresolved parents.

5 years agoFixed bug #78340
Nikita Popov [Mon, 29 Jul 2019 08:07:12 +0000 (10:07 +0200)]
Fixed bug #78340

Even if we know the file size, we still need to read in a loop in
case the read call returns an incomplete result.

This was less of an issue previously because we did not use the
"one large read" approach for non-plain stream wrappers.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 29 Jul 2019 06:51:14 +0000 (08:51 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78342: Bus error in configure test for iconv //IGNORE

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 29 Jul 2019 06:50:17 +0000 (08:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #78342: Bus error in configure test for iconv //IGNORE

5 years agoFix #78342: Bus error in configure test for iconv //IGNORE
Christoph M. Becker [Mon, 29 Jul 2019 06:48:13 +0000 (08:48 +0200)]
Fix #78342: Bus error in configure test for iconv //IGNORE

We have to check the return value of iconv_open() for error, to avoid
that and potentially other undesired behavior of iconv().

5 years agonit: Fix a typo in UPGRADING
Tyson Andre [Sat, 27 Jul 2019 18:35:42 +0000 (14:35 -0400)]
nit: Fix a typo in UPGRADING

Closes GH-4481

5 years agofile encoding cleanup: remove bom in win32 files
Sebastian Jennen [Sat, 27 Jul 2019 07:47:32 +0000 (09:47 +0200)]
file encoding cleanup: remove bom in win32 files

These two files have been: "UTF-8 Unicode (with BOM) text".
By applying `dos2unix` on these files the BOM has been removed.

I checked the whole source code with dos2unix:
These were the only two text files affected.

5 years agoMention also API versions bumps
Peter Kokot [Tue, 23 Jul 2019 23:01:11 +0000 (01:01 +0200)]
Mention also API versions bumps

Closes GH-4470

5 years agoFix typos in UPGRADING and improve wording in a few places
Theodore Brown [Thu, 25 Jul 2019 17:23:26 +0000 (12:23 -0500)]
Fix typos in UPGRADING and improve wording in a few places

Closes GH-4478

5 years agoRemove duplication
Christoph M. Becker [Thu, 25 Jul 2019 17:09:21 +0000 (19:09 +0200)]
Remove duplication

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Levi Morrison [Thu, 25 Jul 2019 15:50:47 +0000 (09:50 -0600)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Remove .post files only for passing tests

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Levi Morrison [Thu, 25 Jul 2019 15:49:18 +0000 (09:49 -0600)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Remove .post files only for passing tests

5 years agoRemove .post files only for passing tests
Levi Morrison [Thu, 25 Jul 2019 15:48:29 +0000 (09:48 -0600)]
Remove .post files only for passing tests

This allows the sh script for failing tests with --POST-- to work

5 years agoAddded missing NEWS/UPGRADING entries for PDO "??" escape
Matteo Beccati [Thu, 25 Jul 2019 14:28:42 +0000 (16:28 +0200)]
Addded missing NEWS/UPGRADING entries for PDO "??" escape

5 years agoFix build warnings
Remi Collet [Wed, 24 Jul 2019 14:06:07 +0000 (16:06 +0200)]
Fix build warnings

- switch from strncpy to memcpy for -Wstringop-truncation

5 years agoThrow notice for plain wrapper fread/fwrite errors
Nikita Popov [Tue, 23 Jul 2019 09:57:02 +0000 (11:57 +0200)]
Throw notice for plain wrapper fread/fwrite errors

Similar to what is done for socket read/write errors.

5 years agoBump PHP_JSON_VERSION to PHP_VERSION
Peter Kokot [Mon, 22 Jul 2019 21:25:44 +0000 (23:25 +0200)]
Bump PHP_JSON_VERSION to PHP_VERSION

Closes GH-4459

5 years agoRemove AC_FPM_POLL
Peter Kokot [Sun, 21 Jul 2019 07:58:44 +0000 (09:58 +0200)]
Remove AC_FPM_POLL

AC_FPM_POLL defines HAVE_POLL symbol which is already checked by
configure.ac and function poll in AC_CHECK_FUNCTIONS.

Closes GH-4449

5 years agoRemove outdated Libtool hack for macs
Peter Kokot [Wed, 24 Jul 2019 19:40:21 +0000 (21:40 +0200)]
Remove outdated Libtool hack for macs

This was once relevant for older versions of macs and autoconf 2.13.

Closes GH-4435

5 years agoMark _get_zval_ptr_deref as unused
Nikita Popov [Wed, 24 Jul 2019 18:51:19 +0000 (20:51 +0200)]
Mark _get_zval_ptr_deref as unused

5 years agoAvoid over-specialization
Dmitry Stogov [Wed, 24 Jul 2019 16:51:56 +0000 (19:51 +0300)]
Avoid over-specialization

5 years agoReordering
Dmitry Stogov [Wed, 24 Jul 2019 15:49:46 +0000 (18:49 +0300)]
Reordering

5 years agoDelay dereference
Dmitry Stogov [Wed, 24 Jul 2019 15:36:50 +0000 (18:36 +0300)]
Delay dereference

5 years agoRemove php_openssl_cipher_get_version()
Nikita Popov [Wed, 24 Jul 2019 14:40:18 +0000 (16:40 +0200)]
Remove php_openssl_cipher_get_version()

This was added in 7.1 when add_assoc_string mistakenly accepted
a char* rather than const char* parameter and is no longer needed.
We can use SSL_CIPHER_get_version() directly.

5 years agoAvoid reloading
Dmitry Stogov [Wed, 24 Jul 2019 14:30:38 +0000 (17:30 +0300)]
Avoid reloading

5 years agoFix bindpath mem leak in cgi
David Carlier [Sun, 21 Jul 2019 13:48:46 +0000 (14:48 +0100)]
Fix bindpath mem leak in cgi

Closes GH-4451.

5 years agoUpdate NEWS for 7.4.0beta2
Derick Rethans [Wed, 24 Jul 2019 09:39:54 +0000 (09:39 +0000)]
Update NEWS for 7.4.0beta2

5 years agoUpdate NEWS for PHP 7.4.0beta1
Derick Rethans [Wed, 24 Jul 2019 09:38:35 +0000 (09:38 +0000)]
Update NEWS for PHP 7.4.0beta1

5 years agoDon't skip uninitialized typed props in get_class_vars()
Nikita Popov [Tue, 23 Jul 2019 10:41:24 +0000 (12:41 +0200)]
Don't skip uninitialized typed props in get_class_vars()

For bug #78319.

5 years agoRevert "Drop free_filename field from zend_file_handle"
Nikita Popov [Wed, 24 Jul 2019 08:42:19 +0000 (10:42 +0200)]
Revert "Drop free_filename field from zend_file_handle"

This reverts commit e0eca262852dba1a78afcde64a49126c81fead1a.

free_filename is used by the wincache extension, restore this
field for PHP 7.4.

5 years agoAvoid references in TMP var
Nikita Popov [Wed, 24 Jul 2019 08:05:44 +0000 (10:05 +0200)]
Avoid references in TMP var

Make sure we deref the OBJ_IS result, because we store it in a TMP
var, which is not allowed to contain references and will cause
assertion failures in the unspecialized VM.

This also partially reverts fd463a9a6078074f8f648982b42bdd14423fb614,
which merged the TMP and VAR specializations of COALESCE to work
around this bug.

An alternative would be to change the result type of OBJ_IS back
to VAR.

5 years agoTry to fix macos build
Nikita Popov [Wed, 24 Jul 2019 07:44:55 +0000 (09:44 +0200)]
Try to fix macos build

By avoiding unused variable opline warnings. Also clean up the
replacement of ZEND_VM_SPEC -- we were sometimes treating it as
an always-defined constant with a value (what it actually is) and
sometimes as a conditionally defined constant (which it isn't, but
which still worked thanks to the specializer). Switch to only
treating it as a constant with a value.

5 years agoFixed CALL VM
Dmitry Stogov [Tue, 23 Jul 2019 22:52:05 +0000 (01:52 +0300)]
Fixed CALL VM

5 years agoFixed unspecialized executor
Dmitry Stogov [Tue, 23 Jul 2019 22:43:01 +0000 (01:43 +0300)]
Fixed unspecialized executor

5 years agoCleanup of remaining E_STRICT in tests
George Peter Banyard [Sun, 14 Jul 2019 01:45:31 +0000 (03:45 +0200)]
Cleanup of remaining E_STRICT in tests

5 years agoUpdate NEWS for 7.4.0beta2
Derick Rethans [Tue, 23 Jul 2019 08:06:23 +0000 (08:06 +0000)]
Update NEWS for 7.4.0beta2

5 years agoUpdate NEWS for PHP 7.4.0beta1
Derick Rethans [Tue, 23 Jul 2019 08:05:05 +0000 (08:05 +0000)]
Update NEWS for PHP 7.4.0beta1

5 years agoUpdate NEWS
Peter Kokot [Tue, 23 Jul 2019 00:32:38 +0000 (02:32 +0200)]
Update NEWS

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Peter Kokot [Tue, 23 Jul 2019 00:13:54 +0000 (02:13 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update NEWS
  Update NEWS

5 years agoUpdate NEWS
Peter Kokot [Tue, 23 Jul 2019 00:13:36 +0000 (02:13 +0200)]
Update NEWS

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Tue, 23 Jul 2019 00:13:12 +0000 (02:13 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update NEWS

5 years agoUpdate NEWS
Peter Kokot [Tue, 23 Jul 2019 00:13:00 +0000 (02:13 +0200)]
Update NEWS

5 years agoFix FR #71885 (Allow escaping question mark placeholders)
Matteo Beccati [Mon, 22 Jul 2019 17:22:07 +0000 (19:22 +0200)]
Fix FR #71885 (Allow escaping question mark placeholders)

5 years agoRemove HAVE_OCILOBISTEMPORARY and HAVE_OCICOLLASSIGN
Peter Kokot [Sun, 21 Jul 2019 23:27:22 +0000 (01:27 +0200)]
Remove HAVE_OCILOBISTEMPORARY and HAVE_OCICOLLASSIGN

Symbols are not used in the current code.

Also remove not needed ocijdbc8 library addition and checks whcih were
removed also via b8e1d4d4e5af74a9d5a95d03adbe2b93e58301b7 so Oracle 8
is no longer supported.

Closes GH-4454

5 years agoAdd upgrading entries
Nikita Popov [Mon, 22 Jul 2019 15:56:16 +0000 (17:56 +0200)]
Add upgrading entries

[ci skip]

5 years agoAlso report errors from Zend stream reader operation
Nikita Popov [Mon, 22 Jul 2019 15:49:08 +0000 (17:49 +0200)]
Also report errors from Zend stream reader operation

5 years agoReport errors from stream read and write operations
Nikita Popov [Thu, 18 Jul 2019 13:25:59 +0000 (15:25 +0200)]
Report errors from stream read and write operations

The php_stream_read() and php_stream_write() functions now return
an ssize_t value, with negative results indicating failure. Functions
like fread() and fwrite() will return false in that case.

As a special case, EWOULDBLOCK and EAGAIN on non-blocking streams
should not be regarded as error conditions, and be reported as
successful zero-length reads/writes instead. The handling of EINTR
remains unclear and is internally inconsistent (e.g. some code-paths
will automatically retry on EINTR, while some won't).

I'm landing this now to make sure the stream wrapper ops API changes
make it into 7.4 -- however, if the user-facing changes turn out to
be problematic we have the option of clamping negative returns to
zero in php_stream_read() and php_stream_write() to restore the
old behavior in a relatively non-intrusive manner.

5 years agoSpecial-case rc=1 self-referential arrays in ReflectionReference
Nikita Popov [Mon, 22 Jul 2019 14:59:23 +0000 (16:59 +0200)]
Special-case rc=1 self-referential arrays in ReflectionReference

New fix for bug #78263. This is special-cased elsewhere in the engine,
so we need to mirror it here.

5 years agoRevert "Add ReflectionReference::getRefcount()"
Nikita Popov [Mon, 22 Jul 2019 14:49:08 +0000 (16:49 +0200)]
Revert "Add ReflectionReference::getRefcount()"

This reverts commit 428cfdd1810b17f0064b7691276f0eb92dc963b6.

5 years agocleanup gd build with system libgd - drop need to use libpng with system libgd -...
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

5 years agoRemove 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

5 years agoFix internals upgrading log
Peter Kokot [Mon, 22 Jul 2019 14:04:07 +0000 (16:04 +0200)]
Fix internals upgrading log

5 years agoRemove HAVE_DSA_DEFAULT_METHOD
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

5 years agoRemove 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.

5 years agoMerge branch 'PHP-7.3' into 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

5 years agoRemove test for bug #77185
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.

5 years agoMerge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4
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

5 years agoDrop 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.

5 years agoAdd deprecations to UPGRADING
Nikita Popov [Mon, 22 Jul 2019 09:53:50 +0000 (11:53 +0200)]
Add deprecations to UPGRADING

5 years agoDeprecate unbinding $this from non-static closure
Nikita Popov [Fri, 12 Jul 2019 10:53:09 +0000 (12:53 +0200)]
Deprecate unbinding $this from non-static closure

5 years agoDeprecate allow_url_include
Nikita Popov [Fri, 12 Jul 2019 10:42:32 +0000 (12:42 +0200)]
Deprecate allow_url_include

5 years agoDeprecate restore_include_path()
Nikita Popov [Fri, 12 Jul 2019 10:20:41 +0000 (12:20 +0200)]
Deprecate restore_include_path()

5 years agoDeprecate convert_cyr_string()
Nikita Popov [Fri, 12 Jul 2019 10:14:02 +0000 (12:14 +0200)]
Deprecate convert_cyr_string()

5 years agoDeprecate (real) cast
Nikita Popov [Fri, 12 Jul 2019 10:09:50 +0000 (12:09 +0200)]
Deprecate (real) cast

5 years agoDeprecate implode() with swapped parameter order
Nikita Popov [Fri, 12 Jul 2019 08:31:16 +0000 (10:31 +0200)]
Deprecate implode() with swapped parameter order

5 years agoDeprecate FILTER_SANITIZE_MAGIC_QUOTES
Nikita Popov [Fri, 12 Jul 2019 08:21:21 +0000 (10:21 +0200)]
Deprecate FILTER_SANITIZE_MAGIC_QUOTES

5 years agoDeprecate is_real() function
Nikita Popov [Thu, 11 Jul 2019 15:18:01 +0000 (17:18 +0200)]
Deprecate is_real() function

5 years agoDeprecate money_format()
Nikita Popov [Thu, 11 Jul 2019 15:12:08 +0000 (17:12 +0200)]
Deprecate money_format()

5 years agoDeprecate hebrevc()
Nikita Popov [Thu, 11 Jul 2019 15:06:54 +0000 (17:06 +0200)]
Deprecate hebrevc()

5 years agoDeprecate ezmlm_hash()
Nikita Popov [Thu, 11 Jul 2019 15:04:36 +0000 (17:04 +0200)]
Deprecate ezmlm_hash()

5 years agoDeprecate encoding as 3rd param to mb_strrpos()
Nikita Popov [Thu, 11 Jul 2019 15:02:04 +0000 (17:02 +0200)]
Deprecate encoding as 3rd param to mb_strrpos()

5 years agoDeprecate Reflection export() methods
Nikita Popov [Thu, 11 Jul 2019 11:41:10 +0000 (13:41 +0200)]
Deprecate Reflection export() methods

And remove the Reflector::export() interface method.

5 years agoDeprecate array_key_exists() on objects
Nikita Popov [Thu, 11 Jul 2019 11:35:44 +0000 (13:35 +0200)]
Deprecate array_key_exists() on objects

5 years agoDeprecate get_magic_quotes_gpc() and get_magic_quotes_runtime()
Nikita Popov [Thu, 11 Jul 2019 11:32:10 +0000 (13:32 +0200)]
Deprecate get_magic_quotes_gpc() and get_magic_quotes_runtime()

5 years agoMerge branch 'PHP-7.3' into 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

5 years agoReduce number of workers in test
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.

5 years agoInitialize static_members_table
Dmitry Stogov [Mon, 22 Jul 2019 09:02:16 +0000 (12:02 +0300)]
Initialize static_members_table

5 years agoEvaluate constant in class scope
Dmitry Stogov [Mon, 22 Jul 2019 08:59:24 +0000 (11:59 +0300)]
Evaluate constant in class scope

5 years agoMerge branch 'PHP-7.3' into 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

5 years agoPrevent use after free in fpm_event_epoll_wait
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

5 years agoimprove 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

5 years agoRemove 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

5 years agoRemove 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

5 years agoRemove 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

5 years agoMerge branch 'PHP-7.3' into 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

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
George Wang [Sun, 21 Jul 2019 04:01:06 +0000 (00:01 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoChecked in LiteSpeed SAPI 7.5, addressed two main problems in "clean shutdown" introd...
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().

5 years agoRenamed 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

5 years agoFix typos
Markus Staab [Sat, 20 Jul 2019 23:01:36 +0000 (01:01 +0200)]
Fix typos

Closes GH-4447

5 years agoFix 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

5 years agoMove 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

5 years agoFixed 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)