| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
To avoid conflicts with parameter names.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
| |
| |
| | |
zend_class_entry.interface_gets_implemented into the same memory lacation. The first used only by classes, the second only by magic interfaces.
|
| | |
| |
| |
| | |
consumption and avoid race condition during resolving/caching of user iterator functions of internal classes in ZTS build.
|
| | | |
|
| | |
| |
| |
| |
| | |
And cleanup the implementation to perform a normal by-value
assignment.
|
| | |
| |
| |
| | |
For symmetry with zend_read_property_ex.
|
| | |
| |
| |
| | |
These were changed in 6e77a60a75445c863f85f81a83e5c2dd28f0e877.
|
| | | |
|
| | |
| |
| |
| | |
RFC: https://wiki.php.net/rfc/is-countable
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".
This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which
implements the same change for integer->int.
|
| | |
| |
| |
| |
| |
| |
| | |
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
|
| |\ \
| |/
| |
| |
| | |
* PHP-7.2:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
| | |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
| | | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.0:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | | |
(cherry picked from commit 0e6fe3a4c96be2d3e88389a5776f878021b4c59f)
(cherry picked from commit f42cbd749cde1f91274c1d03df9024baba141a8f)
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
initialized if zend_fcall_info_cache.function_handler is set).
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
zend_get_parameters_ex() has been marked as deprecated for a long
time already. What zend_get_paramers() does is even more
questionable under PHP7. Both functions are obsoleted by the ZPP
mechanism, so I'm dropping them.
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* master:
Use per-request heap instead of system one
Extend zend_register_class_alias_ex() with additional argument to allow creating persistent or per-request aliases
Makrk persistent resources and references with GC_PERSISTENT flag
|
| | | | | |
| | | | |
| | | | |
| | | | | |
creating persistent or per-request aliases
|
| |/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
|
| | | | | |
|
| | | | |
| | | |
| | | |
| | | | |
converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
|
| | | | | |
|
| |/ / / |
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
The macro was expanding to a wrong macro and thus leads to compile errors upon
usage. Changed it to expand to the correct macro.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Instead of interleaving this inside zend_is_callable(), implement
this in a separate function instead.
Also add _deref() hash APIs. I've wanted these for a while, and
this is another place where they're useful, so finally do it...
|
| | | | |
|
| | | |
| | |
| | |
| | |
| | | |
This derefernce made sense only for explicit paramter passing by reference, but this feature was removed in PHP-7.
The improvement is 100% backward compatible, only few "tricky" functions may be affected (e.g. extract and usort).
|
| | | | |
|
| | | | |
|
| | | | |
|