]>
granicus.if.org Git - php/log
Nikita Popov [Wed, 30 Jan 2019 14:54:35 +0000 (15:54 +0100)]
Remove $errcontext argument to error handlers
I'm removing the argument entirely here, but we might want to change
this to passing null or and empty array instead, if the impact of
dropping it entirely turns out to be too large.
This was deprecated as part of https://wiki.php.net/rfc/deprecations_php_7_2
as a doc-only deprecation.
Nikita Popov [Tue, 5 Feb 2019 11:43:13 +0000 (12:43 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 5 Feb 2019 11:42:00 +0000 (12:42 +0100)]
Some more test removals
Noticed these while implementing error handler changes.
Nikita Popov [Tue, 5 Feb 2019 08:41:08 +0000 (09:41 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Feb 2019 11:57:55 +0000 (12:57 +0100)]
Remove zpp variation tests
Dmitry Stogov [Tue, 5 Feb 2019 07:33:57 +0000 (10:33 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove copyright years.
Dmitry Stogov [Tue, 5 Feb 2019 07:33:28 +0000 (10:33 +0300)]
Remove copyright years.
Christoph M. Becker [Mon, 4 Feb 2019 13:34:52 +0000 (14:34 +0100)]
Fix type confusion
Markus Staab [Mon, 4 Feb 2019 10:53:21 +0000 (11:53 +0100)]
fixed typo in UPGRADING.INTERNALS
Côme Chilliet [Mon, 4 Feb 2019 12:04:46 +0000 (13:04 +0100)]
Removed ldap_sort and LDAP_DEPRECATED build flag
ldap_sort was deprecated in PHP7, it is now removed.
This allows removing the LDAP_DEPRECATED flag when building against
openldap.
Côme Chilliet [Mon, 4 Feb 2019 11:21:18 +0000 (12:21 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Mark ldap_control_paged_result and ldap_control_paged_result_response as deprecated
Côme Chilliet [Mon, 4 Feb 2019 11:09:51 +0000 (12:09 +0100)]
Mark ldap_control_paged_result and ldap_control_paged_result_response as deprecated
These functions have serious limitations and may confuse users.
Same operations can be done using the new ldap control system in search
operations.
Dmitry Stogov [Mon, 4 Feb 2019 10:58:24 +0000 (13:58 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Reset common fields of EG(trampoline)
Dmitry Stogov [Mon, 4 Feb 2019 10:57:03 +0000 (13:57 +0300)]
Reset common fields of EG(trampoline)
Dmitry Stogov [Mon, 4 Feb 2019 10:47:09 +0000 (13:47 +0300)]
Added note anout object habdlers API change
Dmitry Stogov [Mon, 4 Feb 2019 09:07:11 +0000 (12:07 +0300)]
ext/com_dotnet support for new object handlers API
Dmitry Stogov [Fri, 1 Feb 2019 15:58:21 +0000 (18:58 +0300)]
More accurate get_properties() usage.
Dmitry Stogov [Fri, 1 Feb 2019 14:18:15 +0000 (17:18 +0300)]
Reuse cache_slot
Dmitry Stogov [Thu, 31 Jan 2019 15:47:58 +0000 (18:47 +0300)]
Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s).
Nikita Popov [Mon, 4 Feb 2019 09:38:42 +0000 (10:38 +0100)]
Make array_slice $length param a nullable integer
Instead of having custom parameter handling.
Peter Kokot [Sun, 3 Feb 2019 20:23:18 +0000 (21:23 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Remove local variables
Peter Kokot [Tue, 22 Jan 2019 20:39:32 +0000 (21:39 +0100)]
Remove local variables
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.
A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.
This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.
With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.
Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
Christoph M. Becker [Sun, 3 Feb 2019 17:33:08 +0000 (18:33 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Add missing notes regarding gc_status()
Christoph M. Becker [Sun, 3 Feb 2019 17:32:01 +0000 (18:32 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
[ci skip] Add missing notes regarding gc_status()
Christoph M. Becker [Sun, 3 Feb 2019 17:28:43 +0000 (18:28 +0100)]
[ci skip] Add missing notes regarding gc_status()
Joe Watkins [Sun, 3 Feb 2019 07:42:22 +0000 (08:42 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Properly check for array_replace_recursive in sccp.c
Joe Watkins [Sun, 3 Feb 2019 07:42:07 +0000 (08:42 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Properly check for array_replace_recursive in sccp.c
Joe Watkins [Sun, 3 Feb 2019 07:41:26 +0000 (08:41 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Properly check for array_replace_recursive in sccp.c
Tyson Andre [Sat, 2 Feb 2019 01:54:21 +0000 (20:54 -0500)]
Properly check for array_replace_recursive in sccp.c
Due to a typo, this code used to check for array_merge_recursive
twice.
Nikita Popov [Fri, 1 Feb 2019 16:15:16 +0000 (17:15 +0100)]
Try to fix serialization_miscTypes_001.phpt
Nikita Popov [Fri, 1 Feb 2019 15:08:31 +0000 (16:08 +0100)]
Make session_cache_expire() arg an integer
This is logically an integer, and the function also returns the old
value as an integer. The fact that the integer needs to be converted
to a string for the ini assignment is an implementation detail.
Nikita Popov [Fri, 1 Feb 2019 14:40:09 +0000 (15:40 +0100)]
Make mb_ereg(i) argument a normal string argument
Instead of manually handling the string conversion, use the standard
zpp mechanism.
Nikita Popov [Fri, 1 Feb 2019 14:18:28 +0000 (15:18 +0100)]
Make mb_ereg_replace() pattern argument a string
Nikita Popov [Fri, 1 Feb 2019 14:03:10 +0000 (15:03 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Feb 2019 13:58:10 +0000 (14:58 +0100)]
Deprecate mb_ereg_replace with non-string pattern
I'm counting this towards the non-string needle deprecation from
https://wiki.php.net/rfc/deprecations_php_7_3. I wasn't aware that
mb_ereg_replace() is also affected by this issue. It's even more
ridiculous than usual here, because the integer is interpreted as
an ASCII codepoint, even though these are supposed to be multibyte
functions :(
Nikita Popov [Fri, 1 Feb 2019 10:42:52 +0000 (11:42 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 1 Feb 2019 10:41:18 +0000 (11:41 +0100)]
Fix bogus $PHP_PCRE_REGEX checks
This variable was dropped in the pkg-config migration, which resulted
in spurious warnings about using valgrind with external PCRE. Fix the
checks to use the right variable.
Dmitry Stogov [Fri, 1 Feb 2019 08:13:49 +0000 (11:13 +0300)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed bug #77329 (Buffer Overflow via overly long Error Messages)
Dmitry Stogov [Fri, 1 Feb 2019 08:13:25 +0000 (11:13 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fixed bug #77329 (Buffer Overflow via overly long Error Messages)
Dmitry Stogov [Fri, 1 Feb 2019 08:11:15 +0000 (11:11 +0300)]
Fixed bug #77329 (Buffer Overflow via overly long Error Messages)
Christoph M. Becker [Thu, 31 Jan 2019 15:12:50 +0000 (16:12 +0100)]
Fix version.inc update notes
Nikita Popov [Thu, 31 Jan 2019 11:25:51 +0000 (12:25 +0100)]
Remove bareword fallback for constants
Access to undefined constants will now always result in an Error
exception being thrown.
This required quite a few test changes, because there were many
buggy tests that unintentionally used bareword fallback in combination
with error suppression.
Nikita Popov [Wed, 30 Jan 2019 16:16:09 +0000 (17:16 +0100)]
Remove support for case-insensitive constants
The only remaining case-insensitive constants are null, true and
false, which are handled explicitly.
In the future we may convert them from constants to reserved keywords.
Dmitry Stogov [Thu, 31 Jan 2019 11:35:27 +0000 (14:35 +0300)]
gmp_random() was removed
Nikita Popov [Thu, 31 Jan 2019 08:40:01 +0000 (09:40 +0100)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 31 Jan 2019 08:39:10 +0000 (09:39 +0100)]
Revert "Don't silence fatal errors with @"
This reverts commit
abd36289e26cc0365e82373699aba4c1ffff464d .
This wasn't ready for merging yet, there are still some test
failures.
Joe Watkins [Thu, 31 Jan 2019 06:11:18 +0000 (07:11 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Don't silence fatal errors with @
Nikita Popov [Mon, 26 Nov 2018 20:20:03 +0000 (21:20 +0100)]
Don't silence fatal errors with @
Gabriel Caruso [Sun, 27 Jan 2019 16:55:06 +0000 (14:55 -0200)]
Remove unnecessary CLI checks in tests
Joe Watkins [Wed, 30 Jan 2019 17:29:05 +0000 (18:29 +0100)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix bug 76596: phpdbg supports display_errors=stderr
Joe Watkins [Wed, 30 Jan 2019 17:28:36 +0000 (18:28 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix bug 76596: phpdbg supports display_errors=stderr
Joe Watkins [Wed, 30 Jan 2019 17:28:09 +0000 (18:28 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix bug 76596: phpdbg supports display_errors=stderr
Kevin Abel [Mon, 9 Jul 2018 02:18:20 +0000 (21:18 -0500)]
Fix bug 76596: phpdbg supports display_errors=stderr
Joe Watkins [Wed, 30 Jan 2019 16:10:51 +0000 (17:10 +0100)]
Merge branch 'PHP-7.3'
* PHP-7.3:
Fix #77546 iptcembed broken function
Joe Watkins [Wed, 30 Jan 2019 16:10:19 +0000 (17:10 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #77546 iptcembed broken function
Guillaume Degoulet [Wed, 30 Jan 2019 10:38:17 +0000 (11:38 +0100)]
Fix #77546 iptcembed broken function
Nikita Popov [Wed, 30 Jan 2019 15:46:36 +0000 (16:46 +0100)]
Remove -1 crop mode
Nikita Popov [Wed, 30 Jan 2019 15:33:59 +0000 (16:33 +0100)]
Remove intl Normalizer::NONE
Nikita Popov [Wed, 30 Jan 2019 15:00:19 +0000 (16:00 +0100)]
Remove error_reporting assignments in some tests
Nikita Popov [Wed, 30 Jan 2019 12:35:36 +0000 (13:35 +0100)]
Remove support for __autoload()
There are probably some improvements we can do to the SPL
implementation now that __autoload() is gone. In particular having
EG(autoload_func) as a property zend function, rather than a simple
callback probably doesn't make sense.
Nikita Popov [Wed, 30 Jan 2019 12:08:35 +0000 (13:08 +0100)]
Remove more leftovers from invalid static calls
Callbacks are now always valid or not valid, there is no in-between.
Nikita Popov [Wed, 30 Jan 2019 11:58:26 +0000 (12:58 +0100)]
Removed read_exif_data() alias
Nikita Popov [Wed, 30 Jan 2019 11:53:08 +0000 (12:53 +0100)]
Require at least one arg for mktime/gmmktime
Nikita Popov [Wed, 30 Jan 2019 11:20:25 +0000 (12:20 +0100)]
Remove ability to specify 'salt' in password_hash()
Nikita Popov [Wed, 30 Jan 2019 11:02:47 +0000 (12:02 +0100)]
Merge branch 'PHP-7.4'
David Carlier [Wed, 28 Nov 2018 10:29:34 +0000 (10:29 +0000)]
opcache/FreeBSD huge code page pragma support
Sort of following up on super pages support earlier, here
we also detect page mappings possibly eligible to go to
super pages.
Nikita Popov [Wed, 30 Jan 2019 10:48:42 +0000 (11:48 +0100)]
Merge branch 'PHP-7.4'
Zeev Suraski [Wed, 30 Jan 2019 09:26:28 +0000 (11:26 +0200)]
Take out some last remnants of the yearly copyright range
Zeev Suraski [Wed, 30 Jan 2019 09:23:29 +0000 (11:23 +0200)]
Adios, yearly copyright ranges
Zeev Suraski [Wed, 30 Jan 2019 09:26:28 +0000 (11:26 +0200)]
Take out some last remnants of the yearly copyright range
Zeev Suraski [Wed, 30 Jan 2019 09:23:29 +0000 (11:23 +0200)]
Adios, yearly copyright ranges
Zeev Suraski [Wed, 30 Jan 2019 09:03:12 +0000 (11:03 +0200)]
Remove yearly range from copyright notice
Zeev Suraski [Wed, 30 Jan 2019 09:00:23 +0000 (11:00 +0200)]
Remove year range from copyright notice
Nikita Popov [Tue, 29 Jan 2019 15:03:24 +0000 (16:03 +0100)]
Remove static calls to non-static methods
Nikita Popov [Tue, 29 Jan 2019 14:16:51 +0000 (15:16 +0100)]
Forbid unbinding $this from methods
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.