]> granicus.if.org Git - php/log
php
6 years agoRevert visibility
Andrey Hristov [Fri, 4 Jan 2019 09:37:54 +0000 (11:37 +0200)]
Revert visibility

6 years agoDon't replace self::class with __CLASS__ during const eval
Nikita Popov [Fri, 4 Jan 2019 10:16:59 +0000 (11:16 +0100)]
Don't replace self::class with __CLASS__ during const eval

Instead delay this until const expression compilation. Otherwise
self::class and [self::class] have different behavior...

6 years agoFix intl build
Nikita Popov [Fri, 4 Jan 2019 10:03:03 +0000 (11:03 +0100)]
Fix intl build

class is a reserved keyword in C++...

6 years agoIntroduce separate ZEND_AST_CLASS_NAME AST node
Nikita Popov [Fri, 4 Jan 2019 09:49:23 +0000 (10:49 +0100)]
Introduce separate ZEND_AST_CLASS_NAME AST node

Instead of representing this as a ZEND_AST_CLASS_CONST with a
"class" constant name.

Class constants and ::class are unrelated features that happen to
share syntax, so represent and handle them separately.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Fri, 4 Jan 2019 08:53:36 +0000 (09:53 +0100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 4 Jan 2019 08:53:30 +0000 (09:53 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix self::class inside constant in global scope
Nikita Popov [Fri, 4 Jan 2019 08:52:04 +0000 (09:52 +0100)]
Fix self::class inside constant in global scope

Previously this triggered an assertion failure. The behavior is
not quite correct, in that self::class should generate an exception
if there is no self, but returns an empty string here. Fixing that
would be a bit too intrusive for the 7.2 branch.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Fri, 4 Jan 2019 08:08:19 +0000 (09:08 +0100)]
Merge branch 'PHP-7.3'

[ci skip]

6 years agoAdd NEWS entry for bug #77357
Nikita Popov [Fri, 4 Jan 2019 08:07:32 +0000 (09:07 +0100)]
Add NEWS entry for bug #77357

The fix has been confirmed.

[ci skip]

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Thu, 3 Jan 2019 09:26:17 +0000 (10:26 +0100)]
Merge branch 'PHP-7.3'

6 years agoPossible fix for bug #77357
Nikita Popov [Thu, 3 Jan 2019 09:24:48 +0000 (10:24 +0100)]
Possible fix for bug #77357

Don't invoke CPUID with feature levels above the supported maximum.
In this case CPUID will return the highest supported basic information
leaf, which will have unrelated bits in the relevant positions.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Thu, 3 Jan 2019 08:40:49 +0000 (09:40 +0100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 3 Jan 2019 08:40:14 +0000 (09:40 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #77273
Nikita Popov [Thu, 3 Jan 2019 08:40:07 +0000 (09:40 +0100)]
Fixed bug #77273

6 years agoFix undefined function error message
Nikita Popov [Wed, 2 Jan 2019 14:41:38 +0000 (15:41 +0100)]
Fix undefined function error message

This got fixed on 7.3, but the implementation is slightly different
on master and the new test was failing.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Wed, 2 Jan 2019 13:14:07 +0000 (14:14 +0100)]
Merge branch 'PHP-7.3'

6 years agoPossible fix for bug #77287
Nikita Popov [Wed, 2 Jan 2019 12:58:44 +0000 (13:58 +0100)]
Possible fix for bug #77287

The cache size could be off by 4, if we're on a 32-bit system and
the slot had to be bumped for alignment reasons.

I wasn't able to reproduce the issue reported in bug #77287, but I
think this might be the cause.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Wed, 2 Jan 2019 12:00:29 +0000 (13:00 +0100)]
Merge branch 'PHP-7.3'

6 years agoDisable ifuncs on FreeBSD
Nikita Popov [Wed, 2 Jan 2019 11:59:22 +0000 (12:59 +0100)]
Disable ifuncs on FreeBSD

Intended as at least a preliminary fix for bug #77284. If/when we
figure out what exactly the issue is, we can relax this.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Wed, 2 Jan 2019 10:34:24 +0000 (11:34 +0100)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 2 Jan 2019 10:34:15 +0000 (11:34 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoPartial fix for bug #75426
Nikita Popov [Wed, 2 Jan 2019 10:32:48 +0000 (11:32 +0100)]
Partial fix for bug #75426

This does not print the exact line of the comma, but rather the line
of the previous element. This should generally be "good enough", as
the line number is close (off by one) to the actual issue now.
Previously it would point to the start of the array, which may be
very far away.

6 years agoTest commit
Andrey Hristov [Wed, 2 Jan 2019 10:30:12 +0000 (12:30 +0200)]
Test commit

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Wed, 2 Jan 2019 10:21:30 +0000 (11:21 +0100)]
Merge branch 'PHP-7.3'

6 years agoskeleton: support PHP 7.2
Vincent JARDIN [Tue, 1 Jan 2019 23:06:29 +0000 (00:06 +0100)]
skeleton: support PHP 7.2

skeleton can still be leveraged with older PHP releases, including
PHP 7.2.

I wanted to add this capability since PHP 7.2 is still widely provided
with most Linux distributions.

I am using ext_skel.php on a vanilla Ubuntu 18.04 and Windows
in order to illustrate how to develop a PHP extension for both
OS using the default tools provided by the distributions.
  see: https://github.com/vjardin/php-bonjour

6 years agoUse ZEND_PARSE_PARAMETERS_NONE in pcre
Nikita Popov [Wed, 2 Jan 2019 10:17:38 +0000 (11:17 +0100)]
Use ZEND_PARSE_PARAMETERS_NONE in pcre

Instead of the manual ZEND_PARSE_PARAMETERS_START(0, 0) form.

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 2 Jan 2019 10:03:16 +0000 (11:03 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Update NEWS
  Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility

6 years agoUpdate NEWS
Anatol Belski [Wed, 2 Jan 2019 10:02:29 +0000 (11:02 +0100)]
Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 2 Jan 2019 10:01:34 +0000 (11:01 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility

6 years agoFixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external...
Anatol Belski [Wed, 2 Jan 2019 09:56:35 +0000 (10:56 +0100)]
Fixed bug #75684 In mysqlnd_ext_plugin.h the plugin methods family has no external visibility

6 years agoFix ZEND_NORMALIZE_BOOL usage
Nikita Popov [Wed, 2 Jan 2019 08:56:12 +0000 (09:56 +0100)]
Fix ZEND_NORMALIZE_BOOL usage

Typo introduced in cdd8368d6f3f000a2e30a6be9976c5539f10fe85.

6 years agoDrop _ex from zend_compile_class_ref_ex
Nikita Popov [Wed, 2 Jan 2019 08:48:29 +0000 (09:48 +0100)]
Drop _ex from zend_compile_class_ref_ex

The non-ex version no longer exists.

6 years agoMerge branch 'PHP-7.3'
Xinchen Hui [Wed, 2 Jan 2019 08:46:56 +0000 (16:46 +0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Entry get lost while merging

6 years agoEntry get lost while merging
Xinchen Hui [Wed, 2 Jan 2019 08:46:41 +0000 (16:46 +0800)]
Entry get lost while merging

6 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Wed, 2 Jan 2019 08:46:02 +0000 (16:46 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src:
  Fixed bug #77257

6 years agoMerge branch 'PHP-7.3' of git.php.net:/php-src into PHP-7.3
Xinchen Hui [Wed, 2 Jan 2019 08:45:38 +0000 (16:45 +0800)]
Merge branch 'PHP-7.3' of git.php.net:/php-src into PHP-7.3

* 'PHP-7.3' of git.php.net:/php-src:
  Fixed bug #77257

6 years agoFixed bug #77387 (Recursion detection broken when printing GLOBALS)
Xinchen Hui [Wed, 2 Jan 2019 08:42:21 +0000 (16:42 +0800)]
Fixed bug #77387 (Recursion detection broken when printing GLOBALS)

6 years agoMerge branch 'PHP-7.3'
Xinchen Hui [Wed, 2 Jan 2019 08:42:13 +0000 (16:42 +0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #77387 (Recursion detection broken when printing GLOBALS)

6 years agoFixed bug #77387 (Recursion detection broken when printing GLOBALS)
Xinchen Hui [Wed, 2 Jan 2019 08:42:05 +0000 (16:42 +0800)]
Fixed bug #77387 (Recursion detection broken when printing GLOBALS)

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Wed, 2 Jan 2019 08:32:59 +0000 (09:32 +0100)]
Merge branch 'PHP-7.3'

6 years agoFixed bug #77257
Nikita Popov [Wed, 2 Jan 2019 08:31:50 +0000 (09:31 +0100)]
Fixed bug #77257

Correctly handle the case of duplicate predecessors, by removing the
duplicate predecessor and corresponding phi node operands.

For the future, it would be better to instead allow duplicate
predecessors and avoid this kind of fragile code...

6 years agoMerge branch 'PHP-7.3'
Xinchen Hui [Wed, 2 Jan 2019 07:32:29 +0000 (15:32 +0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #77376 ("undefined function" message no longer includes namespace)

6 years agoFixed bug #77376 ("undefined function" message no longer includes namespace)
Xinchen Hui [Wed, 2 Jan 2019 07:32:17 +0000 (15:32 +0800)]
Fixed bug #77376 ("undefined function" message no longer includes namespace)

6 years agoMerge branch 'PHP-7.3'
Xinchen Hui [Wed, 2 Jan 2019 04:10:41 +0000 (12:10 +0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Update NEWS
  Fixed bug #77395 (segfault about array_multisort)

6 years agoUpdate NEWS
Xinchen Hui [Wed, 2 Jan 2019 04:10:23 +0000 (12:10 +0800)]
Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Xinchen Hui [Wed, 2 Jan 2019 04:10:04 +0000 (12:10 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #77395 (segfault about array_multisort)

6 years agoFixed bug #77395 (segfault about array_multisort)
Xinchen Hui [Wed, 2 Jan 2019 04:09:47 +0000 (12:09 +0800)]
Fixed bug #77395 (segfault about array_multisort)

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Mon, 31 Dec 2018 19:52:27 +0000 (20:52 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #77391: 1bpp BMPs may fail to be loaded

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 31 Dec 2018 19:49:35 +0000 (20:49 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #77391: 1bpp BMPs may fail to be loaded

6 years agoFix #77391: 1bpp BMPs may fail to be loaded
Christoph M. Becker [Mon, 31 Dec 2018 19:45:47 +0000 (20:45 +0100)]
Fix #77391: 1bpp BMPs may fail to be loaded

We port the upstream fix[1].

[1] <https://github.com/libgd/libgd/commit/d0859134fcbd8817f87895bd1cb158096568a7a2>

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Mon, 31 Dec 2018 17:28:11 +0000 (18:28 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Regenerate certs for openssl tests

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 31 Dec 2018 17:27:26 +0000 (18:27 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Regenerate certs for openssl tests

6 years agoRegenerate certs for openssl tests
Alexander Kurilo [Mon, 31 Dec 2018 09:19:36 +0000 (12:19 +0300)]
Regenerate certs for openssl tests

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Sun, 30 Dec 2018 13:37:31 +0000 (14:37 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Drop deprecated /Gm compile option

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Sun, 30 Dec 2018 13:37:04 +0000 (14:37 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Drop deprecated /Gm compile option

6 years agoDrop deprecated /Gm compile option
Christoph M. Becker [Fri, 28 Dec 2018 17:12:50 +0000 (18:12 +0100)]
Drop deprecated /Gm compile option

The `/Gm` option of `cl` is deprecated[1], and `cl` claims that it will
be removed in the future, so we're dropping it right away.

[1] <https://docs.microsoft.com/en-us/cpp/build/reference/gm-enable-minimal-rebuild?view=vs-2017>

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sat, 29 Dec 2018 16:52:10 +0000 (17:52 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Increase timeout for test on AppVeyor

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sat, 29 Dec 2018 16:51:39 +0000 (17:51 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Increase timeout for test on AppVeyor

6 years agoIncrease timeout for test on AppVeyor
Anatol Belski [Sat, 29 Dec 2018 16:48:25 +0000 (17:48 +0100)]
Increase timeout for test on AppVeyor

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Sat, 29 Dec 2018 15:23:54 +0000 (16:23 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Add memory check to the test

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sat, 29 Dec 2018 15:23:24 +0000 (16:23 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Add memory check to the test

6 years agoAdd memory check to the test
Anatol Belski [Sat, 29 Dec 2018 15:22:31 +0000 (16:22 +0100)]
Add memory check to the test

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Fri, 28 Dec 2018 15:41:47 +0000 (16:41 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Fri, 28 Dec 2018 15:40:06 +0000 (16:40 +0100)]
[ci skip] Update NEWS

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Fri, 28 Dec 2018 12:35:08 +0000 (15:35 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Fixed bug #77346 webm files incorrectly detected as application/octet-stream

6 years agoMicro optimization
Dmitry Stogov [Fri, 28 Dec 2018 12:34:33 +0000 (15:34 +0300)]
Micro optimization

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Fri, 28 Dec 2018 12:27:31 +0000 (13:27 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #77346 webm files incorrectly detected as application/octet-stream

6 years agoEliminate zend_string_destroy() wrapper in release build
Dmitry Stogov [Fri, 28 Dec 2018 12:25:57 +0000 (15:25 +0300)]
Eliminate zend_string_destroy() wrapper in release build

6 years agoFixed bug #77346 webm files incorrectly detected as application/octet-stream
Anatol Belski [Fri, 28 Dec 2018 12:25:40 +0000 (13:25 +0100)]
Fixed bug #77346 webm files incorrectly detected as application/octet-stream

HEADSUP data from file 5.34 is used from now on

6 years agoRevert HASH_FLAG_INITIALIZED into HASH_FLAG_UNINITIALIZED.
Dmitry Stogov [Fri, 28 Dec 2018 08:22:18 +0000 (11:22 +0300)]
Revert HASH_FLAG_INITIALIZED into HASH_FLAG_UNINITIALIZED.

6 years agoAdded missing invalidations.
Dmitry Stogov [Thu, 27 Dec 2018 21:14:49 +0000 (00:14 +0300)]
Added missing invalidations.

6 years agoUse HT_IS_INITIALIZED() and HT_INVALIDATE() macros instead of hackish HT_FLAGS assumt...
Dmitry Stogov [Thu, 27 Dec 2018 19:48:25 +0000 (22:48 +0300)]
Use HT_IS_INITIALIZED() and HT_INVALIDATE() macros instead of hackish HT_FLAGS assumtions.

6 years agoRemoved useless check
Dmitry Stogov [Thu, 27 Dec 2018 19:35:37 +0000 (22:35 +0300)]
Removed useless check

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Thu, 27 Dec 2018 14:34:22 +0000 (15:34 +0100)]
Merge branch 'PHP-7.3'

6 years agoFix #77360: class_uses causes segfault
Lauri Kenttä [Thu, 27 Dec 2018 14:16:29 +0000 (16:16 +0200)]
Fix #77360: class_uses causes segfault

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Thu, 27 Dec 2018 14:29:51 +0000 (15:29 +0100)]
Merge branch 'PHP-7.3'

6 years agoFix #77359: spl_autoload causes segfault
Lauri Kenttä [Thu, 27 Dec 2018 13:47:33 +0000 (15:47 +0200)]
Fix #77359: spl_autoload causes segfault

Use the correct function to free the string.

6 years agoRespect static method visibility
Dmitry Stogov [Thu, 27 Dec 2018 07:42:52 +0000 (10:42 +0300)]
Respect static method visibility

6 years agoTune ARRAY_KEY_EXISTS opcode handler for speed and code size
Dmitry Stogov [Wed, 26 Dec 2018 23:34:52 +0000 (02:34 +0300)]
Tune ARRAY_KEY_EXISTS opcode handler for speed and code size

6 years agoAdd performance improvement section to UPGRADING
Nikita Popov [Wed, 26 Dec 2018 21:26:01 +0000 (22:26 +0100)]
Add performance improvement section to UPGRADING

[ci skip]

6 years agoFixed ext/spl/tests/bug61347.phpt failure introduced by ZEND_ARRAY_KEY_EXISTS opcode
Dmitry Stogov [Wed, 26 Dec 2018 21:20:20 +0000 (00:20 +0300)]
Fixed ext/spl/tests/bug61347.phpt failure introduced by ZEND_ARRAY_KEY_EXISTS opcode

6 years agoAdd SCCP support for ZEND_ARRAY_KEY_EXISTS
Nikita Popov [Tue, 21 Aug 2018 06:56:17 +0000 (08:56 +0200)]
Add SCCP support for ZEND_ARRAY_KEY_EXISTS

6 years agoImplement ZEND_ARRAY_KEY_EXISTS opcode to speed up array_key_exists()
Michael Moravec [Mon, 2 Jul 2018 21:00:32 +0000 (23:00 +0200)]
Implement ZEND_ARRAY_KEY_EXISTS opcode to speed up array_key_exists()

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 26 Dec 2018 19:46:16 +0000 (20:46 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Wed, 26 Dec 2018 19:45:19 +0000 (20:45 +0100)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 26 Dec 2018 19:08:06 +0000 (20:08 +0100)]
Merge branch 'PHP-7.3'

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

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Wed, 26 Dec 2018 19:07:31 +0000 (20:07 +0100)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 26 Dec 2018 19:06:01 +0000 (20:06 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Wed, 26 Dec 2018 19:05:15 +0000 (20:05 +0100)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 26 Dec 2018 18:03:04 +0000 (19:03 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 26 Dec 2018 18:01:36 +0000 (19:01 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839.

6 years agoInitialize s_un (sockaddr_un) to zero before using it. Fixes #76839.
Michael Meyer [Wed, 5 Sep 2018 14:21:36 +0000 (10:21 -0400)]
Initialize s_un (sockaddr_un) to zero before using it. Fixes #76839.

6 years agoRemove preg_options param from pcre_get_compiled_regex()
Nikita Popov [Wed, 26 Dec 2018 16:20:13 +0000 (17:20 +0100)]
Remove preg_options param from pcre_get_compiled_regex()

This parameter is always zero and not necessary to call pcre2_match.

I'm leaving the parameter behind on the _ex() variant, so the preg_flags
are still accessible in some way.

6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Wed, 26 Dec 2018 16:13:21 +0000 (17:13 +0100)]
Merge branch 'PHP-7.3'

6 years agoFixed bug #77338
Nikita Popov [Wed, 26 Dec 2018 16:11:27 +0000 (17:11 +0100)]
Fixed bug #77338

Set preg_options to 0 in php_pcre_get_compiled_regex(_ex). These
options are intended to be passed to pcre2_match. However, we do
not have any flags that actually need to be set during matching
(all relevant flags are set during compilation), and the preg_flags
value is used for PHP-specific flags instead.

This parameter should be removed entirely in master to avoid confusion.

6 years agoMigrate ext/zlib to use pkg-config
Nikita Popov [Wed, 26 Dec 2018 13:40:30 +0000 (14:40 +0100)]
Migrate ext/zlib to use pkg-config

There are other extensions checking for zlib as well, not quite
sure what to do there with regard to option names.

6 years agoReduce agressive inlining
Dmitry Stogov [Wed, 26 Dec 2018 15:29:04 +0000 (18:29 +0300)]
Reduce agressive inlining

6 years agoRemoved transparent wrapper
Dmitry Stogov [Wed, 26 Dec 2018 14:34:03 +0000 (17:34 +0300)]
Removed transparent wrapper

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 26 Dec 2018 13:19:04 +0000 (14:19 +0100)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Update binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 26 Dec 2018 13:17:56 +0000 (14:17 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update binary SDK version for AppVeyor