]>
granicus.if.org Git - php/log
Nikita Popov [Tue, 29 Jan 2019 12:36:26 +0000 (13:36 +0100)]
Remove ability to declare userland case-insensitive constants
This is part of https://wiki.php.net/rfc/case_insensitive_constant_deprecation.
This commit only removes the ability to declare such constants from
userland. Before the functionality can be removed entirely, it's
necessary to figure out the handling of true/false/null first.
Christoph M. Becker [Wed, 30 Jan 2019 00:30:54 +0000 (01:30 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Prepare main branch for PHP 7.2.16
Christoph M. Becker [Wed, 30 Jan 2019 00:30:37 +0000 (01:30 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Prepare main branch for PHP 7.2.16
Christoph M. Becker [Wed, 30 Jan 2019 00:29:05 +0000 (01:29 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Prepare main branch for PHP 7.2.16
Christoph M. Becker [Wed, 30 Jan 2019 00:27:57 +0000 (01:27 +0100)]
Prepare main branch for PHP 7.2.16
Nikita Popov [Tue, 29 Jan 2019 11:40:01 +0000 (12:40 +0100)]
Remove 'e' modifier for mb_ereg_replace()
This was deprecated in PHP 7.1 through
https://wiki.php.net/rfc/deprecate_mb_ereg_replace_eval_option.
Nikita Popov [Tue, 29 Jan 2019 11:14:54 +0000 (12:14 +0100)]
Remove support for legacy constructors
This has been deprecated in PHP 7.0 by
https://wiki.php.net/rfc/remove_php4_constructors.
Nikita Popov [Tue, 29 Jan 2019 12:03:47 +0000 (13:03 +0100)]
Migrate finfo away from legacy ctor
Nikita Popov [Tue, 29 Jan 2019 11:59:43 +0000 (12:59 +0100)]
Migrate SOAP away from legacy constructors
Nikita Popov [Tue, 29 Jan 2019 10:04:20 +0000 (11:04 +0100)]
Remove support for custom assert() function
Deprecated in PHP 7.3 as part of
https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Tue, 29 Jan 2019 10:01:03 +0000 (11:01 +0100)]
Remove FILTER_FLAG_(SCHEME|HOST)_REQUIRED
Deprecated in PHP 7.3 as part of
https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Tue, 29 Jan 2019 09:46:21 +0000 (10:46 +0100)]
Remove (unset) cast
Deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Tue, 29 Jan 2019 09:02:03 +0000 (10:02 +0100)]
Always treat needles as strings
This is part of https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Mon, 28 Jan 2019 16:40:39 +0000 (17:40 +0100)]
Remove fgetss and friends
These were deprecated in PHP 7.3 as part of
https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Mon, 28 Jan 2019 16:19:05 +0000 (17:19 +0100)]
Remove deprecated mbregex aliases
These have been deprecated in PHP 7.3 as part of
https://wiki.php.net/rfc/deprecations_php_7_3.
Nikita Popov [Mon, 28 Jan 2019 16:12:32 +0000 (17:12 +0100)]
Remove each()
This has been deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Mon, 28 Jan 2019 15:35:04 +0000 (16:35 +0100)]
Remove special treatment of strings in asserts
This was deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Tue, 29 Jan 2019 08:40:38 +0000 (09:40 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 29 Jan 2019 08:40:19 +0000 (09:40 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 29 Jan 2019 08:40:06 +0000 (09:40 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 29 Jan 2019 08:39:12 +0000 (09:39 +0100)]
Make special assert() handling independent of compiler flags
Nikita Popov [Mon, 28 Jan 2019 15:36:43 +0000 (16:36 +0100)]
Fix session test after version bump
Nikita Popov [Mon, 28 Jan 2019 15:05:02 +0000 (16:05 +0100)]
Add UPGRADING entries for removed functionality
Nikita Popov [Mon, 28 Jan 2019 12:34:36 +0000 (13:34 +0100)]
Require second argument on (mb_)parse_str()
This was deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Mon, 28 Jan 2019 12:13:24 +0000 (13:13 +0100)]
Remove mbstring.func_overload
Deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Mon, 28 Jan 2019 11:54:46 +0000 (12:54 +0100)]
Remove track_errors and $php_errormsg
This has been deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Mon, 28 Jan 2019 11:41:36 +0000 (12:41 +0100)]
Remove create_function()
Deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Nikita Popov [Mon, 28 Jan 2019 11:24:20 +0000 (12:24 +0100)]
Remove deprecated gmp_random() function
Deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Joe Watkins [Mon, 28 Jan 2019 14:54:55 +0000 (15:54 +0100)]
bump versions of all the things
Christoph M. Becker [Mon, 28 Jan 2019 14:18:01 +0000 (15:18 +0100)]
Remove deprecated INTL_IDNA_VARIANT_2003
Cf. <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003>
Christoph M. Becker [Mon, 28 Jan 2019 13:50:52 +0000 (14:50 +0100)]
Remove deprecated png2wbmp() and jpeg2wbmp()
Cf. <https://wiki.php.net/rfc/deprecate-png-jpeg-2wbmp>
Christoph M. Becker [Mon, 28 Jan 2019 13:29:06 +0000 (14:29 +0100)]
Remove deprecated image2wbmp()
Cf. <https://wiki.php.net/rfc/image2wbmp>.
Nikita Popov [Mon, 28 Jan 2019 10:29:17 +0000 (11:29 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 28 Jan 2019 10:26:45 +0000 (11:26 +0100)]
Avoid mention of php7 in credits script
Nikita Popov [Mon, 28 Jan 2019 09:43:42 +0000 (10:43 +0100)]
Bump API numbers
These are of course not the final API numbers, but let's make sure
they differ from the 7.4 branch for now.
Nikita Popov [Mon, 28 Jan 2019 09:39:32 +0000 (10:39 +0100)]
Upgrade branches in GIT-RULES
Nikita Popov [Mon, 28 Jan 2019 09:34:31 +0000 (10:34 +0100)]
Clear NEWS, UPGRADING and UPGRADING.INTERNALS
Nikita Popov [Mon, 28 Jan 2019 08:23:53 +0000 (09:23 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Mon, 28 Jan 2019 08:22:49 +0000 (09:22 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
ekinhbayar [Mon, 28 Jan 2019 06:46:29 +0000 (09:46 +0300)]
Fixed bug #77530: PHP crashes when parsing "(2)::class"
Nikita Popov [Sun, 27 Jan 2019 19:50:08 +0000 (20:50 +0100)]
Fix assign to self detection
rjhdby [Sat, 26 Jan 2019 11:10:03 +0000 (14:10 +0300)]
zend_compile.c: zend_is_variable(). Removed unnecessary checks. Naming according to internal logic.
Jakub Zelenka [Fri, 25 Jan 2019 14:16:57 +0000 (14:16 +0000)]
Merge branch 'PHP-7.3'
Jakub Zelenka [Fri, 25 Jan 2019 14:16:08 +0000 (14:16 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Thu, 17 Jan 2019 18:05:13 +0000 (18:05 +0000)]
Fix bug #77390 (feof might hang on TLS streams in case of fragmented TLS records)
Simplified version of the fix from Abyl Valg so credit to him.
Jakub Zelenka [Wed, 16 Jan 2019 18:14:30 +0000 (18:14 +0000)]
Update and integrate openssl client proxy test
Abyr Valg [Sun, 29 Apr 2018 09:05:59 +0000 (12:05 +0300)]
Add a test for fragmented SSL packets
Dmitry Stogov [Fri, 25 Jan 2019 10:36:32 +0000 (13:36 +0300)]
Don't hide real peak usage.
Nikita Popov [Fri, 25 Jan 2019 10:12:34 +0000 (11:12 +0100)]
Fixed bug #77518
Nikita Popov [Fri, 25 Jan 2019 10:03:29 +0000 (11:03 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Fri, 25 Jan 2019 10:00:35 +0000 (11:00 +0100)]
Fixed bug #77498
I've renamed the function to the same name as the exported symbol
in master.
Dmitry Stogov [Fri, 25 Jan 2019 08:53:31 +0000 (11:53 +0300)]
Fixed crash
Nikita Popov [Thu, 24 Jan 2019 15:11:35 +0000 (16:11 +0100)]
Remove unused prototype in mbstring
Reported by legale.
Andreas Treichel [Sat, 29 Dec 2018 21:10:19 +0000 (22:10 +0100)]
Allow strip_tags with an array of allowed tagnames
Dmitry Stogov [Thu, 24 Jan 2019 15:01:24 +0000 (18:01 +0300)]
Reduce amount of updated memory
Dmitry Stogov [Thu, 24 Jan 2019 15:00:45 +0000 (18:00 +0300)]
Fixed crash
Nikita Popov [Thu, 24 Jan 2019 14:14:09 +0000 (15:14 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Thu, 24 Jan 2019 14:13:49 +0000 (15:13 +0100)]
Fixed bug #77514
Dmitry Stogov [Thu, 24 Jan 2019 13:01:04 +0000 (16:01 +0300)]
Delay hash table allocation
Dmitry Stogov [Thu, 24 Jan 2019 12:59:33 +0000 (15:59 +0300)]
Disallow PHP startup, in case some ext ext/standard sub-module is not initialized sucessfully.
Nikita Popov [Thu, 24 Jan 2019 12:45:48 +0000 (13:45 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Thu, 24 Jan 2019 12:45:40 +0000 (13:45 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 24 Jan 2019 12:45:27 +0000 (13:45 +0100)]
Merge remote-tracking branch 'php-src/PHP-7.2' into PHP-7.2
Nikita Popov [Thu, 24 Jan 2019 12:40:54 +0000 (13:40 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Thu, 24 Jan 2019 12:40:36 +0000 (13:40 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 24 Jan 2019 12:36:47 +0000 (13:36 +0100)]
Revert "Prefix error_code with underscore in FastZPP implementation"
This reverts commit
6305119a5193d4318add01190ca4afbb49ded102 .
This is a source-compatibility break for extensions that define
custom FastZPP macros, such as ext/uv:
https://github.com/bwoebi/php-uv/blob/
a983eb17b69f74a45d785ddc6a7bff3d4531b88c /php_uv.c#L75
I don't think that FastZPP was intended to be used this way, but
let's revert this from release branches to avoid extension breakage.
Christoph M. Becker [Thu, 24 Jan 2019 12:09:18 +0000 (13:09 +0100)]
Improve wording
As suggested by Tom Sommer[1].
[1] <https://github.com/php/php-src/commit/
8a4c2f16217fb8f8d098355f3943f31e82bcfd71 #r32037340>
Christoph M. Becker [Thu, 24 Jan 2019 11:41:53 +0000 (12:41 +0100)]
Fix README.RELEASE_PROCESS
According to current practice, and as discussed with other RMs.
Dmitry Stogov [Thu, 24 Jan 2019 10:08:00 +0000 (13:08 +0300)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fixed bug #77494 (Disabling class causes segfault on member access)
Dmitry Stogov [Thu, 24 Jan 2019 10:07:31 +0000 (13:07 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fixed bug #77494 (Disabling class causes segfault on member access)
Dmitry Stogov [Thu, 24 Jan 2019 10:06:36 +0000 (13:06 +0300)]
Fixed bug #77494 (Disabling class causes segfault on member access)
Nikita Popov [Thu, 24 Jan 2019 09:58:24 +0000 (10:58 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Thu, 24 Jan 2019 09:57:45 +0000 (10:57 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 24 Jan 2019 09:56:04 +0000 (10:56 +0100)]
Add flag to disable jumptable optimization
This is useful for coverage. While it is currently safe to just
skip over the SWITCH_* opcodes, this may not be true in the future
due to opcache optimizations, so it's safer to disable emission of
SWITCH_* opcodes entirely.
Gabriel Caruso [Mon, 24 Dec 2018 16:27:53 +0000 (14:27 -0200)]
Make more tests run os MacOS
Nikita Popov [Tue, 22 Jan 2019 17:07:46 +0000 (18:07 +0100)]
Remove the "o" serialization format
We never generate the "o" format during serialization, so let's not
keep this unnecessary attack surface around.
Christoph M. Becker [Tue, 22 Jan 2019 13:06:34 +0000 (14:06 +0100)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Prepare main branch for PHP 7.3.3
Christoph M. Becker [Tue, 22 Jan 2019 13:04:03 +0000 (14:04 +0100)]
Prepare main branch for PHP 7.3.3
Nikita Popov [Tue, 22 Jan 2019 11:28:44 +0000 (12:28 +0100)]
Merge branch 'PHP-7.3'
Nikita Popov [Tue, 22 Jan 2019 11:15:06 +0000 (12:15 +0100)]
Fixed bug #77287
There may be an EXT_NOP opcode before the parameter list, we should
skip over it.
Nikita Popov [Tue, 15 Jan 2019 16:04:24 +0000 (17:04 +0100)]
Implement ??= operator
RFC: https://wiki.php.net/rfc/null_coalesce_equal_operator
$a ??= $b is $a ?? ($a = $b), with the difference that $a is only
evaluated once, to the degree that this is possible. In particular
in $a[foo()] ?? $b function foo() is only ever called once.
However, the variable access themselves will be reevaluated.
Nikita Popov [Wed, 16 Jan 2019 15:23:52 +0000 (16:23 +0100)]
Make tokenizer test robust against token renumbering
Dmitry Stogov [Mon, 21 Jan 2019 23:11:50 +0000 (02:11 +0300)]
Most opcodes that don't consume their OP1 operand, must be terminated with real consumer, and don't have to be checked.
These checks are replaced by ZEND_ASSERT.
Dmitry Stogov [Mon, 21 Jan 2019 22:33:35 +0000 (01:33 +0300)]
Use SSA instead of bogus reverse linear scan.
Dmitry Stogov [Mon, 21 Jan 2019 20:34:09 +0000 (23:34 +0300)]
Fixed odd ROPE_ADD instruction placement.
Christoph M. Becker [Mon, 21 Jan 2019 19:23:53 +0000 (20:23 +0100)]
[ci skip] List FFI extension
Dmitry Stogov [Mon, 21 Jan 2019 19:18:07 +0000 (22:18 +0300)]
Use ZEND_FUNC_FREE_LOOP_VAR flag to avoid useless iterations.
Christoph M. Becker [Mon, 21 Jan 2019 16:55:53 +0000 (17:55 +0100)]
[ci skip] Add opcache.preload directive
Dmitry Stogov [Mon, 21 Jan 2019 15:17:10 +0000 (18:17 +0300)]
Avoid double live ranges recalculation.
Christoph M. Becker [Mon, 21 Jan 2019 14:58:02 +0000 (15:58 +0100)]
[ci skip] Note preloading and ext/ffi in UPGRADING
Christoph M. Becker [Mon, 21 Jan 2019 14:22:48 +0000 (15:22 +0100)]
Remove superfluous variable
This has been missed when libsqlite3 has been unbundled.
Dmitry Stogov [Mon, 21 Jan 2019 14:25:24 +0000 (17:25 +0300)]
Live ranges construction optimization
Christoph M. Becker [Mon, 21 Jan 2019 13:01:34 +0000 (14:01 +0100)]
Use pkg-config to detect and configure for system libgd
Formerly, a single option `--with-gd` was sufficient to enable the
extension, and to determine whether to use the system or the bundled
libgd depending on whether a directory was passed. Since pkg-config
determines the path automatically, we now offer `--enable-gd` (whether
the extension should be build) and `--with-external-gd` (whether to use
the system libgd).
Nikita Popov [Thu, 17 Jan 2019 15:07:17 +0000 (16:07 +0100)]
Implement single-pass live range calculation
Instead of interleaving creation of live-ranges with the main
compiler code, compute them in a separate pass over the opcodes
as part of pass_two. Additionally, do not keep live ranges
synchronized during optimization in opcache and instead use the
same mechanism to recompute them after optimization.
George Wang [Sun, 20 Jan 2019 20:11:58 +0000 (15:11 -0500)]
Merge branch 'PHP-7.3'
George Wang [Sun, 20 Jan 2019 20:11:37 +0000 (15:11 -0500)]
Merge branch 'PHP-7.2' into PHP-7.3
George Wang [Sun, 20 Jan 2019 20:10:19 +0000 (15:10 -0500)]
Checkin LiteSpeed SAPI 7.2.
Anatol Belski [Sun, 20 Jan 2019 15:00:46 +0000 (16:00 +0100)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Update NEWS [ci skip]
Update NEWS [ci skip]
Anatol Belski [Sun, 20 Jan 2019 15:00:25 +0000 (16:00 +0100)]
Update NEWS [ci skip]
Anatol Belski [Sun, 20 Jan 2019 14:59:08 +0000 (15:59 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update NEWS [ci skip]