]> granicus.if.org Git - php/log
php
6 years agoMicro optimization
Dmitry Stogov [Wed, 21 Mar 2018 08:57:54 +0000 (11:57 +0300)]
Micro optimization

6 years agoRework datatypes wrt warnings
Anatol Belski [Tue, 20 Mar 2018 21:03:03 +0000 (22:03 +0100)]
Rework datatypes wrt warnings

6 years agoUpdate to Oniguruma 6.8.1
Christoph M. Becker [Tue, 20 Mar 2018 13:42:57 +0000 (14:42 +0100)]
Update to Oniguruma 6.8.1

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 20 Mar 2018 16:02:52 +0000 (17:02 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #76113: mbstring does not build with Oniguruma 6.8.1

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 20 Mar 2018 15:52:42 +0000 (16:52 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76113: mbstring does not build with Oniguruma 6.8.1

6 years agoFix #76113: mbstring does not build with Oniguruma 6.8.1
Christoph M. Becker [Tue, 20 Mar 2018 15:35:39 +0000 (16:35 +0100)]
Fix #76113: mbstring does not build with Oniguruma 6.8.1

As of Oniguruma 6.8.1, the regex structure has been moved from the
public `oniguruma.h` to the private `regint.h`.  Thus, it is no longer
possible to directly access the struct's members, and actually, there
is no need to, since there are respective accessor functions available
at least of 2.3.1.

6 years agoUse const pointers
Anatol Belski [Tue, 20 Mar 2018 10:12:25 +0000 (11:12 +0100)]
Use const pointers

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Mon, 19 Mar 2018 13:48:10 +0000 (14:48 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #75944: Wrong cp1251 detection

6 years agoReuse new alignment macros
Anatol Belski [Mon, 19 Mar 2018 13:38:41 +0000 (14:38 +0100)]
Reuse new alignment macros

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Mon, 19 Mar 2018 13:25:44 +0000 (14:25 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #75944: Wrong cp1251 detection

6 years agoFix #75944: Wrong cp1251 detection
Christoph M. Becker [Mon, 19 Mar 2018 12:51:40 +0000 (13:51 +0100)]
Fix #75944: Wrong cp1251 detection

`\xFF` is a valid character of CP-1251.

6 years agoEliminate cast
Anatol Belski [Mon, 19 Mar 2018 10:44:27 +0000 (11:44 +0100)]
Eliminate cast

6 years agoMerge branch 'PHP-7.2'
Stanislav Malyshev [Mon, 19 Mar 2018 08:18:54 +0000 (01:18 -0700)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Set tests exit status by defaul - also in other instance.

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Mon, 19 Mar 2018 08:17:36 +0000 (01:17 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Set tests exit status by defaul - also in other instance.

6 years agoSet tests exit status by defaul - also in other instance.
Stanislav Malyshev [Mon, 19 Mar 2018 08:17:14 +0000 (01:17 -0700)]
Set tests exit status by defaul - also in other instance.

6 years agoMerge branch 'PHP-7.2'
Stanislav Malyshev [Sun, 18 Mar 2018 22:07:53 +0000 (15:07 -0700)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Set tests exit status by default.

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Stanislav Malyshev [Sun, 18 Mar 2018 22:06:08 +0000 (15:06 -0700)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Set tests exit status by default.

6 years agoSet tests exit status by default.
Stanislav Malyshev [Sun, 18 Mar 2018 22:04:50 +0000 (15:04 -0700)]
Set tests exit status by default.

Use REPORT_EXIT_STATUS=0 or REPORT_EXIT_STATUS=no to prevent it.

Based on discussion in https://www.mail-archive.com/internals@lists.php.net/msg94141.html

6 years agoMark non exported symbol as static
Anatol Belski [Sat, 17 Mar 2018 20:17:47 +0000 (21:17 +0100)]
Mark non exported symbol as static

6 years agoUse const pointers
Anatol Belski [Sat, 17 Mar 2018 11:45:22 +0000 (12:45 +0100)]
Use const pointers

6 years agoUse const pointers where appropriate
Anatol Belski [Fri, 16 Mar 2018 19:36:41 +0000 (20:36 +0100)]
Use const pointers where appropriate

6 years agoSwitch to placeholder matching
Anatol Belski [Fri, 16 Mar 2018 17:57:32 +0000 (18:57 +0100)]
Switch to placeholder matching

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 16 Mar 2018 17:56:55 +0000 (18:56 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Sync test with newer output

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 16 Mar 2018 17:56:08 +0000 (18:56 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync test with newer output

6 years agoSync test with newer output
Anatol Belski [Fri, 16 Mar 2018 17:54:55 +0000 (18:54 +0100)]
Sync test with newer output

Czech Republic vs. newer Czechia

6 years agoUse const pointers at some appropriate places
Anatol Belski [Fri, 16 Mar 2018 14:42:41 +0000 (15:42 +0100)]
Use const pointers at some appropriate places

6 years agoslashchars are 16 bytes aligned
Xinchen Hui [Fri, 16 Mar 2018 08:01:32 +0000 (16:01 +0800)]
slashchars are 16 bytes aligned

6 years agoFixed folder
Xinchen Hui [Fri, 16 Mar 2018 05:23:35 +0000 (13:23 +0800)]
Fixed folder

6 years agoOptimized str_rot13 with SSE2 instructions
Xinchen Hui [Fri, 16 Mar 2018 02:52:57 +0000 (10:52 +0800)]
Optimized str_rot13 with SSE2 instructions

6 years agoWorkaround VA macro expansion difference with VC++
Anatol Belski [Thu, 15 Mar 2018 20:17:40 +0000 (21:17 +0100)]
Workaround VA macro expansion difference with VC++

6 years agoOptmized AST creation
Dmitry Stogov [Thu, 15 Mar 2018 12:40:04 +0000 (15:40 +0300)]
Optmized AST creation

6 years agoUse cheaper functions
Dmitry Stogov [Thu, 15 Mar 2018 09:46:19 +0000 (12:46 +0300)]
Use cheaper functions

6 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Thu, 15 Mar 2018 03:17:14 +0000 (11:17 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #76094 (Access violation when using opcache)

6 years agoFixed bug #76094 (Access violation when using opcache)
Xinchen Hui [Thu, 15 Mar 2018 03:17:00 +0000 (11:17 +0800)]
Fixed bug #76094 (Access violation when using opcache)

6 years agoPHP scanner optimization
Dmitry Stogov [Wed, 14 Mar 2018 22:33:17 +0000 (01:33 +0300)]
PHP scanner optimization

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 14 Mar 2018 22:11:02 +0000 (23:11 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Reduce var scope

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 14 Mar 2018 22:10:24 +0000 (23:10 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Reduce var scope

6 years agoReduce var scope
Anatol Belski [Wed, 14 Mar 2018 21:59:54 +0000 (22:59 +0100)]
Reduce var scope

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 14 Mar 2018 21:23:38 +0000 (22:23 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix stack use after scope

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 14 Mar 2018 21:23:04 +0000 (22:23 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix stack use after scope

6 years agoFix stack use after scope
Anatol Belski [Wed, 14 Mar 2018 21:21:43 +0000 (22:21 +0100)]
Fix stack use after scope

6 years agozend_ast_destroy() optimization
Dmitry Stogov [Wed, 14 Mar 2018 21:05:00 +0000 (00:05 +0300)]
zend_ast_destroy() optimization

6 years agoMark zend_ast_export() as "cold".
Dmitry Stogov [Wed, 14 Mar 2018 20:13:20 +0000 (23:13 +0300)]
Mark zend_ast_export() as "cold".

6 years agoPHP scanner optimization
Dmitry Stogov [Wed, 14 Mar 2018 18:27:57 +0000 (21:27 +0300)]
PHP scanner optimization

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Wed, 14 Mar 2018 18:26:50 +0000 (21:26 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Remove unused argument
  Upgrade binary SDK version for AppVeyor

6 years agoRemove unused argument
Anatol Belski [Wed, 14 Mar 2018 15:33:34 +0000 (16:33 +0100)]
Remove unused argument

6 years agoKeep initialized object_handlers structures in read-only memory.
Dmitry Stogov [Wed, 14 Mar 2018 11:01:45 +0000 (14:01 +0300)]
Keep initialized object_handlers structures in read-only memory.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 14 Mar 2018 11:01:38 +0000 (12:01 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Upgrade binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 14 Mar 2018 11:01:01 +0000 (12:01 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Upgrade binary SDK version for AppVeyor

6 years agoUpgrade binary SDK version for AppVeyor
Anatol Belski [Wed, 14 Mar 2018 10:59:37 +0000 (11:59 +0100)]
Upgrade binary SDK version for AppVeyor

6 years agoMove constant array into read-only memory
Dmitry Stogov [Wed, 14 Mar 2018 08:35:31 +0000 (11:35 +0300)]
Move constant array into read-only memory

6 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Wed, 14 Mar 2018 06:41:55 +0000 (09:41 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed user-opcode support

6 years agoFixed user-opcode support
Dmitry Stogov [Wed, 14 Mar 2018 06:41:25 +0000 (09:41 +0300)]
Fixed user-opcode support

6 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Wed, 14 Mar 2018 06:14:32 +0000 (09:14 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed use-after-free

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Dmitry Stogov [Wed, 14 Mar 2018 06:14:16 +0000 (09:14 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed use-after-free

6 years agoFixed use-after-free
Dmitry Stogov [Wed, 14 Mar 2018 06:11:48 +0000 (09:11 +0300)]
Fixed use-after-free

6 years agoMerge branch 'PHP-7.2'
Joe Watkins [Wed, 14 Mar 2018 04:59:40 +0000 (05:59 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  bump versions

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Wed, 14 Mar 2018 04:59:18 +0000 (05:59 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  bump versions

6 years agobump versions
Joe Watkins [Wed, 14 Mar 2018 04:58:42 +0000 (05:58 +0100)]
bump versions

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 13 Mar 2018 23:01:46 +0000 (00:01 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #74139: mail.add_x_header default inconsistent with docs [ci skip]

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 13 Mar 2018 22:55:26 +0000 (23:55 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #74139: mail.add_x_header default inconsistent with docs [ci skip]

6 years agoFix #74139: mail.add_x_header default inconsistent with docs [ci skip]
Christoph M. Becker [Tue, 13 Mar 2018 22:54:42 +0000 (23:54 +0100)]
Fix #74139: mail.add_x_header default inconsistent with docs [ci skip]

mail.add_x_header actually defaults to `Off`, so we should use this
default in the provided `php.ini`s.

6 years agoPHP scanner optimization
Dmitry Stogov [Tue, 13 Mar 2018 22:48:17 +0000 (01:48 +0300)]
PHP scanner optimization

6 years agoRevert "Handle scanner error in first place (don't hide them from ext/tokenizer)...
Dmitry Stogov [Tue, 13 Mar 2018 22:08:03 +0000 (01:08 +0300)]
Revert "Handle scanner error in first place (don't hide them from ext/tokenizer) and cheaper whitespace handlig."

This reverts commit 0d6da03f5c3e49b92cf6817ba8a7f8d6f60ee1aa.

6 years agoHandle scanner error in first place (don't hide them from ext/tokenizer) and cheaper...
Dmitry Stogov [Tue, 13 Mar 2018 15:42:09 +0000 (18:42 +0300)]
Handle scanner error in first place (don't hide them from ext/tokenizer) and cheaper whitespace handlig.

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 13 Mar 2018 13:34:26 +0000 (14:34 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #76088: ODBC functions are not available by default on Windows

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 13 Mar 2018 13:33:20 +0000 (14:33 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76088: ODBC functions are not available by default on Windows

6 years agoFix #76088: ODBC functions are not available by default on Windows
Christoph M. Becker [Tue, 13 Mar 2018 13:16:20 +0000 (14:16 +0100)]
Fix #76088: ODBC functions are not available by default on Windows

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 13 Mar 2018 13:28:45 +0000 (14:28 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  next is 7.2.5

6 years agoAvoid useless iterations
Dmitry Stogov [Tue, 13 Mar 2018 13:07:18 +0000 (16:07 +0300)]
Avoid useless iterations

6 years agonext is 7.2.5
Remi Collet [Tue, 13 Mar 2018 11:49:25 +0000 (12:49 +0100)]
next is 7.2.5

6 years agoGet rid of useless SET_UNUSED()
Dmitry Stogov [Tue, 13 Mar 2018 11:34:48 +0000 (14:34 +0300)]
Get rid of useless SET_UNUSED()

6 years agoMoved compiler helper functions from zend_opcode.c to zend_compile.c
Dmitry Stogov [Tue, 13 Mar 2018 10:49:58 +0000 (13:49 +0300)]
Moved compiler helper functions from zend_opcode.c to zend_compile.c

6 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Tue, 13 Mar 2018 08:04:03 +0000 (11:04 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074)."

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Dmitry Stogov [Tue, 13 Mar 2018 08:03:57 +0000 (11:03 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074)."

6 years agoRevert "More accurate symbolic constraints oferflow/unserflow handling (better fix...
Dmitry Stogov [Tue, 13 Mar 2018 08:03:45 +0000 (11:03 +0300)]
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074)."

This reverts commit 44ba557de5c0d767ff6ccfcc2c8bde7d7c0746fe.

6 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Tue, 13 Mar 2018 07:47:11 +0000 (10:47 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074).

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Dmitry Stogov [Tue, 13 Mar 2018 07:45:53 +0000 (10:45 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074).

6 years agoMore accurate symbolic constraints oferflow/unserflow handling (better fix for bug...
Dmitry Stogov [Tue, 13 Mar 2018 07:44:53 +0000 (10:44 +0300)]
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074).

6 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Tue, 13 Mar 2018 05:01:45 +0000 (13:01 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Forgot NEWs
  Forgot NEWS

6 years agoForgot NEWs
Xinchen Hui [Tue, 13 Mar 2018 05:01:33 +0000 (13:01 +0800)]
Forgot NEWs

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Tue, 13 Mar 2018 05:00:59 +0000 (13:00 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Forgot NEWS

6 years agoForgot NEWS
Xinchen Hui [Tue, 13 Mar 2018 05:00:47 +0000 (13:00 +0800)]
Forgot NEWS

6 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Tue, 13 Mar 2018 04:56:27 +0000 (12:56 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Tue, 13 Mar 2018 04:52:07 +0000 (12:52 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)

6 years agoFixed bug #76085 (Segmentation fault in buildFromIterator when directory name contain...
Xinchen Hui [Tue, 13 Mar 2018 04:51:26 +0000 (12:51 +0800)]
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 12 Mar 2018 20:03:36 +0000 (21:03 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix heap use after free

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 12 Mar 2018 20:02:40 +0000 (21:02 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix heap use after free

6 years agoFix heap use after free
Anatol Belski [Mon, 12 Mar 2018 19:57:21 +0000 (20:57 +0100)]
Fix heap use after free

The value may only be used until PGresult was destroyed, thus it needs
to be copied.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 12 Mar 2018 15:02:14 +0000 (16:02 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Use literal as format

6 years agoUse literal as format
Anatol Belski [Mon, 12 Mar 2018 15:00:24 +0000 (16:00 +0100)]
Use literal as format

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 12 Mar 2018 14:18:51 +0000 (15:18 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Use string literal as format

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 12 Mar 2018 14:18:11 +0000 (15:18 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Use string literal as format

6 years agoUse string literal as format
Anatol Belski [Mon, 12 Mar 2018 14:17:08 +0000 (15:17 +0100)]
Use string literal as format

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 12 Mar 2018 13:16:59 +0000 (14:16 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Provide core includes for the resource compiler by default

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 12 Mar 2018 13:16:08 +0000 (14:16 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Provide core includes for the resource compiler by default

6 years agoProvide core includes for the resource compiler by default
Anatol Belski [Mon, 12 Mar 2018 13:14:34 +0000 (14:14 +0100)]
Provide core includes for the resource compiler by default

6 years agoMerge branch 'PHP-7.2'
Dmitry Stogov [Mon, 12 Mar 2018 08:21:46 +0000 (11:21 +0300)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Replaced usafe reference from SHM to process memory with SHM to SHM reference

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Dmitry Stogov [Mon, 12 Mar 2018 08:18:33 +0000 (11:18 +0300)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Replaced usafe reference from SHM to process memory with SHM to SHM reference

6 years agoReplaced usafe reference from SHM to process memory with SHM to SHM reference
Dmitry Stogov [Mon, 12 Mar 2018 08:18:12 +0000 (11:18 +0300)]
Replaced usafe reference from SHM to process memory with SHM to SHM reference