]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Fri, 5 Apr 2019 05:57:54 +0000 (07:57 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  typo

6 years agotypo
Markus Staab [Fri, 5 Apr 2019 05:51:30 +0000 (07:51 +0200)]
typo

6 years agoJIT register dump, fix BSD build.
David Carlier [Thu, 4 Apr 2019 21:54:19 +0000 (22:54 +0100)]
JIT register dump, fix BSD build.

6 years agoFixed JIT for === and !==
Dmitry Stogov [Thu, 4 Apr 2019 22:12:34 +0000 (01:12 +0300)]
Fixed JIT for === and !==

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 4 Apr 2019 21:26:20 +0000 (00:26 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Optimized "smart branch" instructions

6 years agoOptimized "smart branch" instructions
Dmitry Stogov [Thu, 4 Apr 2019 21:25:45 +0000 (00:25 +0300)]
Optimized "smart branch" instructions

6 years agoFixed a typo
Javier Eguiluz [Thu, 4 Apr 2019 09:16:54 +0000 (11:16 +0200)]
Fixed a typo

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 4 Apr 2019 15:18:52 +0000 (18:18 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Make is_identical() functions return zend_bool (instead of int)

6 years agoMake is_identical() functions return zend_bool (instead of int)
Dmitry Stogov [Thu, 4 Apr 2019 15:18:12 +0000 (18:18 +0300)]
Make is_identical() functions return zend_bool (instead of int)

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 4 Apr 2019 14:52:42 +0000 (17:52 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  unused variable

6 years agounused variable
Dmitry Stogov [Thu, 4 Apr 2019 14:52:17 +0000 (17:52 +0300)]
unused variable

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Thu, 4 Apr 2019 12:25:44 +0000 (14:25 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix typos

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Thu, 4 Apr 2019 12:24:56 +0000 (14:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix typos

6 years agoFix typos
Christoph M. Becker [Thu, 4 Apr 2019 12:22:36 +0000 (14:22 +0200)]
Fix typos

6 years agoAvoid code generation for BB with single VM instruction
Dmitry Stogov [Wed, 3 Apr 2019 21:47:51 +0000 (00:47 +0300)]
Avoid code generation for BB with single VM instruction

6 years agojump optimization
Dmitry Stogov [Wed, 3 Apr 2019 20:37:25 +0000 (23:37 +0300)]
jump optimization

6 years agoFixed crash
Dmitry Stogov [Wed, 3 Apr 2019 19:46:49 +0000 (22:46 +0300)]
Fixed crash

6 years agoAvoid useless code generation for RECV opcodes
Dmitry Stogov [Wed, 3 Apr 2019 19:28:23 +0000 (22:28 +0300)]
Avoid useless code generation for RECV opcodes

6 years agoMerge branch 'PHP-7.4'
Matteo Beccati [Wed, 3 Apr 2019 12:36:27 +0000 (14:36 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Ref #76801 remove old file source from file_sources hash in case of file included more than once

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Matteo Beccati [Wed, 3 Apr 2019 12:36:20 +0000 (14:36 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Ref #76801 remove old file source from file_sources hash in case of file included more than once

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Matteo Beccati [Wed, 3 Apr 2019 12:36:11 +0000 (14:36 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Ref #76801 remove old file source from file_sources hash in case of file included more than once

6 years agoRef #76801 remove old file source from file_sources hash in case of file included...
Alessandro Chitolina [Tue, 2 Apr 2019 12:36:59 +0000 (14:36 +0200)]
Ref #76801 remove old file source from file_sources hash in case of file included more than once

6 years agoUse inlined HYBRID VM handlers for DO_FCALL* and ZEND_RETRUN
Dmitry Stogov [Wed, 3 Apr 2019 12:02:04 +0000 (15:02 +0300)]
Use inlined HYBRID VM handlers for DO_FCALL* and ZEND_RETRUN

6 years agoFixed incorrect address usage
Dmitry Stogov [Wed, 3 Apr 2019 10:05:09 +0000 (13:05 +0300)]
Fixed incorrect address usage

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 3 Apr 2019 09:39:26 +0000 (12:39 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove RC1 and RCN from scalar types.

6 years agoRemove RC1 and RCN from scalar types.
Dmitry Stogov [Wed, 3 Apr 2019 09:38:25 +0000 (12:38 +0300)]
Remove RC1 and RCN from scalar types.

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 3 Apr 2019 08:23:37 +0000 (11:23 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed SCCP support for ZEND_ASSIGN_OBJ_REF

6 years agoFixed SCCP support for ZEND_ASSIGN_OBJ_REF
Dmitry Stogov [Wed, 3 Apr 2019 08:22:59 +0000 (11:22 +0300)]
Fixed SCCP support for ZEND_ASSIGN_OBJ_REF

6 years agoJIT code improvement for ocache.jit=1 (IP consistency)
Dmitry Stogov [Wed, 3 Apr 2019 00:56:39 +0000 (03:56 +0300)]
JIT code improvement for ocache.jit=1 (IP consistency)

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 3 Apr 2019 00:12:13 +0000 (03:12 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed CFG construction for SWITCH opcodes

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Wed, 3 Apr 2019 00:11:15 +0000 (03:11 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed CFG construction for SWITCH opcodes

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Wed, 3 Apr 2019 00:09:47 +0000 (03:09 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed CFG construction for SWITCH opcodes

6 years agoFixed CFG construction for SWITCH opcodes
Dmitry Stogov [Wed, 3 Apr 2019 00:09:03 +0000 (03:09 +0300)]
Fixed CFG construction for SWITCH opcodes

6 years agoImprove JIT code for smart branches
Dmitry Stogov [Tue, 2 Apr 2019 23:00:54 +0000 (02:00 +0300)]
Improve JIT code for smart branches

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 2 Apr 2019 21:45:52 +0000 (00:45 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  array_merge() may return argument with incremented reference counter

6 years agoarray_merge() may return argument with incremented reference counter
Dmitry Stogov [Tue, 2 Apr 2019 21:44:31 +0000 (00:44 +0300)]
array_merge() may return argument with incremented reference counter

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 2 Apr 2019 21:24:27 +0000 (23:24 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Clean ext/spl/tests/bug42364.phpt files after tests

6 years agoClean ext/spl/tests/bug42364.phpt files after tests
Peter Kokot [Tue, 2 Apr 2019 21:24:21 +0000 (23:24 +0200)]
Clean ext/spl/tests/bug42364.phpt files after tests

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 2 Apr 2019 20:49:31 +0000 (23:49 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Use fastcall calling convention

6 years agoUse fastcall calling convention
Dmitry Stogov [Tue, 2 Apr 2019 20:49:13 +0000 (23:49 +0300)]
Use fastcall calling convention

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 2 Apr 2019 20:47:03 +0000 (23:47 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Improved comparison opcode handlers

6 years agoImproved comparison opcode handlers
Dmitry Stogov [Tue, 2 Apr 2019 20:46:21 +0000 (23:46 +0300)]
Improved comparison opcode handlers

6 years agoUse fastcall calling convention
Dmitry Stogov [Tue, 2 Apr 2019 19:10:57 +0000 (22:10 +0300)]
Use fastcall calling convention

6 years agoFixed clang compiler warnings
Dmitry Stogov [Tue, 2 Apr 2019 18:54:32 +0000 (21:54 +0300)]
Fixed clang compiler warnings

6 years agoMerge branch 'PHP-7.4'
Kalle Sommer Nielsen [Tue, 2 Apr 2019 18:18:48 +0000 (21:18 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove dead JPEG2000 code

6 years agoRemove dead JPEG2000 code
Kalle Sommer Nielsen [Tue, 2 Apr 2019 18:18:06 +0000 (21:18 +0300)]
Remove dead JPEG2000 code

6 years agoAvoid NEW opcode inlining when opcache.jit=1
Dmitry Stogov [Tue, 2 Apr 2019 15:44:58 +0000 (18:44 +0300)]
Avoid NEW opcode inlining when opcache.jit=1

6 years agoAvoid generation of dead jumps
Dmitry Stogov [Tue, 2 Apr 2019 15:18:00 +0000 (18:18 +0300)]
Avoid generation of dead jumps

6 years agoUpdate NEWS
Christoph M. Becker [Tue, 2 Apr 2019 14:54:15 +0000 (16:54 +0200)]
Update NEWS

6 years agoAdded comments
Dmitry Stogov [Tue, 2 Apr 2019 12:41:25 +0000 (15:41 +0300)]
Added comments

6 years agoFix misplacement of calling convention declaration
Christoph M. Becker [Tue, 2 Apr 2019 12:10:10 +0000 (14:10 +0200)]
Fix misplacement of calling convention declaration

MSVC is particularly picky about this, and won't compile as it is.

6 years agoMerge branch 'PHP-7.4'
Remi Collet [Tue, 2 Apr 2019 09:06:22 +0000 (11:06 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  fix paste issue

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Remi Collet [Tue, 2 Apr 2019 09:06:06 +0000 (11:06 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  fix paste issue

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Remi Collet [Tue, 2 Apr 2019 09:05:54 +0000 (11:05 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  fix paste issue

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Remi Collet [Tue, 2 Apr 2019 09:05:39 +0000 (11:05 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  fix paste issue

6 years agofix paste issue
Remi Collet [Tue, 2 Apr 2019 09:03:40 +0000 (11:03 +0200)]
fix paste issue

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 2 Apr 2019 08:43:23 +0000 (10:43 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Pointer arithmetic on void pointers is illegal

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 2 Apr 2019 08:42:35 +0000 (10:42 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Pointer arithmetic on void pointers is illegal

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 2 Apr 2019 08:41:26 +0000 (10:41 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Pointer arithmetic on void pointers is illegal

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 2 Apr 2019 08:40:56 +0000 (10:40 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Pointer arithmetic on void pointers is illegal

6 years agoPointer arithmetic on void pointers is illegal
Christoph M. Becker [Tue, 2 Apr 2019 08:37:40 +0000 (10:37 +0200)]
Pointer arithmetic on void pointers is illegal

We quick-fix this by casting to char*; it might be more appropriate to
use char pointers in the first place.

6 years agoMerge branch 'PHP-7.4'
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:11 +0000 (00:13 -0700)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:06 +0000 (00:13 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Tue, 2 Apr 2019 07:13:00 +0000 (00:13 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Tue, 2 Apr 2019 07:12:54 +0000 (00:12 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF

6 years agoFixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF
Stanislav Malyshev [Tue, 2 Apr 2019 07:12:26 +0000 (00:12 -0700)]
Fixed bug #77831 - Heap-buffer-overflow in exif_iif_add_value in EXIF

6 years agotypo
Dmitry Stogov [Mon, 1 Apr 2019 21:37:34 +0000 (00:37 +0300)]
typo

6 years agoFixed edge cases in ZEND_ASSIGN_OP+ASSIGN_DIM and replaced specialized helpers with...
Dmitry Stogov [Mon, 1 Apr 2019 20:17:45 +0000 (23:17 +0300)]
Fixed edge cases in ZEND_ASSIGN_OP+ASSIGN_DIM and replaced specialized helpers with single one

6 years agoRemoved checks for required object handlers
Dmitry Stogov [Mon, 1 Apr 2019 18:50:20 +0000 (21:50 +0300)]
Removed checks for required object handlers

6 years agoEliminate hash lookup for immutable op_arrays
Dmitry Stogov [Mon, 1 Apr 2019 18:20:52 +0000 (21:20 +0300)]
Eliminate hash lookup for immutable op_arrays

6 years agoUse Zend MM for JIT temporary buffres allocation
Dmitry Stogov [Mon, 1 Apr 2019 16:22:22 +0000 (19:22 +0300)]
Use Zend MM for JIT temporary buffres allocation

6 years agofix zts jit build
Joe Watkins [Mon, 1 Apr 2019 09:45:32 +0000 (11:45 +0200)]
fix zts jit build

6 years agoUpdated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)

6 years agoUpdated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)

6 years agoEmpty merge
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Empty merge

6 years agoEmpty merge
Derick Rethans [Mon, 1 Apr 2019 09:38:41 +0000 (10:38 +0100)]
Empty merge

6 years agoUpdated to version 2019.1 (2019a)
Derick Rethans [Mon, 1 Apr 2019 09:38:40 +0000 (10:38 +0100)]
Updated to version 2019.1 (2019a)

6 years agoMerge branch 'PHP-7.4'
Stanislav Malyshev [Mon, 1 Apr 2019 07:32:49 +0000 (00:32 -0700)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Unfortunately, travis CI has old oniguruma library
  Update NEWS & UPGRADING
  Add fallbacks for older oniguruma versions
  Add mbstring.regex_stack_limit to php.ini-*
  Implement RF bug #72777 - ensure stack limits on mbstring functions.

6 years agoUnfortunately, travis CI has old oniguruma library
Stanislav Malyshev [Mon, 1 Apr 2019 07:30:56 +0000 (00:30 -0700)]
Unfortunately, travis CI has old oniguruma library

So we can't test it there.

6 years agoAdded JIT compiler for x86 and x86_64
Dmitry Stogov [Mon, 1 Apr 2019 07:27:11 +0000 (10:27 +0300)]
Added JIT compiler for x86 and x86_64

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Mon, 1 Apr 2019 07:05:36 +0000 (00:05 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update NEWS & UPGRADING
  Add fallbacks for older oniguruma versions
  Add mbstring.regex_stack_limit to php.ini-*
  Implement RF bug #72777 - ensure stack limits on mbstring functions.

6 years agoUpdate NEWS & UPGRADING
Stanislav Malyshev [Mon, 1 Apr 2019 07:03:49 +0000 (00:03 -0700)]
Update NEWS & UPGRADING

6 years agoMerge branch 'mb-limit-73' into PHP-7.3
Stanislav Malyshev [Mon, 1 Apr 2019 07:00:14 +0000 (00:00 -0700)]
Merge branch 'mb-limit-73' into PHP-7.3

* mb-limit-73:
  Add fallbacks for older oniguruma versions
  Add mbstring.regex_stack_limit to php.ini-*
  Implement RF bug #72777 - ensure stack limits on mbstring functions.

6 years agoMerge branch 'PHP-7.4'
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:34 +0000 (23:11 -0700)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update NEWS
  Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s

6 years agoFix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 18 Mar 2019 05:54:46 +0000 (22:54 -0700)]
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:30 +0000 (23:11 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:27 +0000 (23:11 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:24 +0000 (23:11 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update NEWS

6 years agoUpdate NEWS
Stanislav Malyshev [Mon, 1 Apr 2019 06:11:15 +0000 (23:11 -0700)]
Update NEWS

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Mon, 1 Apr 2019 06:10:04 +0000 (23:10 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 1 Apr 2019 06:09:57 +0000 (23:09 -0700)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 1 Apr 2019 06:09:18 +0000 (23:09 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s

6 years agoFix bug #77753 - Heap-buffer-overflow in php_ifd_get32s
Stanislav Malyshev [Mon, 18 Mar 2019 05:54:46 +0000 (22:54 -0700)]
Fix bug #77753 - Heap-buffer-overflow in php_ifd_get32s

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Mon, 1 Apr 2019 00:17:40 +0000 (02:17 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Improve ascii check

6 years agoImprove ascii check
Anatol Belski [Mon, 1 Apr 2019 00:16:52 +0000 (02:16 +0200)]
Improve ascii check

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sun, 31 Mar 2019 20:11:54 +0000 (22:11 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Rework conditions and make them more future proof

6 years agoRework conditions and make them more future proof
Anatol Belski [Sun, 31 Mar 2019 20:10:56 +0000 (22:10 +0200)]
Rework conditions and make them more future proof

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sun, 31 Mar 2019 15:34:06 +0000 (17:34 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Implement stricter CRT check

6 years agoImplement stricter CRT check
Anatol Belski [Sun, 31 Mar 2019 15:28:50 +0000 (17:28 +0200)]
Implement stricter CRT check

This aligns with the recommendations about VS2015, VS2017 and VS2019
compatibility.

More info below
https://devblogs.microsoft.com/cppblog/cpp-binary-compatibility-and-pain-free-upgrades-to-visual-studio-2019/

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sun, 31 Mar 2019 12:32:54 +0000 (14:32 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix return