]>
granicus.if.org Git - php/log
Andrey Hristov [Fri, 4 Jan 2019 09:37:54 +0000 (11:37 +0200)]
Revert visibility
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...
Nikita Popov [Fri, 4 Jan 2019 10:03:03 +0000 (11:03 +0100)]
Fix intl build
class is a reserved keyword in C++...
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.
Nikita Popov [Fri, 4 Jan 2019 08:53:36 +0000 (09:53 +0100)]
Merge branch '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
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.
Nikita Popov [Fri, 4 Jan 2019 08:08:19 +0000 (09:08 +0100)]
Merge branch 'PHP-7.3'
[ci skip]
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]
Nikita Popov [Thu, 3 Jan 2019 09:26:17 +0000 (10:26 +0100)]
Merge branch 'PHP-7.3'
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.
Nikita Popov [Thu, 3 Jan 2019 08:40:49 +0000 (09:40 +0100)]
Merge branch '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
Nikita Popov [Thu, 3 Jan 2019 08:40:07 +0000 (09:40 +0100)]
Fixed bug #77273
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.
Nikita Popov [Wed, 2 Jan 2019 13:14:07 +0000 (14:14 +0100)]
Merge branch 'PHP-7.3'
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.
Nikita Popov [Wed, 2 Jan 2019 12:00:29 +0000 (13:00 +0100)]
Merge branch 'PHP-7.3'
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.
Nikita Popov [Wed, 2 Jan 2019 10:34:24 +0000 (11:34 +0100)]
Merge branch '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
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.
Andrey Hristov [Wed, 2 Jan 2019 10:30:12 +0000 (12:30 +0200)]
Test commit
Nikita Popov [Wed, 2 Jan 2019 10:21:30 +0000 (11:21 +0100)]
Merge branch 'PHP-7.3'
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
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.
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
Anatol Belski [Wed, 2 Jan 2019 10:02:29 +0000 (11:02 +0100)]
Update NEWS
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
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
Nikita Popov [Wed, 2 Jan 2019 08:56:12 +0000 (09:56 +0100)]
Fix ZEND_NORMALIZE_BOOL usage
Typo introduced in
cdd8368d6f3f000a2e30a6be9976c5539f10fe85 .
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.
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
Xinchen Hui [Wed, 2 Jan 2019 08:46:41 +0000 (16:46 +0800)]
Entry get lost while merging
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
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
Xinchen Hui [Wed, 2 Jan 2019 08:42:21 +0000 (16:42 +0800)]
Fixed bug #77387 (Recursion detection broken when printing GLOBALS)
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)
Xinchen Hui [Wed, 2 Jan 2019 08:42:05 +0000 (16:42 +0800)]
Fixed bug #77387 (Recursion detection broken when printing GLOBALS)
Nikita Popov [Wed, 2 Jan 2019 08:32:59 +0000 (09:32 +0100)]
Merge branch 'PHP-7.3'
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...
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)
Xinchen Hui [Wed, 2 Jan 2019 07:32:17 +0000 (15:32 +0800)]
Fixed bug #77376 ("undefined function" message no longer includes namespace)
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)
Xinchen Hui [Wed, 2 Jan 2019 04:10:23 +0000 (12:10 +0800)]
Update NEWS
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)
Xinchen Hui [Wed, 2 Jan 2019 04:09:47 +0000 (12:09 +0800)]
Fixed bug #77395 (segfault about array_multisort)
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
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
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 >
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
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
Alexander Kurilo [Mon, 31 Dec 2018 09:19:36 +0000 (12:19 +0300)]
Regenerate certs for openssl tests
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
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
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>
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
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
Anatol Belski [Sat, 29 Dec 2018 16:48:25 +0000 (17:48 +0100)]
Increase timeout for test on AppVeyor
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
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
Anatol Belski [Sat, 29 Dec 2018 15:22:31 +0000 (16:22 +0100)]
Add memory check to the test
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
Anatol Belski [Fri, 28 Dec 2018 15:40:06 +0000 (16:40 +0100)]
[ci skip] Update NEWS
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
Dmitry Stogov [Fri, 28 Dec 2018 12:34:33 +0000 (15:34 +0300)]
Micro optimization
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
Dmitry Stogov [Fri, 28 Dec 2018 12:25:57 +0000 (15:25 +0300)]
Eliminate zend_string_destroy() wrapper in release build
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
Dmitry Stogov [Fri, 28 Dec 2018 08:22:18 +0000 (11:22 +0300)]
Revert HASH_FLAG_INITIALIZED into HASH_FLAG_UNINITIALIZED.
Dmitry Stogov [Thu, 27 Dec 2018 21:14:49 +0000 (00:14 +0300)]
Added missing invalidations.
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.
Dmitry Stogov [Thu, 27 Dec 2018 19:35:37 +0000 (22:35 +0300)]
Removed useless check
Nikita Popov [Thu, 27 Dec 2018 14:34:22 +0000 (15:34 +0100)]
Merge branch 'PHP-7.3'
Lauri Kenttä [Thu, 27 Dec 2018 14:16:29 +0000 (16:16 +0200)]
Fix #77360: class_uses causes segfault
Nikita Popov [Thu, 27 Dec 2018 14:29:51 +0000 (15:29 +0100)]
Merge branch 'PHP-7.3'
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.
Dmitry Stogov [Thu, 27 Dec 2018 07:42:52 +0000 (10:42 +0300)]
Respect static method visibility
Dmitry Stogov [Wed, 26 Dec 2018 23:34:52 +0000 (02:34 +0300)]
Tune ARRAY_KEY_EXISTS opcode handler for speed and code size
Nikita Popov [Wed, 26 Dec 2018 21:26:01 +0000 (22:26 +0100)]
Add performance improvement section to UPGRADING
[ci skip]
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
Nikita Popov [Tue, 21 Aug 2018 06:56:17 +0000 (08:56 +0200)]
Add SCCP support for ZEND_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()
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]
Anatol Belski [Wed, 26 Dec 2018 19:45:19 +0000 (20:45 +0100)]
Update NEWS [ci skip]
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]
Anatol Belski [Wed, 26 Dec 2018 19:07:31 +0000 (20:07 +0100)]
Update NEWS [ci skip]
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]
Anatol Belski [Wed, 26 Dec 2018 19:05:15 +0000 (20:05 +0100)]
Update NEWS [ci skip]
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.
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.
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.
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.
Nikita Popov [Wed, 26 Dec 2018 16:13:21 +0000 (17:13 +0100)]
Merge branch 'PHP-7.3'
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.
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.
Dmitry Stogov [Wed, 26 Dec 2018 15:29:04 +0000 (18:29 +0300)]
Reduce agressive inlining
Dmitry Stogov [Wed, 26 Dec 2018 14:34:03 +0000 (17:34 +0300)]
Removed transparent wrapper
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
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