]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 30 Mar 2018 12:17:34 +0000 (14:17 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix clang build, ref buf #76153

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 30 Mar 2018 12:16:44 +0000 (14:16 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix clang build, ref buf #76153

6 years agoFix clang build, ref buf #76153
Anatol Belski [Fri, 30 Mar 2018 12:14:35 +0000 (14:14 +0200)]
Fix clang build, ref buf #76153

Clang only allows -std=c++11 for C++ source.

6 years agoSwitch to PostgreSQL 10 for AppVeyor tests
Anatol Belski [Thu, 29 Mar 2018 16:31:17 +0000 (18:31 +0200)]
Switch to PostgreSQL 10 for AppVeyor tests

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 29 Mar 2018 15:01:27 +0000 (17:01 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 29 Mar 2018 15:00:47 +0000 (17:00 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update binary SDK version for AppVeyor

6 years agoUpdate binary SDK version for AppVeyor
Anatol Belski [Thu, 29 Mar 2018 14:59:42 +0000 (16:59 +0200)]
Update binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Thu, 29 Mar 2018 12:14:29 +0000 (14:14 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Adjust tests for ICU 61.1 compatibility

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 29 Mar 2018 12:13:48 +0000 (14:13 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Adjust tests for ICU 61.1 compatibility

6 years agoAdjust tests for ICU 61.1 compatibility
Anatol Belski [Thu, 29 Mar 2018 12:12:19 +0000 (14:12 +0200)]
Adjust tests for ICU 61.1 compatibility

6 years agoMerge identical handlers
Dmitry Stogov [Thu, 29 Mar 2018 08:13:17 +0000 (11:13 +0300)]
Merge identical handlers

6 years agoMerge branch 'PHP-7.2'
Ferenc Kovacs [Wed, 28 Mar 2018 21:23:06 +0000 (23:23 +0200)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Ferenc Kovacs [Wed, 28 Mar 2018 21:21:04 +0000 (23:21 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Wed, 28 Mar 2018 21:19:30 +0000 (23:19 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Wed, 28 Mar 2018 21:17:59 +0000 (23:17 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

6 years ago[ci skip] 5.6.36 will be next
Ferenc Kovacs [Wed, 28 Mar 2018 21:14:30 +0000 (23:14 +0200)]
[ci skip] 5.6.36 will be next

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Wed, 28 Mar 2018 16:05:22 +0000 (18:05 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #76153 Intl compilation fails with icu4c 61.1

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 28 Mar 2018 16:04:09 +0000 (18:04 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #76153 Intl compilation fails with icu4c 61.1

6 years agoFixed bug #76153 Intl compilation fails with icu4c 61.1
Anatol Belski [Wed, 28 Mar 2018 16:00:28 +0000 (18:00 +0200)]
Fixed bug #76153 Intl compilation fails with icu4c 61.1

Additionally, ICU >= 59.1 requires C++11, so add the flags. Some
refactoring is needed to comply with the latest recommended build
options, such as automatic icu namespace addition.

6 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 27 Mar 2018 20:09:52 +0000 (22:09 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed #75996: Add the right urls to the header of mt_rand.

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 27 Mar 2018 20:09:23 +0000 (22:09 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed #75996: Add the right urls to the header of mt_rand.

6 years agoFixed #75996: Add the right urls to the header of mt_rand.
TATAR Balazs Janos [Thu, 22 Feb 2018 16:10:33 +0000 (17:10 +0100)]
Fixed #75996: Add the right urls to the header of mt_rand.

6 years agoTest ini file reporting functions
johnstevenson [Sat, 17 Mar 2018 14:01:25 +0000 (14:01 +0000)]
Test ini file reporting functions

6 years agoRemove, or fix, unused variables
Gabriel Caruso [Sun, 18 Mar 2018 13:32:03 +0000 (10:32 -0300)]
Remove, or fix, unused variables

6 years agoMerge branch 'PHP-7.2'
Joe Watkins [Tue, 27 Mar 2018 20:00:12 +0000 (22:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #76131 some arginfo params are different from the documentation

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Tue, 27 Mar 2018 19:57:28 +0000 (21:57 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76131 some arginfo params are different from the documentation

6 years agoFix #76131 some arginfo params are different from the documentation
Gabriel Caruso [Sat, 24 Mar 2018 04:51:21 +0000 (01:51 -0300)]
Fix #76131 some arginfo params are different from the documentation

6 years agoBe consistent in is_executable on a directory in any stream wrapper.
solotandem [Mon, 26 Feb 2018 16:24:25 +0000 (10:24 -0600)]
Be consistent in is_executable on a directory in any stream wrapper.

  Current code treats the 'local files' stream wrapper ('php_plain_files_wrapper')
  different than all other stream wrappers. For the 'local' stream wrapper,
  is_executable only checks the mode key in the filestat array on the file or
  directory in question. For other stream wrappers, is_executable always returns
  FALSE on a directory. This treatment is inconsistent on its face.

  Also, for a custom stream wrapper that also points to local files, the result
  of is_executable is always FALSE even though it may be TRUE if the function were
  called on the same item using the 'local' stream wrapper from PHP.

  NOTE: patch does not attempt to add a test for this as there are no tests of
  is_executable for stream wrappers.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 27 Mar 2018 17:47:03 +0000 (19:47 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update libs_versions.txt

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 27 Mar 2018 17:46:25 +0000 (19:46 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update libs_versions.txt

6 years agoUpdate libs_versions.txt
Anatol Belski [Tue, 27 Mar 2018 17:44:17 +0000 (19:44 +0200)]
Update libs_versions.txt

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 27 Mar 2018 14:05:21 +0000 (16:05 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  [ci skip] Fix release date

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 27 Mar 2018 14:04:38 +0000 (16:04 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Fix release date

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 27 Mar 2018 14:03:54 +0000 (16:03 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  [ci skip] Fix release date

6 years ago[ci skip] Fix release date
Anatol Belski [Tue, 27 Mar 2018 14:02:19 +0000 (16:02 +0200)]
[ci skip] Fix release date

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 27 Mar 2018 13:04:37 +0000 (15:04 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  7.0.30 next

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 27 Mar 2018 13:02:46 +0000 (15:02 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  7.0.30 next

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 27 Mar 2018 13:02:07 +0000 (15:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  7.0.30 next

6 years ago7.0.30 next
Anatol Belski [Tue, 27 Mar 2018 13:00:54 +0000 (15:00 +0200)]
7.0.30 next

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 27 Mar 2018 12:30:01 +0000 (14:30 +0200)]
Merge branch 'PHP-7.2'

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

6 years ago[skip ci] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:29:03 +0000 (14:29 +0200)]
[skip ci] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 27 Mar 2018 12:28:20 +0000 (14:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

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

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:27:44 +0000 (14:27 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 27 Mar 2018 12:26:36 +0000 (14:26 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

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

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:26:06 +0000 (14:26 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 27 Mar 2018 12:25:24 +0000 (14:25 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Tue, 27 Mar 2018 12:24:43 +0000 (14:24 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 27 Mar 2018 12:21:42 +0000 (14:21 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Do not set PR_SET_DUMPABLE by default
  Do not set PR_SET_DUMPABLE by default

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 27 Mar 2018 12:20:53 +0000 (14:20 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Do not set PR_SET_DUMPABLE by default
  Do not set PR_SET_DUMPABLE by default

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 27 Mar 2018 12:20:10 +0000 (14:20 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Do not set PR_SET_DUMPABLE by default
  Do not set PR_SET_DUMPABLE by default

6 years agoDo not set PR_SET_DUMPABLE by default
Jakub Zelenka [Fri, 16 Mar 2018 20:23:24 +0000 (20:23 +0000)]
Do not set PR_SET_DUMPABLE by default

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Anatol Belski [Tue, 27 Mar 2018 12:19:22 +0000 (14:19 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Do not set PR_SET_DUMPABLE by default

6 years agoDo not set PR_SET_DUMPABLE by default
Jakub Zelenka [Wed, 7 Mar 2018 18:12:56 +0000 (18:12 +0000)]
Do not set PR_SET_DUMPABLE by default

6 years agoFix datatypes
Anatol Belski [Mon, 26 Mar 2018 13:08:22 +0000 (15:08 +0200)]
Fix datatypes

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 26 Mar 2018 11:39:30 +0000 (13:39 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix phpize build when DEFINE() is involved

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 26 Mar 2018 11:38:55 +0000 (13:38 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix phpize build when DEFINE() is involved

6 years agoFix phpize build when DEFINE() is involved
Anatol Belski [Mon, 26 Mar 2018 11:33:55 +0000 (13:33 +0200)]
Fix phpize build when DEFINE() is involved

6 years agoAdd support for rl_completion_suppress_append and rl_completion_append_character
Tim Bazuin [Tue, 29 Aug 2017 08:43:04 +0000 (10:43 +0200)]
Add support for rl_completion_suppress_append and rl_completion_append_character

These options are only available with libreadline.

6 years agoRemove redundant warning in array_push() and array_unshift()
timurib [Sun, 7 Jan 2018 15:10:12 +0000 (18:10 +0300)]
Remove redundant warning in array_push() and array_unshift()

Cf. https://github.com/php/php-src/pull/3011.

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sun, 25 Mar 2018 11:00:48 +0000 (13:00 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Sync version for VC++ 15.7

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sun, 25 Mar 2018 10:59:59 +0000 (12:59 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync version for VC++ 15.7

6 years agoSync version for VC++ 15.7
Anatol Belski [Sun, 25 Mar 2018 10:58:00 +0000 (12:58 +0200)]
Sync version for VC++ 15.7

6 years agoFix #69948: path/domain are not sanitized in setcookie
Christoph M. Becker [Sat, 10 Mar 2018 16:28:32 +0000 (17:28 +0100)]
Fix #69948: path/domain are not sanitized in setcookie

For improved security, characters not allowed for name and value should
also be forbidden for path and domain.

6 years agoImplement #51368: php_filter_float does not allow custom thousand separators
Christoph M. Becker [Sun, 11 Mar 2018 12:04:44 +0000 (13:04 +0100)]
Implement #51368: php_filter_float does not allow custom thousand separators

A set of hard-coded thousand separator characters (presently, `',.`) is
somewhat limited (users may prefer other separators, such as spaces or
underscores), as well as somewhat too liberal (arbitrary combinations
of different thousand separators are presently possible).  Therefore we
introduce a `thousand` option analogous to `decimal`, which allows to
define the desired thousand separators as non-empty string, defaulting
to `',.`.  While we easily could support empty strings here as well,
that would not make much sense, since this behavior can more easily be
accomplished by not setting the `FILTER_FLAG_ALLOW_THOUSAND` flag in
the first place.

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 24 Mar 2018 12:16:31 +0000 (13:16 +0100)]
Merge branch 'PHP-7.2'

6 years agoFollowup fix for bug #75729
Nikita Popov [Sat, 24 Mar 2018 12:15:59 +0000 (13:15 +0100)]
Followup fix for bug #75729

The case of overloaded substr() with 3 arguments was not handled.

6 years agoUpdated to version 2018.4 (2018d)
Derick Rethans [Sat, 24 Mar 2018 11:26:17 +0000 (11:26 +0000)]
Updated to version 2018.4 (2018d)

6 years agoEmpty merge
Derick Rethans [Sat, 24 Mar 2018 11:26:17 +0000 (11:26 +0000)]
Empty merge

6 years agoUpdated to version 2018.4 (2018d)
Derick Rethans [Sat, 24 Mar 2018 11:26:16 +0000 (11:26 +0000)]
Updated to version 2018.4 (2018d)

6 years agoEmpty merge
Derick Rethans [Sat, 24 Mar 2018 11:26:16 +0000 (11:26 +0000)]
Empty merge

6 years agoUpdated to version 2018.4 (2018d)
Derick Rethans [Sat, 24 Mar 2018 11:26:15 +0000 (11:26 +0000)]
Updated to version 2018.4 (2018d)

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Fri, 23 Mar 2018 21:04:18 +0000 (22:04 +0100)]
Merge branch 'PHP-7.2'

6 years agoFixed bug #75722: Rework valgrind detection
Michael Heimpold [Wed, 14 Feb 2018 13:46:17 +0000 (14:46 +0100)]
Fixed bug #75722: Rework valgrind detection

As described in bug report #75722, the configure script (acinclude.m4)
currently searches for the valgrind header file and enables valgrind
support if found.

When cross-compiling the searched paths are invalid for the target
platform because they belong to the host system. At the moment, there is
no way to tell the build system a dedicated path where to look for the
header file.

This leads to the issue, that when cross-compiling eg. for ARMv5 platform,
that valgrind header file is detected - e.g. because host system is amd64 -
and support is enabled - but target platform will never support valgrind
(valgrind requires e.g. at least ARMv7).

This change reworks the detection so that user could manually opt-in
valgrind support and optionally specify a directory where the build system
should look for the header file using the --with-valgrind option.

6 years agoFix expat_compat.h path used in #include
Tom Van Looy [Tue, 20 Feb 2018 18:57:48 +0000 (19:57 +0100)]
Fix expat_compat.h path used in #include

Using ext/xml/expat_compat.h does not work if the extension is
compiled out-of-tree.

6 years agoSmall improvements to run-tests
Gabriel Caruso [Tue, 27 Feb 2018 05:05:31 +0000 (02:05 -0300)]
Small improvements to run-tests

* substr instead of preg_match
* cast instead of settype
* remove $borked and check if $bork_info isn't null to report borked
tests
* remove some error control operators

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Fri, 23 Mar 2018 20:14:58 +0000 (21:14 +0100)]
Merge branch 'PHP-7.2'

6 years agomain/php_ini.c: build empty php_load_zend_extension_cb() when !HAVE_LIBDL
Thomas Petazzoni [Mon, 26 Feb 2018 18:30:55 +0000 (19:30 +0100)]
main/php_ini.c: build empty php_load_zend_extension_cb() when !HAVE_LIBDL

Commit 0782a7fc6314c8bd3cbfd57f12d0479bf9cc8dc7 ("Fixed bug #74866
extension_dir = "./ext" now use current directory for base") modified
the php_load_zend_extension_cb() function to use php_load_shlib(), and
pass a handle to the newly introduced zend_load_extension_handle()
function instead of passing the extension path to
zend_load_extension().

While doing so, it introduced a call to php_load_shlib() from code
that is built even when HAVE_LIBDL is not defined. However,
php_load_shlib() is not implemented when HAVE_LIBDL is not defined,
for obvious reasons.

It turns out that zend_load_extension_handle() anyway doesn't do
anything when ZEND_EXTENSIONS_SUPPORT is defined to 0, and
ZEND_EXTENSIONS_SUPPORT is not defined when HAVE_LIBDL is not defined
(Zend/zend_portability.h).

Fixes the following build failure when building on a system that
doesn't have libdl:

main/php_ini.o: In function `php_load_zend_extension_cb':
php_ini.c:(.text+0x478): undefined reference to `php_load_shlib'
php_ini.c:(.text+0x4b0): undefined reference to `php_load_shlib'
collect2: error: ld returned 1 exit status

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDon't use optimize pragmas with clang
David Carlier [Sat, 10 Mar 2018 08:03:12 +0000 (08:03 +0000)]
Don't use optimize pragmas with clang

6 years agoFix typo in crc32.h
Khan M Rashedun-Naby [Sat, 17 Mar 2018 11:46:01 +0000 (17:46 +0600)]
Fix typo in crc32.h

6 years agoDrop double CHECK_NULL_PATH check for PHARs
Niklas Keller [Wed, 21 Mar 2018 13:35:26 +0000 (14:35 +0100)]
Drop double CHECK_NULL_PATH check for PHARs

6 years agoUse ZEND_ARG_ARRAY_INFO in DateTime*::__set_state
Gabriel Caruso [Sat, 10 Mar 2018 23:20:27 +0000 (20:20 -0300)]
Use ZEND_ARG_ARRAY_INFO in DateTime*::__set_state

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Fri, 23 Mar 2018 17:57:16 +0000 (18:57 +0100)]
Merge branch 'PHP-7.2'

6 years agoAdd missing skip prefix for some SKIPIF messages
atvoicu [Wed, 21 Mar 2018 21:45:14 +0000 (14:45 -0700)]
Add missing skip prefix for some SKIPIF messages

6 years agoRemove "hot" mark from JMP(Z|NZ|ZNZ) with IS_CONST operand
Dmitry Stogov [Fri, 23 Mar 2018 13:11:27 +0000 (16:11 +0300)]
Remove "hot" mark from JMP(Z|NZ|ZNZ) with IS_CONST operand

6 years agoFixed bug #75982 ($_SERVER mostly empty with default variables_order GPCS on FastCGI...
Dmitry Stogov [Fri, 23 Mar 2018 12:17:10 +0000 (15:17 +0300)]
Fixed bug #75982 ($_SERVER mostly empty with default variables_order GPCS on FastCGI/CGI)

6 years agoMark few more opcode handlers as "hot".
Dmitry Stogov [Fri, 23 Mar 2018 10:59:47 +0000 (13:59 +0300)]
Mark few more opcode handlers as "hot".

6 years ago[ci skip] Add normalizer_get_raw_decomposition to UPGRADING
Paul Crovella [Fri, 23 Mar 2018 06:03:36 +0000 (23:03 -0700)]
[ci skip] Add normalizer_get_raw_decomposition to UPGRADING

6 years agoAdd normalizer_get_raw_decomposition function
Paul Crovella [Wed, 21 Mar 2018 00:33:23 +0000 (17:33 -0700)]
Add normalizer_get_raw_decomposition function

Implements #76111 https://bugs.php.net/bug.php?id=76111

6 years agoOptimize zend_hash_real_init()
Dmitry Stogov [Thu, 22 Mar 2018 21:13:45 +0000 (00:13 +0300)]
Optimize zend_hash_real_init()

6 years agoFixed a behavior break introduced by d7f2dc4ec651628e10213625db6aee3559e214a9
Dmitry Stogov [Thu, 22 Mar 2018 13:37:34 +0000 (16:37 +0300)]
Fixed a behavior break introduced by d7f2dc4ec651628e10213625db6aee3559e214a9

6 years agoMake ZEND_ISSET_ISEMPTY_CV specialised across ISSET/ISEMPTY and HOT (the handler...
Dmitry Stogov [Thu, 22 Mar 2018 10:03:45 +0000 (13:03 +0300)]
Make ZEND_ISSET_ISEMPTY_CV specialised across ISSET/ISEMPTY and HOT (the handler is really small, so inlining affects executor size insignificantly)

6 years agoAllow extra specialisation for ISSET/ISEMPTY handlers
Dmitry Stogov [Thu, 22 Mar 2018 10:02:49 +0000 (13:02 +0300)]
Allow extra specialisation for ISSET/ISEMPTY handlers

6 years agoFixed expectation
Dmitry Stogov [Thu, 22 Mar 2018 09:48:22 +0000 (12:48 +0300)]
Fixed expectation

6 years agoReduce overhead of extra-specialization for opcode handler selection.
Dmitry Stogov [Thu, 22 Mar 2018 08:33:17 +0000 (11:33 +0300)]
Reduce overhead of extra-specialization for opcode handler selection.

6 years agoImprove HashTable iterators handling:
Dmitry Stogov [Wed, 21 Mar 2018 23:41:49 +0000 (02:41 +0300)]
Improve HashTable iterators handling:
- Avoid iterators check/update on each HashTable update opration
- Keep position equal (or above) nNumUsed instead of HT_INVALID_IDX
- Fixed iterators handling in array_unshift()

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

* PHP-7.2:
  Update SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 21 Mar 2018 12:17:44 +0000 (13:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update SDK version for AppVeyor

6 years agoUpdate SDK version for AppVeyor
Anatol Belski [Wed, 21 Mar 2018 12:15:29 +0000 (13:15 +0100)]
Update SDK version for AppVeyor

6 years agoMicro optimization
Dmitry Stogov [Wed, 21 Mar 2018 09:39:56 +0000 (12:39 +0300)]
Micro optimization

6 years agoMicro optimization
Dmitry Stogov [Wed, 21 Mar 2018 08:57:54 +0000 (11:57 +0300)]
Micro optimization