]> granicus.if.org Git - php/log
php
4 years agoFixed tracing JIT for RETRUN $undefined_cv
Dmitry Stogov [Mon, 25 May 2020 19:19:13 +0000 (22:19 +0300)]
Fixed tracing JIT for RETRUN $undefined_cv

4 years agoproc_open FreeBSD build fix
David Carlier [Mon, 25 May 2020 14:31:34 +0000 (15:31 +0100)]
proc_open FreeBSD build fix

On this platform the needed header is different.

Closes GH-5623

4 years agoAnnotate internal functions with the mixed type
Máté Kocsis [Mon, 25 May 2020 15:30:49 +0000 (17:30 +0200)]
Annotate internal functions with the mixed type

Closes GH-5618

4 years agoFix ZPP of v*printf()
Máté Kocsis [Mon, 25 May 2020 15:29:46 +0000 (17:29 +0200)]
Fix ZPP of v*printf()

4 years agoPromote warning related to operator overloading in ext/gmp to an exception
Máté Kocsis [Mon, 25 May 2020 15:12:52 +0000 (17:12 +0200)]
Promote warning related to operator overloading in ext/gmp to an exception

4 years agoFixed JIT for SEND_VAR $undefined_cv
Dmitry Stogov [Mon, 25 May 2020 15:24:50 +0000 (18:24 +0300)]
Fixed JIT for SEND_VAR $undefined_cv

4 years agoZEND_ACC_IMMUTABLE may be reset for closures
Dmitry Stogov [Mon, 25 May 2020 14:45:13 +0000 (17:45 +0300)]
ZEND_ACC_IMMUTABLE may be reset for closures

4 years agoKeep trace number in EG(jit_trace_num) instead of EG(reserved)[zend_func_info_rid]
Dmitry Stogov [Mon, 25 May 2020 14:05:26 +0000 (17:05 +0300)]
Keep trace number in EG(jit_trace_num) instead of EG(reserved)[zend_func_info_rid]

4 years agoCheck for ZEND_HANDLE_EXCEPTION opcode before accessing opline trace info.
Dmitry Stogov [Mon, 25 May 2020 13:45:45 +0000 (16:45 +0300)]
Check for ZEND_HANDLE_EXCEPTION opcode before accessing opline trace info.

4 years agoReplace warning code by side exit to VM
Dmitry Stogov [Mon, 25 May 2020 12:14:27 +0000 (15:14 +0300)]
Replace warning code by side exit to VM

4 years agoReorder conditions to save one instruction in recursive return loop
Dmitry Stogov [Mon, 25 May 2020 09:55:03 +0000 (12:55 +0300)]
Reorder conditions to save one instruction in recursive return loop

4 years agoPGSQL and POD_SQL: don't include pg_config.h
Christoph M. Becker [Mon, 25 May 2020 07:00:32 +0000 (09:00 +0200)]
PGSQL and POD_SQL: don't include pg_config.h

Even if that header file is available, we better consider it private,
and don't include it.  The information about whether SSL support is
enabled is now missing (`USE_(OPEN)SSL`), and it seems there is no
alternative way to get it (`PQinitSSL()` is always defined), so we
remove it from the PHP info.  Furthermore, the `PG_VERSION` and
`PG_VERSION_STR` macros are no longer available, but as of libpq 9.1
there is `PQlibVersion()` which allows us to construct `PG_VERSION` in
a most likely backwards compatible manner.  The additional information
available through `PG_VERSION_STR` is lost, though, so we define
`PGSQL_LIBPQ_VERSION_STR` basically as alias of `PGSQL_LIBPQ_VERSION`,
and deprecate it right away.

Since we are now requiring at least libpq 9.1, we can remove some
further compatibility code and additional checks.

Regarding the raised requirements: official support for PostGreSQL 9.0
ended on 2015-10-08, and even CentOS 7 already has PostGreSQL 9.2, so
this is not supposed to be too much of an issue.

4 years agoFail in `./configure` when no opcache shm backends exist
Tyson Andre [Fri, 22 May 2020 21:36:32 +0000 (17:36 -0400)]
Fail in `./configure` when no opcache shm backends exist

This can be seen when the `./configure` step fails to detect `HAVE_SHM_*`,
e.g. due to missing a necessary dependency to compile the test scripts.
(Run `./configure`, run `yum install libtool-ltdl-devel` for missing dependencies,
then run `make`, and php can end up built with 0 shared memory opcache caches)

Give a clearer error message than `unknown`
Searching for `opcache "Fatal Error Unable to allocate shared memory segment of"
"unknown: No such file or directory"` reveals issues such as
https://github.com/termux/termux-packages/issues/2234

Closes GH-5615

4 years agoRefactor ZPP API to use uint32_t as everywhere else
George Peter Banyard [Wed, 20 May 2020 21:46:09 +0000 (23:46 +0200)]
Refactor ZPP API to use uint32_t as everywhere else

Closes GH-5609

4 years ago[skip-ci] Update UPGRADING
George Peter Banyard [Fri, 22 May 2020 15:02:25 +0000 (17:02 +0200)]
[skip-ci] Update UPGRADING

Add upgrading note for mixed type and removal of curly braces offset syntax

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 22 May 2020 14:57:24 +0000 (16:57 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Revert "Fix #79595: zend_init_fpu() alters FPU precision"

4 years agoRevert "Fix #79595: zend_init_fpu() alters FPU precision"
Nikita Popov [Fri, 22 May 2020 14:57:14 +0000 (16:57 +0200)]
Revert "Fix #79595: zend_init_fpu() alters FPU precision"

This reverts commit 88dfc475c5937822399843e8aed9b98a36a01813.

4 years agoRemove depreacted curly brace offset syntax
George Peter Banyard [Fri, 22 May 2020 14:52:17 +0000 (16:52 +0200)]
Remove depreacted curly brace offset syntax

Closes GH-5221

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 22 May 2020 14:37:22 +0000 (16:37 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Show diffs for failed tests on Azure CI

4 years agoShow diffs for failed tests on Azure CI
Alex Dowad [Fri, 22 May 2020 12:09:20 +0000 (14:09 +0200)]
Show diffs for failed tests on Azure CI

It's currently not possible to view the "Tests" tab on Azure if
you're not signed in, so also display diffs in the log.

Closes GH-5612.

4 years agoAdd support for the mixed type
Máté Kocsis [Fri, 27 Mar 2020 22:39:49 +0000 (23:39 +0100)]
Add support for the mixed type

RFC: https://wiki.php.net/rfc/mixed_type_v2
Closes GH-5313

Co-authored-by: Dan Ackroyd <danack@basereality.com>
4 years agoRaise ext/pgsql requirements to PostGreSQL 7.4
Christoph M. Becker [Fri, 22 May 2020 13:27:59 +0000 (15:27 +0200)]
Raise ext/pgsql requirements to PostGreSQL 7.4

We can safely assume that users have at the very least libpq 7.4, for
which official support ended on 2010-10-01; even CentOS 6 has 8.4 now.
It is also noteworthy that PDO_PGSQL already requires libpq 7.4 or
later.

4 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Fri, 22 May 2020 13:47:33 +0000 (15:47 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #79595: zend_init_fpu() alters FPU precision

4 years agoFix #79595: zend_init_fpu() alters FPU precision
Christoph M. Becker [Wed, 20 May 2020 11:23:17 +0000 (13:23 +0200)]
Fix #79595: zend_init_fpu() alters FPU precision

On startup, PHP deliberately changes the floating point control word to
enforce binary64 format for the calculations for best consistency
across platforms.  However, this is unnessary when compiling under
`__SSE__`, because in this case the x87 instructions are not used.
Therefore, we can skip the modification, which has the benefit that
system libraries are free to work in the mode of their liking.

4 years agoPrevent CGG reordering if hanlers order is defined by zend_vm_order.txt
Dmitry Stogov [Fri, 22 May 2020 09:37:35 +0000 (12:37 +0300)]
Prevent CGG reordering if hanlers order is defined by zend_vm_order.txt

4 years agoFixed typecast
Dmitry Stogov [Fri, 22 May 2020 09:36:52 +0000 (12:36 +0300)]
Fixed typecast

4 years agoFix PostgreSQL and MySQL setup on Travis CI
Gerard Roche [Wed, 20 May 2020 19:03:10 +0000 (20:03 +0100)]
Fix PostgreSQL and MySQL setup on Travis CI

Note that the PostgreSQL tests still don't work on some architectures.

Closes GH-5607.

4 years agorun-tests: refactor
Gerard Roche [Wed, 20 May 2020 19:20:06 +0000 (20:20 +0100)]
run-tests: refactor

4 years agorun-tests: echo message and exit if no tests found
Gerard Roche [Wed, 20 May 2020 15:45:14 +0000 (16:45 +0100)]
run-tests: echo message and exit if no tests found

The test runner currently defaults to running the entire test suite if
no selected tests can be found. This can be unexpected.

For example the ext/mysqlnd/ directory has no tests, if you specify that
directory when testing the entire test suite will be run.

    run-tests.php [options] ext/mysqlnd/

Closes GH-5605.

4 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Fri, 22 May 2020 07:22:38 +0000 (09:22 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #79615: Wrong GIF header written in GD GIFEncode

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Fri, 22 May 2020 07:18:42 +0000 (09:18 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #79615: Wrong GIF header written in GD GIFEncode

4 years agoFix #79615: Wrong GIF header written in GD GIFEncode
Christoph M. Becker [Fri, 22 May 2020 07:11:28 +0000 (09:11 +0200)]
Fix #79615: Wrong GIF header written in GD GIFEncode

The color resolution is expected in bits 4-6 of the packed fields byte
of the logical screen descriptor (byte 10 of the GIF data stream),
according to the specification[1], section 18.

[1] <https://www.w3.org/Graphics/GIF/spec-gif89a.txt>

4 years agoUse EX(run_time_cache) instead of RUN_TIME_CACHE(&EX(func)->op_array)
Dmitry Stogov [Thu, 21 May 2020 15:35:32 +0000 (18:35 +0300)]
Use EX(run_time_cache) instead of RUN_TIME_CACHE(&EX(func)->op_array)

4 years agosimplification
Dmitry Stogov [Thu, 21 May 2020 15:01:44 +0000 (18:01 +0300)]
simplification

4 years agoAllow counter settings to be "zero" to disable corresponding counter
Dmitry Stogov [Wed, 20 May 2020 22:06:50 +0000 (01:06 +0300)]
Allow counter settings to be "zero" to disable corresponding counter

4 years agoMissed label
Dmitry Stogov [Wed, 20 May 2020 21:57:54 +0000 (00:57 +0300)]
Missed label

4 years agoBetter condition
Dmitry Stogov [Wed, 20 May 2020 20:05:48 +0000 (23:05 +0300)]
Better condition

4 years agoPrefer already cached version of the script
Dmitry Stogov [Wed, 20 May 2020 20:04:34 +0000 (23:04 +0300)]
Prefer already cached version of the script

4 years agoFix [-Wundef] warning in SQLite3 extension
George Peter Banyard [Wed, 20 May 2020 15:36:33 +0000 (17:36 +0200)]
Fix [-Wundef] warning in SQLite3 extension

4 years agoFix [-Wundef] warning in SPL extension
George Peter Banyard [Wed, 20 May 2020 15:36:27 +0000 (17:36 +0200)]
Fix [-Wundef] warning in SPL extension

4 years agoMore [-Wundef] warnings fixed in POSIX extension
George Peter Banyard [Wed, 20 May 2020 15:36:20 +0000 (17:36 +0200)]
More [-Wundef] warnings fixed in POSIX extension

Forgot to squash this into the other commit

4 years agoFix [-Wundef] warning in PHAR extension
George Peter Banyard [Wed, 20 May 2020 15:36:14 +0000 (17:36 +0200)]
Fix [-Wundef] warning in PHAR extension

4 years agoFix [-Wundef] warning in OpenSSL extension
George Peter Banyard [Wed, 20 May 2020 15:36:07 +0000 (17:36 +0200)]
Fix [-Wundef] warning in OpenSSL extension

4 years agoFix [-Wundef] warning in INTL extension
George Peter Banyard [Wed, 20 May 2020 15:35:58 +0000 (17:35 +0200)]
Fix [-Wundef] warning in INTL extension

4 years agoFix [-Wundef] warning in Iconv extension
George Peter Banyard [Wed, 20 May 2020 15:35:51 +0000 (17:35 +0200)]
Fix [-Wundef] warning in Iconv extension

4 years agoFix [-Wundef] warning in GD extension
George Peter Banyard [Wed, 20 May 2020 15:35:42 +0000 (17:35 +0200)]
Fix [-Wundef] warning in GD extension

4 years agoAdd --enable-memory-sanitizer flag
Nikita Popov [Wed, 20 May 2020 13:21:01 +0000 (15:21 +0200)]
Add --enable-memory-sanitizer flag

This flag enabled msan late in the pipeline, so that it does
not affect configure checks.

Otherwise we get a false positive report for openpty availability
without -lutil, which will then result in infinite recursion if
actually called.

This also sets origin tracking to 2, so bump the timeout to 90
minutes.

4 years agoFix [-Wundef] warning in PDO PostgreSQL extension
George Peter Banyard [Wed, 20 May 2020 13:41:30 +0000 (15:41 +0200)]
Fix [-Wundef] warning in PDO PostgreSQL extension

4 years agoFix [-Wundef] warning in PDO ODBC extension
George Peter Banyard [Wed, 20 May 2020 13:41:24 +0000 (15:41 +0200)]
Fix [-Wundef] warning in PDO ODBC extension

4 years agoFix [-Wundef] warning in PDO OCI extension
George Peter Banyard [Wed, 20 May 2020 13:41:18 +0000 (15:41 +0200)]
Fix [-Wundef] warning in PDO OCI extension

4 years agoFix [-Wundef] warning in PDO MySQL extension
George Peter Banyard [Wed, 20 May 2020 13:41:13 +0000 (15:41 +0200)]
Fix [-Wundef] warning in PDO MySQL extension

4 years agoFix [-Wundef] warning in PDO Firebird extension
George Peter Banyard [Wed, 20 May 2020 13:41:07 +0000 (15:41 +0200)]
Fix [-Wundef] warning in PDO Firebird extension

4 years agoFix [-Wundef] warning in PDO DBLib extension
George Peter Banyard [Wed, 20 May 2020 13:40:57 +0000 (15:40 +0200)]
Fix [-Wundef] warning in PDO DBLib extension

4 years agoFix [-Wundef] warning in SimpleXML extension
George Peter Banyard [Wed, 20 May 2020 12:50:24 +0000 (14:50 +0200)]
Fix [-Wundef] warning in SimpleXML extension

4 years agoFix [-Wundef] warning in SOAP extension
George Peter Banyard [Wed, 20 May 2020 12:41:14 +0000 (14:41 +0200)]
Fix [-Wundef] warning in SOAP extension

4 years agoFix [-Wundef] warning in XLS extension
George Peter Banyard [Wed, 20 May 2020 12:17:02 +0000 (14:17 +0200)]
Fix [-Wundef] warning in XLS extension

4 years agoFix [-Wundef] warning in XMLReader extension
George Peter Banyard [Wed, 20 May 2020 12:14:13 +0000 (14:14 +0200)]
Fix [-Wundef] warning in XMLReader extension

4 years agoFix [-Wundef] warning in XML extension
George Peter Banyard [Wed, 20 May 2020 12:12:36 +0000 (14:12 +0200)]
Fix [-Wundef] warning in XML extension

4 years agoFix grammar in the jit's README.md
Tyson Andre [Wed, 20 May 2020 14:01:34 +0000 (10:01 -0400)]
Fix grammar in the jit's README.md

For GH-5585

4 years ago[skip ci] Add a README for Opcache's JIT.
Tyson Andre [Sun, 17 May 2020 17:04:11 +0000 (13:04 -0400)]
[skip ci] Add a README for Opcache's JIT.

Mention information that would be useful for working on new features or bug
fixes for the JIT.

Closes GH-5585

4 years agoAdd file cache job on azure
Nikita Popov [Tue, 19 May 2020 14:09:42 +0000 (16:09 +0200)]
Add file cache job on azure

4 years agoAdd --file-cache-prime/use options to run-tests
Nikita Popov [Wed, 20 May 2020 08:04:57 +0000 (10:04 +0200)]
Add --file-cache-prime/use options to run-tests

--file-cache-prime populates the file cache,
--file-cache-use uses the file cache.

And fix a number of tests to run under file cache or disabled
timestamp validation.

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 20 May 2020 13:25:19 +0000 (15:25 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update msan symbolizer path

4 years agoUpdate msan symbolizer path
Nikita Popov [Fri, 15 May 2020 08:21:59 +0000 (10:21 +0200)]
Update msan symbolizer path

To account for the newer version of LLVM on Ubuntu 18.04.

4 years agoFix --disable-ipv6 support on Windows
Christoph M. Becker [Wed, 20 May 2020 12:59:11 +0000 (14:59 +0200)]
Fix --disable-ipv6 support on Windows

`HAVE_IPV6` and `HAVE_GAI_STRERROR` are supposed to be undefined now,
if not supported.

4 years agoGenerate function entries for ext/zip
Máté Kocsis [Wed, 20 May 2020 10:05:20 +0000 (12:05 +0200)]
Generate function entries for ext/zip

Closes GH-5601

4 years agoRevert "Revert "Merge branch 'PHP-7.4'""
Christoph M. Becker [Wed, 20 May 2020 12:10:19 +0000 (14:10 +0200)]
Revert "Revert "Merge branch 'PHP-7.4'""

This reverts commit 28e650a, which reverted commit 046dcfb, which had
to be reverted due to phpdbg issues.  The culprit was that we did not
properly reset `zend_handler_table` to `NULL`, which is required for
SAPIs which may restart the engine after shutdown.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=28e650abf8097a28789a005e5028fee095359583>
[2] <http://git.php.net/?p=php-src.git;a=commit;h=046dcfb531e242d36a7af2942b9b148290c3c7fe>

4 years agoFix [-Wundef] warning in PostgreSQL extension
George Peter Banyard [Wed, 20 May 2020 12:00:20 +0000 (14:00 +0200)]
Fix [-Wundef] warning in PostgreSQL extension

4 years agoFix [-Wundef] warning in POSIX extension
George Peter Banyard [Wed, 20 May 2020 12:00:14 +0000 (14:00 +0200)]
Fix [-Wundef] warning in POSIX extension

4 years agoFix [-Wundef] warning in PSpell extension
George Peter Banyard [Wed, 20 May 2020 12:00:09 +0000 (14:00 +0200)]
Fix [-Wundef] warning in PSpell extension

4 years agoFix [-Wundef] warning in Session extension
George Peter Banyard [Wed, 20 May 2020 12:00:03 +0000 (14:00 +0200)]
Fix [-Wundef] warning in Session extension

4 years agoFix [-Wundef] warning in SHMOP extension
George Peter Banyard [Wed, 20 May 2020 11:59:56 +0000 (13:59 +0200)]
Fix [-Wundef] warning in SHMOP extension

4 years agoFix [-Wundef] warning in ODBC extension
George Peter Banyard [Wed, 20 May 2020 11:59:50 +0000 (13:59 +0200)]
Fix [-Wundef] warning in ODBC extension

4 years agoFix [-Wundef] warning in PCNTL extension
George Peter Banyard [Wed, 20 May 2020 11:59:44 +0000 (13:59 +0200)]
Fix [-Wundef] warning in PCNTL extension

4 years agoFix [-Wundef] warning in PCRE extension
George Peter Banyard [Wed, 20 May 2020 11:59:38 +0000 (13:59 +0200)]
Fix [-Wundef] warning in PCRE extension

4 years agoFix [-Wundef] warning in TSRM
George Peter Banyard [Wed, 20 May 2020 11:59:27 +0000 (13:59 +0200)]
Fix [-Wundef] warning in TSRM

4 years agoSlightly deduplicate run-tests code
Nikita Popov [Wed, 20 May 2020 09:58:42 +0000 (11:58 +0200)]
Slightly deduplicate run-tests code

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 20 May 2020 09:24:37 +0000 (11:24 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix bug #79603, by retrying on RTD key collision

4 years agoFix bug #79603, by retrying on RTD key collision
Nikita Popov [Tue, 19 May 2020 08:13:25 +0000 (10:13 +0200)]
Fix bug #79603, by retrying on RTD key collision

This is a non-intrusive fix for 7.4, still trying to find a good
solution for master.

Closes GH-5597.

4 years agoAdd support for replaying warnings in opcache
Nikita Popov [Tue, 19 May 2020 13:01:18 +0000 (15:01 +0200)]
Add support for replaying warnings in opcache

If opcache.record_warnings is enabled, opcache will record
compilation warnings and replay them when the file is included
again. The primary use case I have in mind for this is automated
testing of the opcache file cache.

This resolves bug #76535.

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 20 May 2020 09:13:07 +0000 (11:13 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix static property indirections in file cache
  Don't require rc=1 for function static variables

4 years agoFix static property indirections in file cache
Nikita Popov [Wed, 20 May 2020 08:55:36 +0000 (10:55 +0200)]
Fix static property indirections in file cache

If the class is already linked, we need to serialize and
unserialize INDIRECTed static properties. Normally these would
be set up when copying from cache.

4 years agoDon't require rc=1 for function static variables
Nikita Popov [Wed, 20 May 2020 08:26:08 +0000 (10:26 +0200)]
Don't require rc=1 for function static variables

If file cache only is used, then static_variables_ptr may point
to an immutable static_variables HT, which we do not want to
destroy here.

4 years agoDisable JIT in file cache test
Nikita Popov [Wed, 20 May 2020 07:49:46 +0000 (09:49 +0200)]
Disable JIT in file cache test

File cache and JIT are currently incomatible.

4 years agoTracing JIT SHM data initilaizarion must be done at MINIT
Dmitry Stogov [Tue, 19 May 2020 23:07:18 +0000 (02:07 +0300)]
Tracing JIT SHM data initilaizarion must be done at MINIT

4 years agotypo
Dmitry Stogov [Tue, 19 May 2020 23:07:07 +0000 (02:07 +0300)]
typo

4 years agoMake number of root and side traces configurable
Dmitry Stogov [Tue, 19 May 2020 22:40:01 +0000 (01:40 +0300)]
Make number of root and side traces configurable

4 years agoUse light version of zend_array_destroy() to free arrays without refcounted elements...
Dmitry Stogov [Tue, 19 May 2020 21:12:24 +0000 (00:12 +0300)]
Use light version of zend_array_destroy() to free arrays without refcounted elements and string indexes.

4 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 19 May 2020 15:28:39 +0000 (17:28 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Bump version

4 years agoBump version
Christoph M. Becker [Tue, 19 May 2020 15:24:18 +0000 (17:24 +0200)]
Bump version

Seems that has been forgotten.

4 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 19 May 2020 14:01:48 +0000 (16:01 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix INI setting member name

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 19 May 2020 14:00:19 +0000 (16:00 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix INI setting member name

4 years agoFix INI setting member name
Christoph M. Becker [Mon, 18 May 2020 14:07:16 +0000 (16:07 +0200)]
Fix INI setting member name

Since the member is not used in `OnUpdateEol()` that's not really an
issue, but still it's confusing to apparently have two INI settings
targeting the same member.

4 years agoSeparate common code
Dmitry Stogov [Tue, 19 May 2020 13:59:07 +0000 (16:59 +0300)]
Separate common code

4 years agoFix some final classes in stubs
Máté Kocsis [Tue, 19 May 2020 12:54:37 +0000 (14:54 +0200)]
Fix some final classes in stubs

4 years agoGenerate method entries for Closure
Máté Kocsis [Tue, 19 May 2020 11:56:30 +0000 (13:56 +0200)]
Generate method entries for Closure

4 years agoFix opcache_get_configuration() test
Nikita Popov [Tue, 19 May 2020 12:12:30 +0000 (14:12 +0200)]
Fix opcache_get_configuration() test

4 years agoMake JIT parameters configurable through opcache.jit_... options
Dmitry Stogov [Tue, 19 May 2020 10:35:02 +0000 (13:35 +0300)]
Make JIT parameters configurable through opcache.jit_... options

4 years agoExtract zend_foreach_op_array()
Nikita Popov [Tue, 19 May 2020 09:10:19 +0000 (11:10 +0200)]
Extract zend_foreach_op_array()

Move this functionality from zend_call_graph into zend_optimizer,
because we use this pattern in a number of places.

4 years agoKeep ZEND_FUNC_INFO() for all run-time JIT triggers
Dmitry Stogov [Mon, 18 May 2020 16:00:38 +0000 (19:00 +0300)]
Keep ZEND_FUNC_INFO() for all run-time JIT triggers