| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
RFC: https://wiki.php.net/rfc/typed_properties_v2
This is a squash of PR #3734, which is a squash of PR #3313.
Co-authored-by: Bob Weinand <bobwei9@hotmail.com>
Co-authored-by: Joe Watkins <krakjoe@php.net>
Co-authored-by: Dmitry Stogov <dmitry@zend.com>
|
| |
|
| |
|
|
|
|
|
|
| |
There used to be needed due to ZEND_FILE_LINE in debug builds.
As the argument is no longer passed, we don't need the wrappers
either.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
|
|
|
|
|
| |
Removed useless filename and lineno arguments, used in DEBUG build.
The patch doesn't break source compatibility of public API (only binary compatibility).
|
| |
|
| |
|
|
|
|
| |
This reverts commit a362ae6b12419369c5cbdbb4e924915f9b196ef6.
|
| |
|
| |
|
|
|
|
| |
where we sure about string persistence.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
should be fixed now.
|
| |
|
|
|
|
| |
may be trapped here).
|
| |
|
| |
|
|
|
|
| |
dichotomy between heap/arena ASTs.
|
|\
| |
| |
| |
| | |
* PHP-7.0:
Properly update string type flags
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Revert "Properly update string type flags"
|
| |
| |
| |
| | |
This reverts commit 99b1a62d559f993ed02c50e6a4298c4bd2dcd33c.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.0:
Properly update string type flags
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In particular, allow arrays with refcount>1, like we already allow
for all other types. _zval_dtor_func is now the same as
_zval_dtor_func_for_ptr with an extra refcount decrement check at
the start. At this point we might as well drop it...
Cherry-pick of ded69ee6e6039d56ee7b65b1a578ed1e3d1859da from
PHP-7.1.
|
| | |
|
| |
| |
| |
| | |
insignificant renaming and white-space changes
|
| |
| |
| |
| | |
This reverts commit bac6fdb0c52c924e726c5a78de8858bf27b6586b.
|
| |
| |
| |
| | |
Also use zval_ptr_dtor_nogc() everywhere in Zend in favor of zval_dtor()
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
In particular, allow arrays with refcount>1, like we already allow
for all other types. _zval_dtor_func is now the same as
_zval_dtor_func_for_ptr with an extra refcount decrement check at
the start. At this point we might as well drop it...
|
|\ \
| |/ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
This opcodes inserts a local CV into the closure static variable
table. This replaces the previous mechanism of having static
variables marked as LEXICAL, which perform a symtable lookup
during copying.
This means a) functions which contain closures no longer have to
rebuild their symtable (better performance) and b) we can now track
used variables in SSA.
|
| |
|
| |
|
|
|
|
| |
semantick changes).
|
| |
|
| |
|
| |
|