]> granicus.if.org Git - php/log
php
6 years agoUse SSE/AVX instructions
Dmitry Stogov [Wed, 30 May 2018 17:59:29 +0000 (20:59 +0300)]
Use SSE/AVX instructions

6 years agoUse SSE2 instruction to reset HashTable
Dmitry Stogov [Wed, 30 May 2018 17:17:52 +0000 (20:17 +0300)]
Use SSE2 instruction to reset HashTable

6 years agoAvoid rehashing of "packed" array
Dmitry Stogov [Wed, 30 May 2018 17:17:25 +0000 (20:17 +0300)]
Avoid rehashing of "packed" array

6 years agoEliminate some checks for zero character inside an inclue file name
Dmitry Stogov [Wed, 30 May 2018 15:24:31 +0000 (18:24 +0300)]
Eliminate some checks for zero character inside an inclue file name

6 years agoAvoid agressive inlining in rarely used paths
Dmitry Stogov [Wed, 30 May 2018 11:03:48 +0000 (14:03 +0300)]
Avoid agressive inlining in rarely used paths

6 years agoMarked rarely used opcodes as "cold" (e.g. ADD_CONST_CONST ususaly optimized out).
Dmitry Stogov [Tue, 29 May 2018 22:50:44 +0000 (01:50 +0300)]
Marked rarely used opcodes as "cold" (e.g. ADD_CONST_CONST ususaly optimized out).

6 years agoRemove build system files of bundled library libbcmath
Peter Kokot [Mon, 28 May 2018 06:08:33 +0000 (08:08 +0200)]
Remove build system files of bundled library libbcmath

The bundled library libbcmath is maintained in the php-src and its
build system files are outdated and not used.

6 years agoRevert "Avoid reference-counting"
Dmitry Stogov [Tue, 29 May 2018 15:04:16 +0000 (18:04 +0300)]
Revert "Avoid reference-counting"

This reverts commit ea26ab3393775437930e7900426632fef7124ed3.

6 years agoRemoved useless zval_ptr_dtor()
Dmitry Stogov [Tue, 29 May 2018 14:58:06 +0000 (17:58 +0300)]
Removed useless zval_ptr_dtor()

6 years agoFixed HashTable load factor
Dmitry Stogov [Tue, 29 May 2018 07:16:02 +0000 (10:16 +0300)]
Fixed HashTable load factor

6 years agoReplace unused generic zend_hash_*add_or_update() functions by compact implmentations.
Dmitry Stogov [Mon, 28 May 2018 22:38:27 +0000 (01:38 +0300)]
Replace unused generic zend_hash_*add_or_update() functions by compact implmentations.

6 years ago_zend_hash_index_add_or_update_i() optimization
Dmitry Stogov [Mon, 28 May 2018 21:09:49 +0000 (00:09 +0300)]
_zend_hash_index_add_or_update_i() optimization

6 years agoUpdate year range in hrtime c and h files
Peter Kokot [Mon, 28 May 2018 00:21:31 +0000 (02:21 +0200)]
Update year range in hrtime c and h files

6 years agoRemove unused binary_pipes option
Peter Kokot [Sun, 27 May 2018 05:40:09 +0000 (07:40 +0200)]
Remove unused binary_pipes option

Option binary_pipes was added in PHP 6 which was then refactored
and this option was removed.

6 years agoAdd note about heredoc BC break
Nikita Popov [Mon, 28 May 2018 20:14:04 +0000 (22:14 +0200)]
Add note about heredoc BC break

6 years agoFix build without global registers
Anatol Belski [Mon, 28 May 2018 18:44:58 +0000 (20:44 +0200)]
Fix build without global registers

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Mon, 28 May 2018 15:30:04 +0000 (18:30 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Translate correct C++ version with suitable compiler
  Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)

6 years agoRemoved dead code
Dmitry Stogov [Mon, 28 May 2018 15:29:43 +0000 (18:29 +0300)]
Removed dead code

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 28 May 2018 15:15:22 +0000 (17:15 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Translate correct C++ version with suitable compiler
  Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 28 May 2018 15:13:55 +0000 (17:13 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Translate correct C++ version with suitable compiler
  Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)

6 years agoTranslate correct C++ version with suitable compiler
Anatol Belski [Mon, 28 May 2018 15:12:06 +0000 (17:12 +0200)]
Translate correct C++ version with suitable compiler

6 years agoSeparate common code into helper function
Dmitry Stogov [Mon, 28 May 2018 15:11:43 +0000 (18:11 +0300)]
Separate common code into helper function

6 years agoAvoid reference-counting
Dmitry Stogov [Mon, 28 May 2018 14:10:58 +0000 (17:10 +0300)]
Avoid reference-counting

6 years agoUse zend_string_release_ex() instread of zend_string_release() in places, where we...
Dmitry Stogov [Mon, 28 May 2018 13:27:12 +0000 (16:27 +0300)]
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.

6 years agoAdded missing debug arguments
Dmitry Stogov [Mon, 28 May 2018 10:09:33 +0000 (13:09 +0300)]
Added missing debug arguments

6 years agoFixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)
Bob Weinand [Sun, 27 May 2018 22:48:35 +0000 (00:48 +0200)]
Fixed bug #76383 (array_map on $GLOBALS returns IS_INDIRECT)

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 26 May 2018 20:06:52 +0000 (22:06 +0200)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 26 May 2018 20:06:44 +0000 (22:06 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoAdds print_global_vars to gdbinit
Mitch Hagstrand [Wed, 16 May 2018 20:01:24 +0000 (15:01 -0500)]
Adds print_global_vars to gdbinit

6 years agoAdd missing opcache.opt_debug_level ini directive
Peter Kokot [Sat, 26 May 2018 17:34:38 +0000 (19:34 +0200)]
Add missing opcache.opt_debug_level ini directive

6 years agoEnhance the ext_skel.php script file
Peter Kokot [Sat, 26 May 2018 18:23:11 +0000 (20:23 +0200)]
Enhance the ext_skel.php script file

- File is now executable
- Shebang added on top
- Normal UTF-8 encoding instead of UTF-8 with BOM
- trailing whitespaces trimmed as a CS fix
- Closing PHP tag removed in favor of readability, avoiding possible
  issues with whitespaces, and to comply with current CS from the
  PHP ecosystem - PSRs etc.

6 years agoUPGRADING tweaks
Nikita Popov [Sat, 26 May 2018 19:58:54 +0000 (21:58 +0200)]
UPGRADING tweaks

Fix a typo and clarify that Reflection changes only affect string
export. No API relevant return values are changed.

[ci skip]

6 years agoUpdate to Oniguruma 6.8.2
Christoph M. Becker [Sat, 26 May 2018 11:38:30 +0000 (13:38 +0200)]
Update to Oniguruma 6.8.2

6 years agoFix #76137: config.guess/config.sub do not recognize RISC-V
Christoph M. Becker [Tue, 8 May 2018 21:00:27 +0000 (23:00 +0200)]
Fix #76137: config.guess/config.sub do not recognize RISC-V

These had their latest update more than three years ago, so there may
be even more issues.  Since the config project[1] does not have any
versioning, we're grabbing the most recent HEAD.

[1] <http://git.savannah.gnu.org/gitweb/?p=config.git;a=summary>

6 years agoAdd some upgrading notes for mbstring
Nikita Popov [Fri, 25 May 2018 10:09:51 +0000 (12:09 +0200)]
Add some upgrading notes for mbstring

6 years agoFixed bug #76319
Nikita Popov [Fri, 25 May 2018 09:33:13 +0000 (11:33 +0200)]
Fixed bug #76319

While at it, also make sure that mbstring case conversion takes
into account the specified substitution character and substitution
mode.

6 years agoMerge branch 'PHP-7.2'
Joe Watkins [Wed, 23 May 2018 20:24:07 +0000 (22:24 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  fix phpdbg disabling chroot support

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Wed, 23 May 2018 20:23:53 +0000 (22:23 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  fix phpdbg disabling chroot support

6 years agofix phpdbg disabling chroot support
Joe Watkins [Wed, 23 May 2018 20:23:13 +0000 (22:23 +0200)]
fix phpdbg disabling chroot support

6 years agoExport php_date_get_interval_ce() and php_date_get_period_ce() for extension use
Pavel Kovář [Fri, 11 May 2018 14:57:39 +0000 (16:57 +0200)]
Export php_date_get_interval_ce() and php_date_get_period_ce() for extension use

6 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Wed, 23 May 2018 06:46:32 +0000 (14:46 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWS
  Fixed bug #76367 (NoRewindIterator segfault 11)

6 years agoUpdate NEWS
Xinchen Hui [Wed, 23 May 2018 06:46:18 +0000 (14:46 +0800)]
Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Wed, 23 May 2018 06:46:01 +0000 (14:46 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #76367 (NoRewindIterator segfault 11)

6 years agoFixed bug #76367 (NoRewindIterator segfault 11)
Xinchen Hui [Wed, 23 May 2018 06:45:38 +0000 (14:45 +0800)]
Fixed bug #76367 (NoRewindIterator segfault 11)

6 years agoMerge branch 'PHP-7.2'
Jakub Zelenka [Tue, 22 May 2018 12:41:22 +0000 (13:41 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Tue, 22 May 2018 12:40:23 +0000 (13:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFix bug #76174 (openssl extension fails to build with LibreSSL 2.7)
Jakub Zelenka [Mon, 21 May 2018 16:55:11 +0000 (17:55 +0100)]
Fix bug #76174 (openssl extension fails to build with LibreSSL 2.7)

6 years agoindent
Xinchen Hui [Tue, 22 May 2018 09:05:39 +0000 (17:05 +0800)]
indent

6 years agounnecessary branch
Xinchen Hui [Tue, 22 May 2018 09:04:42 +0000 (17:04 +0800)]
unnecessary branch

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 21 May 2018 10:20:27 +0000 (12:20 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Allow pecl like usage in ext/pdo, refs #2955

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 21 May 2018 10:19:45 +0000 (12:19 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Allow pecl like usage in ext/pdo, refs #2955

6 years agoAllow pecl like usage in ext/pdo, refs #2955
Tianon Gravi [Thu, 5 Apr 2018 18:55:27 +0000 (11:55 -0700)]
Allow pecl like usage in ext/pdo, refs #2955

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sun, 20 May 2018 12:28:36 +0000 (14:28 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Sun, 20 May 2018 12:27:23 +0000 (14:27 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sun, 20 May 2018 11:33:46 +0000 (13:33 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #76337

6 years agoFixed bug #76337
xKhorasan [Mon, 14 May 2018 22:36:14 +0000 (07:36 +0900)]
Fixed bug #76337

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 19 May 2018 13:46:52 +0000 (15:46 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix versions, as 7.2.6RC is already out

6 years agoFix versions, as 7.2.6RC is already out
Anatol Belski [Sat, 19 May 2018 13:44:23 +0000 (15:44 +0200)]
Fix versions, as 7.2.6RC is already out

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 19 May 2018 11:12:27 +0000 (13:12 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Refix the tests once more

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 19 May 2018 11:11:39 +0000 (13:11 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Refix the tests once more

6 years agoRefix the tests once more
Anatol Belski [Sat, 19 May 2018 11:09:56 +0000 (13:09 +0200)]
Refix the tests once more

The behavior change seems to be in both runtime and system. The
displaced warning output is of secondary interest anyway.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 19 May 2018 09:45:17 +0000 (11:45 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix remaining AppVeyor test failures due to the image update

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 19 May 2018 09:44:26 +0000 (11:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix remaining AppVeyor test failures due to the image update

6 years agoFix remaining AppVeyor test failures due to the image update
Anatol Belski [Sat, 19 May 2018 09:43:19 +0000 (11:43 +0200)]
Fix remaining AppVeyor test failures due to the image update

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 18 May 2018 16:39:07 +0000 (18:39 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix Opcache test fails regarding to AppVeyor image update

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 18 May 2018 16:37:53 +0000 (18:37 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix Opcache test fails regarding to AppVeyor image update

6 years agoFix Opcache test fails regarding to AppVeyor image update
Anatol Belski [Fri, 18 May 2018 16:36:39 +0000 (18:36 +0200)]
Fix Opcache test fails regarding to AppVeyor image update

6 years agoMerge branch 'PHP-7.2'
Jakub Zelenka [Fri, 18 May 2018 16:25:06 +0000 (17:25 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Fri, 18 May 2018 16:23:17 +0000 (17:23 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoUpdate NEWS with info about bug #76296
Jakub Zelenka [Fri, 18 May 2018 16:18:25 +0000 (17:18 +0100)]
Update NEWS with info about bug #76296

6 years agoAdd test for bug #76296
Jakub Zelenka [Fri, 18 May 2018 16:13:55 +0000 (17:13 +0100)]
Add test for bug #76296

6 years agoFix bug #76296 (openssl_pkey_get_public does not respect open_basedir)
Erik Lax [Tue, 1 May 2018 16:16:53 +0000 (18:16 +0200)]
Fix bug #76296 (openssl_pkey_get_public does not respect open_basedir)

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 18 May 2018 15:44:48 +0000 (17:44 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix curl tests wrt. AppVeyor and curl updates

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 18 May 2018 15:43:58 +0000 (17:43 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix curl tests wrt. AppVeyor and curl updates

6 years agoFix curl tests wrt. AppVeyor and curl updates
Anatol Belski [Fri, 18 May 2018 15:39:12 +0000 (17:39 +0200)]
Fix curl tests wrt. AppVeyor and curl updates

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 18 May 2018 11:41:14 +0000 (13:41 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix cli server test fails after recent AppVeyor image update

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 18 May 2018 11:40:42 +0000 (13:40 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix cli server test fails after recent AppVeyor image update

6 years agoFix cli server test fails after recent AppVeyor image update
Anatol Belski [Fri, 18 May 2018 11:38:53 +0000 (13:38 +0200)]
Fix cli server test fails after recent AppVeyor image update

6 years ago[ci skip] Add upgrading note
Anatol Belski [Thu, 17 May 2018 11:17:59 +0000 (13:17 +0200)]
[ci skip] Add upgrading note

6 years agoImplemented winsock info import/export
Anatol Belski [Mon, 23 Apr 2018 15:03:09 +0000 (17:03 +0200)]
Implemented winsock info import/export

6 years agoAllow appending an arbitrary suffix to the packages
Anatol Belski [Wed, 16 May 2018 15:10:23 +0000 (17:10 +0200)]
Allow appending an arbitrary suffix to the packages

6 years agoExtend compile conditions
Anatol Belski [Mon, 14 May 2018 13:59:28 +0000 (15:59 +0200)]
Extend compile conditions

6 years agoFix typos
Christoph M. Becker [Mon, 14 May 2018 21:50:42 +0000 (23:50 +0200)]
Fix typos

6 years agoDump obsolete EBCDIC support
Christoph M. Becker [Sun, 6 May 2018 14:28:21 +0000 (16:28 +0200)]
Dump obsolete EBCDIC support

As already suggested by Thies this code won't compile anymore, because
php3_rqst has been removed in 1999[1].  Since apparently nobody
complained about that, we assume that EBCDIC support isn't required
here, and rid the respective code.

Furthermore, the code appears to be erroneous anyway, since at least
XBM isn't a binary file format.

[1] <https://github.com/php/php-src/commit/3cd0af11eea32f802228004af8fe424c62c8fbfb#diff-1a9cfc6173e3a434387996e46086da56L258>

6 years agoFixed conditions
Dmitry Stogov [Mon, 14 May 2018 14:23:37 +0000 (17:23 +0300)]
Fixed conditions

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 14 May 2018 10:10:19 +0000 (12:10 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 10:09:36 +0000 (12:09 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 14 May 2018 10:08:52 +0000 (12:08 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 10:08:01 +0000 (12:08 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 14 May 2018 08:45:22 +0000 (10:45 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #76335 "link(): Bad file descriptor" with non-ASCII path

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 14 May 2018 08:44:49 +0000 (10:44 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #76335 "link(): Bad file descriptor" with non-ASCII path

6 years agoFixed bug #76335 "link(): Bad file descriptor" with non-ASCII path
Anatol Belski [Mon, 14 May 2018 08:43:11 +0000 (10:43 +0200)]
Fixed bug #76335 "link(): Bad file descriptor" with non-ASCII path

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 14 May 2018 06:45:31 +0000 (08:45 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Update NEWS
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 06:44:50 +0000 (08:44 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 14 May 2018 06:43:10 +0000 (08:43 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 14 May 2018 06:42:28 +0000 (08:42 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sun, 13 May 2018 16:43:12 +0000 (18:43 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #76333 PHP built-in server does not find files if root path contains special characters

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sun, 13 May 2018 16:42:36 +0000 (18:42 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #76333 PHP built-in server does not find files if root path contains special characters

6 years agoFixed bug #76333 PHP built-in server does not find files if root path contains specia...
Anatol Belski [Sun, 13 May 2018 14:43:22 +0000 (16:43 +0200)]
Fixed bug #76333 PHP built-in server does not find files if root path contains special characters

6 years agoFix keylen type mismatch in openssl_pkey_derive
Jakub Zelenka [Fri, 11 May 2018 16:05:03 +0000 (17:05 +0100)]
Fix keylen type mismatch in openssl_pkey_derive