| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
By resetting fake_scope during autoloading. We already do the same
when executing destructors.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 35353dc49a73a58c17c7896c4c4c3997ef2c007d.
This changes causes issues for Symfony, see
https://github.com/symfony/symfony/issues/32395. I'm reverting it
from PHP 7.2 and PHP 7.3 and only leaving it in PHP 7.4.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If we perform a class fetch that is not marked as exception safe,
convert exceptions thrown by autoloaders into a fatal error.
Ideally fetching the interfaces would be exception safe, but as it
isn't right now, we must abort at this point.
|
| | |
|
| | |
|
| |
| |
| |
| | |
inside zend_constant.value.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
where we sure about string persistence.
|
| |
| |
| |
| |
| |
| | |
doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
|
| | |
|
| | |
|
| |
| |
| |
| | |
object through address calculation, instead of op_array->prototype reuse. (reapply 781e1573afdc7c336b3577ceabc9c65cafea17e8, now it should be OK).
|
| |
| |
| |
| |
| |
| | |
closure object through address calculation, instead of op_array->prototype reuse." (this patch is incomplete or wrong)
This reverts commit 781e1573afdc7c336b3577ceabc9c65cafea17e8.
|
| |
| |
| |
| | |
object through address calculation, instead of op_array->prototype reuse.
|
| |
| |
| |
| | |
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fixed bug #75742 (potential memleak in internal classes's static members)
|
| | |
|
| |
| |
| |
| | |
initialized if zend_fcall_info_cache.function_handler is set).
|
| |
| |
| |
| | |
initialized if zend_fcall_info_cache.function_handler is set).
|
| | |
|
| |
| |
| |
| | |
direct memcmp() usage.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* master: (26 commits)
Better fix for bug #75451 (Assertion fails while foreach on empty xpath query)
Catch with the latest AppVeyor unzip errors
Fixed type inference
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
Fix compiler warnings
We don't use a specific model for a MAKERNOTE so remove these checks that doesn't do anything anyway
Remove these old comments, as for the TODO, there is already a FR for this
Re-enable AppVeyor cache
make sure run-tests reports exit status upon prerequisite error
Remove implicit constants from test case
Fix invalid read in zend_use_undefined_constant()
Fix invalid read in mb_ord()
Remove --with-libmbfl configure option
Fixed bug #75451 (Assertion fails while foreach on empty xpath query)
Add tests for UConverter::getStandards()
convert spaces to tabs in ext/ftp/tests/server.inc
Add tests for ftp_rename
Fix bug #75434 Wrong reflection for mysqli_fetch_all function
Don't optimize input arrays with suffix holes
Fix bug #75307 Wrong reflection for openssl_open function
...
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
* 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
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
constant related places)
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
|
| |
|
|
|
|
|
|
|
| |
zend_is_callable() is responsible for doing these kinds of checks
already.
Aldro drop a piece of obsolete commented out code.
|
| |
|
|
|
|
| |
zend_init_code_execute_data()
|