]> granicus.if.org Git - php/log
php
4 years agoFix UNKNOWN default values in ext/pdo_pgsql
Máté Kocsis [Fri, 18 Sep 2020 08:31:48 +0000 (10:31 +0200)]
Fix UNKNOWN default values in ext/pdo_pgsql

Closes GH-6159

4 years agoUpdate the default values of xmlwriter_write_dtd_entity()
Máté Kocsis [Fri, 18 Sep 2020 08:43:21 +0000 (10:43 +0200)]
Update the default values of xmlwriter_write_dtd_entity()

Its default method handling had already been fixed not long ago, but only the stub of its method counterpart was updated.

4 years agoRemove support for EXT_NOP
Nikita Popov [Fri, 18 Sep 2020 09:02:51 +0000 (11:02 +0200)]
Remove support for EXT_NOP

This is an annoying edge case that regularly gets broken. As we're
not aware of significant users of this API, and there are other
ways to hook this, remove support for EXT_NOP.

4 years agoRemove specialization of SPEC(OBSERVER) handlers
Sammy Kaye Powers [Thu, 17 Sep 2020 21:47:36 +0000 (00:47 +0300)]
Remove specialization of SPEC(OBSERVER) handlers

4 years agoSupport for ZEND_COMPILE_EXTENDED_STMT
Dmitry Stogov [Thu, 17 Sep 2020 20:19:28 +0000 (23:19 +0300)]
Support for ZEND_COMPILE_EXTENDED_STMT

4 years agoRemove vestiges of embedded mysql from tests
Nikita Popov [Thu, 17 Sep 2020 16:55:15 +0000 (18:55 +0200)]
Remove vestiges of embedded mysql from tests

4 years agoFixed incorrect live-range construction
Dmitry Stogov [Thu, 17 Sep 2020 16:39:44 +0000 (19:39 +0300)]
Fixed incorrect live-range construction

4 years agoFixed incorrect register allocation
Dmitry Stogov [Thu, 17 Sep 2020 15:36:45 +0000 (18:36 +0300)]
Fixed incorrect register allocation

4 years agoUse ephemeral ports during curl tests with dev server
Sara Golemon [Mon, 14 Sep 2020 20:45:39 +0000 (20:45 +0000)]
Use ephemeral ports during curl tests with dev server

4 years agoSupport ephemeral ports in debug server
Sara Golemon [Mon, 14 Sep 2020 20:08:39 +0000 (20:08 +0000)]
Support ephemeral ports in debug server

4 years agoAllow http tests to run in parallel by using ephemeral ports
Sara Golemon [Tue, 15 Sep 2020 15:36:36 +0000 (15:36 +0000)]
Allow http tests to run in parallel by using ephemeral ports

4 years agoMerge branch 'PHP-7.4' into master
Christoph M. Becker [Thu, 17 Sep 2020 14:22:21 +0000 (16:22 +0200)]
Merge branch 'PHP-7.4' into master

* PHP-7.4:
  Fix bundled libpcre2 build regarding the `-fcf-protection` gcc flag

4 years agoFix bundled libpcre2 build regarding the `-fcf-protection` gcc flag
Christoph M. Becker [Thu, 17 Sep 2020 14:16:44 +0000 (16:16 +0200)]
Fix bundled libpcre2 build regarding the `-fcf-protection` gcc flag

Cf. <https://bugs.exim.org/show_bug.cgi?id=2578>.

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 17 Sep 2020 14:05:33 +0000 (16:05 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix mysqli_release_savepoint() on mysqlnd

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 17 Sep 2020 14:03:26 +0000 (16:03 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix mysqli_release_savepoint() on mysqlnd

4 years agoFix mysqli_release_savepoint() on mysqlnd
Nikita Popov [Thu, 17 Sep 2020 13:59:09 +0000 (15:59 +0200)]
Fix mysqli_release_savepoint() on mysqlnd

mysqli_release_savepoint() was not actually releasing a savepoint...

4 years agoFix some tests for libmysql
Nikita Popov [Thu, 17 Sep 2020 12:49:25 +0000 (14:49 +0200)]
Fix some tests for libmysql

4 years agoRemove checks for old libmysqlclient versions in tests
Nikita Popov [Thu, 17 Sep 2020 12:58:20 +0000 (14:58 +0200)]
Remove checks for old libmysqlclient versions in tests

4 years agoFix warnings when building against libmysqlclient
Nikita Popov [Thu, 17 Sep 2020 12:23:25 +0000 (14:23 +0200)]
Fix warnings when building against libmysqlclient

At least for version 8.0 this is warning free now.

4 years agoMerge branch 'PHP-7.4' into master
Christoph M. Becker [Thu, 17 Sep 2020 12:08:32 +0000 (14:08 +0200)]
Merge branch 'PHP-7.4' into master

* PHP-7.4:
  Update to PCRE2 10.35

4 years agoUpdate to PCRE2 10.35
Christoph M. Becker [Thu, 17 Sep 2020 11:44:42 +0000 (13:44 +0200)]
Update to PCRE2 10.35

We also backport the fix for bug #79846, and add a test case for the
related bug #79363.

4 years agoEnable unixODBC in azure
Nikita Popov [Thu, 17 Sep 2020 08:44:26 +0000 (10:44 +0200)]
Enable unixODBC in azure

This only checks that it builds though.

Closes GH-6150.

4 years agoFix compilation warnings in odbc
Nikita Popov [Thu, 17 Sep 2020 08:56:45 +0000 (10:56 +0200)]
Fix compilation warnings in odbc

SQLCHAR* cast all the things.

4 years agoMerge branch 'PHP-7.4' into master
Christoph M. Becker [Thu, 17 Sep 2020 10:39:25 +0000 (12:39 +0200)]
Merge branch 'PHP-7.4' into master

* PHP-7.4:
  Fix #80115: mysqlnd.debug doesn't recognize absolute paths with slashes

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Thu, 17 Sep 2020 10:37:57 +0000 (12:37 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #80115: mysqlnd.debug doesn't recognize absolute paths with slashes

4 years agoFix #80115: mysqlnd.debug doesn't recognize absolute paths with slashes
Christoph M. Becker [Thu, 17 Sep 2020 10:37:02 +0000 (12:37 +0200)]
Fix #80115: mysqlnd.debug doesn't recognize absolute paths with slashes

4 years agoDrop support for libmysqlclient < 5.5
Nikita Popov [Thu, 17 Sep 2020 10:05:30 +0000 (12:05 +0200)]
Drop support for libmysqlclient < 5.5

Given how little maintenance the libmysqlclient driver sees, be
more aggressive in dropping old version support here.

4 years agoAdd missing mysqlnd checks to stubs
Nikita Popov [Thu, 17 Sep 2020 09:40:14 +0000 (11:40 +0200)]
Add missing mysqlnd checks to stubs

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 17 Sep 2020 09:35:03 +0000 (11:35 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
  mysql: native mysql-8.0 uses _Bool
  mysqli: use native api

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 17 Sep 2020 09:32:01 +0000 (11:32 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  pdo_mysql/mysqli (native) libmysqlclient_r no-longer used
  mysql: native mysql-8.0 uses _Bool
  mysqli: use native api

4 years agopdo_mysql/mysqli (native) libmysqlclient_r no-longer used
Daniel Black [Sun, 13 Sep 2020 04:09:49 +0000 (14:09 +1000)]
pdo_mysql/mysqli (native) libmysqlclient_r no-longer used

The mysqlclient_r library exists in mysql-5.6 for compatibility only.

Later versions have it removed.

4 years agomysql: native mysql-8.0 uses _Bool
Daniel Black [Sat, 12 Sep 2020 05:29:23 +0000 (15:29 +1000)]
mysql: native mysql-8.0 uses _Bool

MySQL-8.0 removes option MYSQLI_OPT_SSL_VERIFY_SERVER_CERT

4 years agomysqli: use native api
Daniel Black [Sat, 29 Aug 2020 07:18:57 +0000 (17:18 +1000)]
mysqli: use native api

Tested with:
* mysql-5.6.49-linux-glibc2.12-x86_64
* mysql-5.7.31-linux-glibc2.12-x86_64
* mysql-8.0.21-linux-glibc2.17-x86_64
* mariadb-10.5.6

configure --with-mysqli=/usr/local/$version/bin/mysql_config   --with-pdo-mysql=/usr/local/$version

MySQL-8.0 removed my_bool
Some options where deprecated in mysql-8.0

MY_CHARSET_INFO used with exposed api mysql_get_character_set_info
rather than internal structures.

4 years agoFix a few UNKNOWN default values in ext/pgsql
Máté Kocsis [Wed, 16 Sep 2020 20:33:23 +0000 (22:33 +0200)]
Fix a few UNKNOWN default values in ext/pgsql

Closes GH-6149

4 years agoFixed memory leak in ext/spl/tests/bug77263.phpt
Dmitry Stogov [Thu, 17 Sep 2020 08:55:50 +0000 (11:55 +0300)]
Fixed memory leak in ext/spl/tests/bug77263.phpt

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 17 Sep 2020 08:31:48 +0000 (10:31 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  ext/soap: Compare Set-Cookie header case-insensitively

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 17 Sep 2020 08:31:30 +0000 (10:31 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  ext/soap: Compare Set-Cookie header case-insensitively

4 years agoext/soap: Compare Set-Cookie header case-insensitively
Gabríel Arthúr Pétursson [Wed, 16 Sep 2020 14:18:00 +0000 (14:18 +0000)]
ext/soap: Compare Set-Cookie header case-insensitively

Closes GH-6143.

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 17 Sep 2020 08:14:19 +0000 (10:14 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed bug #80083

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 17 Sep 2020 08:13:42 +0000 (10:13 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #80083

4 years agoFixed bug #80083
Nikita Popov [Thu, 17 Sep 2020 08:12:10 +0000 (10:12 +0200)]
Fixed bug #80083

Add db2_execute() to the list of functions accessing the local
scope. Ideally the API wouldn't do that, but it seems most
pragmatic to address this on the opcache side at this point.

4 years agoFixed bug #80109
Nikita Popov [Thu, 17 Sep 2020 07:59:44 +0000 (09:59 +0200)]
Fixed bug #80109

Skip over leading EXT_NOP, if it exists.

4 years agomysqli: Promote warning in field_seek
Dharman [Wed, 16 Sep 2020 14:41:02 +0000 (15:41 +0100)]
mysqli: Promote warning in field_seek

Aligning the behaviour of fetch_field and field_seek.

4 years agoChange int parameter types to bool when the parameter behaves as bool
Máté Kocsis [Wed, 16 Sep 2020 19:38:30 +0000 (21:38 +0200)]
Change int parameter types to bool when the parameter behaves as bool

Closes GH-6148

4 years agoGenerate arginfos
Máté Kocsis [Wed, 16 Sep 2020 19:28:27 +0000 (21:28 +0200)]
Generate arginfos

4 years agoDisplay string default values in stubs more uniformly
Máté Kocsis [Wed, 16 Sep 2020 19:27:01 +0000 (21:27 +0200)]
Display string default values in stubs more uniformly

Settling on using quoted string

4 years agoDisplay types in stubs more uniformly
Máté Kocsis [Wed, 16 Sep 2020 19:19:36 +0000 (21:19 +0200)]
Display types in stubs more uniformly

In preparation for generating method signatures for the manual.

This change gets rid of bogus false|null return types, a few unnecessary trailing backslashes, and settles on using ? when possible for nullable types.

4 years agoAccept GMP|string|int union in GMP functions
Nikita Popov [Wed, 16 Sep 2020 09:04:56 +0000 (11:04 +0200)]
Accept GMP|string|int union in GMP functions

This changes GMP functions to accept a GMP|string|int union with
standard semantics (and thus also uses it in function signatures).

Relative to the previous behavior, this means that GMP functions
in weak mode now also accept float and null, and in strict mode no
longer accept bool, and have full type information.

Closes GH-6139.

4 years agoUpdate xmlreader arginfo hash
Máté Kocsis [Wed, 16 Sep 2020 11:51:36 +0000 (13:51 +0200)]
Update xmlreader arginfo hash

My git client (GitHub Desktop) decided to commit and push my staged changes, so arginfo generation was not done with the previous commit.

4 years agoUpdate php_xmlreader.stub.php
Máté Kocsis [Wed, 16 Sep 2020 11:47:58 +0000 (13:47 +0200)]
Update php_xmlreader.stub.php

4 years agoXMLReader::getAttributeNs() can no longer return false
Máté Kocsis [Wed, 16 Sep 2020 11:45:13 +0000 (13:45 +0200)]
XMLReader::getAttributeNs() can no longer return false

4 years agoOptimize code for FETCH_THIS + INIT_METHOD_CALL/ASSIGN_OBJ_OP/etc
Dmitry Stogov [Wed, 16 Sep 2020 11:22:36 +0000 (14:22 +0300)]
Optimize code for FETCH_THIS + INIT_METHOD_CALL/ASSIGN_OBJ_OP/etc

4 years agoChanged the wording of the error message
Dharman [Tue, 15 Sep 2020 17:42:38 +0000 (18:42 +0100)]
Changed the wording of the error message

"cannot be used in MYSQLI_USE_RESULT mode" sounds more correct than "cannot be used with MYSQLI_USE_RESULT"

Closes GH-6137.

4 years agoRemove unused GMP_ABS() macro
Nikita Popov [Wed, 16 Sep 2020 08:42:10 +0000 (10:42 +0200)]
Remove unused GMP_ABS() macro

4 years agoExclude trait methods from call-graph
Dmitry Stogov [Wed, 16 Sep 2020 09:04:29 +0000 (12:04 +0300)]
Exclude trait methods from call-graph

4 years agoAvoid ubsan warning due to memcpy null
Nikita Popov [Wed, 16 Sep 2020 08:28:28 +0000 (10:28 +0200)]
Avoid ubsan warning due to memcpy null

This showed up in ext/mysqli/tests/mysqli_change_user.phpt on azure
today. Not seeing it locally though, and also not sure why it decided
to show up now...

4 years agoFix test
Matteo Beccati [Wed, 16 Sep 2020 08:04:14 +0000 (10:04 +0200)]
Fix test

follow-up to 7a95e94 for MySQL < 5.6

4 years agoFixed incorrect constant string access
Dmitry Stogov [Wed, 16 Sep 2020 07:49:54 +0000 (10:49 +0300)]
Fixed incorrect constant string access

4 years agoJIT for INIT_METHOD_CALL
Dmitry Stogov [Wed, 16 Sep 2020 07:25:36 +0000 (10:25 +0300)]
JIT for INIT_METHOD_CALL

4 years agomissing fix for test for new param. name
Remi Collet [Wed, 16 Sep 2020 05:58:53 +0000 (07:58 +0200)]
missing fix for test for new param. name

4 years agoAdd some ValueErrors to ext/date
George Peter Banyard [Fri, 22 May 2020 14:43:07 +0000 (16:43 +0200)]
Add some ValueErrors to ext/date

Closes GH-5613

4 years agoUpdate NEWS for 8.0.0RC1
Sara Golemon [Tue, 15 Sep 2020 18:38:15 +0000 (18:38 +0000)]
Update NEWS for 8.0.0RC1

4 years agoUpdate NEWS for PHP 8.0.0beta4
Sara Golemon [Tue, 15 Sep 2020 18:30:23 +0000 (18:30 +0000)]
Update NEWS for PHP 8.0.0beta4

4 years agoFix OSS Fuzz issue: yielding from an aborted generator
Bob Weinand [Tue, 15 Sep 2020 18:07:25 +0000 (20:07 +0200)]
Fix OSS Fuzz issue: yielding from an aborted generator

4 years agoPromote warnings to Error in MySQLi extension
George Peter Banyard [Fri, 3 Jul 2020 11:43:29 +0000 (13:43 +0200)]
Promote warnings to Error in MySQLi extension

Closes GH-5803

4 years agoFix uninitialized run-time cache when resolving named param defaults
Nikita Popov [Tue, 15 Sep 2020 14:08:14 +0000 (16:08 +0200)]
Fix uninitialized run-time cache when resolving named param defaults

Fixes oss-fuzz #25676.

4 years agoFix undef var exception handling in JMP_NULL
Nikita Popov [Tue, 15 Sep 2020 13:43:31 +0000 (15:43 +0200)]
Fix undef var exception handling in JMP_NULL

We need to initialize the result variable in the exceptional
case as well.

Fixes oss-fuzz #25526.

4 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 15 Sep 2020 13:26:56 +0000 (15:26 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix assumption about property guard hash value

4 years agoFix assumption about property guard hash value
Nikita Popov [Tue, 15 Sep 2020 13:25:22 +0000 (15:25 +0200)]
Fix assumption about property guard hash value

The "member" string here does not necessarily have a pre-calculated
hash value. In particular this is not the case if the class has no
properties.

Fixes oss-fuzz #25546.

4 years agofix mbfl function prototypes
Remi Collet [Tue, 15 Sep 2020 11:54:27 +0000 (13:54 +0200)]
fix mbfl function prototypes
re-add mbfl_convert_filter_feed API
re-add pointer cast

4 years agoFix compile-time/run-time discrepancies with unary operators
Nikita Popov [Tue, 15 Sep 2020 13:06:56 +0000 (15:06 +0200)]
Fix compile-time/run-time discrepancies with unary operators

This addresses two issues:
 * ~ throws for a number of types, and we should not compile-time
   evaluate in that case. Add a check similar to what we do for
   binary ops.
 * Unary +/- may produce a different error message due to
   canonicalization of the constant operand to the RHS. To avoid
   this, put the constant operand on the RHS right away.

Fixes oss-fuzz #25649.

4 years agoTracing JIT for INIT_DYNAMIC_CALL (closure only)
Dmitry Stogov [Tue, 15 Sep 2020 12:57:57 +0000 (15:57 +0300)]
Tracing JIT for INIT_DYNAMIC_CALL (closure only)

4 years agoRemove unintendedly committed test
Máté Kocsis [Tue, 15 Sep 2020 12:49:30 +0000 (14:49 +0200)]
Remove unintendedly committed test

4 years agoAdjust ext/openssl parameter names
Máté Kocsis [Sat, 12 Sep 2020 21:53:15 +0000 (23:53 +0200)]
Adjust ext/openssl parameter names

Closes GH-6121

4 years agoPromote a few remaining errors in ext/standard
Máté Kocsis [Thu, 10 Sep 2020 11:28:18 +0000 (13:28 +0200)]
Promote a few remaining errors in ext/standard

Closes GH-6110

4 years agoPromote warnings to Error in SNMP extension
George Peter Banyard [Tue, 8 Sep 2020 14:59:35 +0000 (16:59 +0200)]
Promote warnings to Error in SNMP extension

4 years agoCheck `ReflectionReference::fromArrayElement` with union types
Gabriel Caruso [Mon, 14 Sep 2020 14:06:18 +0000 (16:06 +0200)]
Check `ReflectionReference::fromArrayElement` with union types

ReflectionReference::fromArrayElement(array $array, int|string $key): ?ReflectionReference
is going to be its official signature for PHP 8.0.

Closes GH-5651

4 years agoPromote warning to Error in ODBC extension
George Peter Banyard [Sat, 12 Sep 2020 23:08:18 +0000 (01:08 +0200)]
Promote warning to Error in ODBC extension

Closes GH-6123

4 years agoUse ValueError instead of exceptions in SPL extension
George Peter Banyard [Sat, 12 Sep 2020 01:00:53 +0000 (03:00 +0200)]
Use ValueError instead of exceptions in SPL extension

4 years agoUse normal error in SPL for uninitialized objects
George Peter Banyard [Fri, 11 Sep 2020 16:58:32 +0000 (18:58 +0200)]
Use normal error in SPL for uninitialized objects

4 years agoUse normal error in SPL for 'An iterator cannot be used with foreach by reference'
George Peter Banyard [Fri, 11 Sep 2020 16:35:50 +0000 (18:35 +0200)]
Use normal error in SPL for 'An iterator cannot be used with foreach by reference'

4 years agoConvert warning to assetion in MySQL PDO driver
George Peter Banyard [Sat, 12 Sep 2020 21:53:52 +0000 (23:53 +0200)]
Convert warning to assetion in MySQL PDO driver

Closes GH-6120

4 years agoAdd missing param type to pcre reflection test
Máté Kocsis [Tue, 15 Sep 2020 10:46:40 +0000 (12:46 +0200)]
Add missing param type to pcre reflection test

4 years agoFix preg_replace_callback_array() with array subject
Nikita Popov [Tue, 15 Sep 2020 09:26:59 +0000 (11:26 +0200)]
Fix preg_replace_callback_array() with array subject

Apparently this "feature" was completely untested...

4 years agoAdd GC_TRY_ADDREF macro
Nikita Popov [Tue, 15 Sep 2020 09:38:40 +0000 (11:38 +0200)]
Add GC_TRY_ADDREF macro

That adds a ref if not immutable. Also audit uses of GC_IMMUTABLE
to either use GC_TRY_ADDREF or GC_TRY_PROTECT_RECURSION.

4 years agoMerge branch 'PHP-7.4' into master
Christoph M. Becker [Tue, 15 Sep 2020 08:59:24 +0000 (10:59 +0200)]
Merge branch 'PHP-7.4' into master

* PHP-7.4:
  7.3.24 is next

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 15 Sep 2020 08:57:39 +0000 (10:57 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  7.3.24 is next

4 years ago7.3.24 is next
Christoph M. Becker [Tue, 15 Sep 2020 08:51:41 +0000 (10:51 +0200)]
7.3.24 is next

4 years agoFix observer leak
Nikita Popov [Tue, 15 Sep 2020 08:40:46 +0000 (10:40 +0200)]
Fix observer leak

Make sure to startup observer infrastructure before we register
the first observer...

4 years agoMerge branch 'PHP-7.4' into master
Derick Rethans [Tue, 15 Sep 2020 08:37:16 +0000 (09:37 +0100)]
Merge branch 'PHP-7.4' into master

4 years agoThe next release here will be 7.4.12
Derick Rethans [Tue, 15 Sep 2020 08:36:57 +0000 (09:36 +0100)]
The next release here will be 7.4.12

4 years agomicro-optimization
Dmitry Stogov [Tue, 15 Sep 2020 06:39:41 +0000 (09:39 +0300)]
micro-optimization

4 years agoRenumber ZEND_ACC_... constants
Dmitry Stogov [Tue, 15 Sep 2020 06:39:27 +0000 (09:39 +0300)]
Renumber ZEND_ACC_... constants

4 years agoPromote some warnings to ValueError in OCI8
George Peter Banyard [Sat, 12 Sep 2020 15:38:02 +0000 (17:38 +0200)]
Promote some warnings to ValueError in OCI8

Closes GH-6116

Co-authored-by: Christopher Jones <sixd@php.net>
4 years agoFix use-after-free with yield from in yield_from_multi_tree_single_nodes.phpt
Bob Weinand [Mon, 14 Sep 2020 21:05:28 +0000 (23:05 +0200)]
Fix use-after-free with yield from in yield_from_multi_tree_single_nodes.phpt

Prevent release of generator children during destruction

4 years agoMerge branch 'PHP-7.4' into master
Christoph M. Becker [Mon, 14 Sep 2020 20:36:00 +0000 (22:36 +0200)]
Merge branch 'PHP-7.4' into master

* PHP-7.4:
  Avoid segfault if module/extension version is not defined

4 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 14 Sep 2020 20:34:58 +0000 (22:34 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Avoid segfault if module/extension version is not defined

4 years agoAvoid segfault if module/extension version is not defined
Christoph M. Becker [Mon, 14 Sep 2020 20:31:15 +0000 (22:31 +0200)]
Avoid segfault if module/extension version is not defined

4 years agoSupport for reference
Dmitry Stogov [Mon, 14 Sep 2020 20:30:49 +0000 (23:30 +0300)]
Support for reference

4 years agoSimplify zend_jit_pre/post_inc/dec_typed_ref() helpers
Dmitry Stogov [Mon, 14 Sep 2020 19:26:34 +0000 (22:26 +0300)]
Simplify zend_jit_pre/post_inc/dec_typed_ref() helpers