| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
It doesn't matter how the parameters are provided, we always have
to copy the trampoline invoke function.
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix #74454: Wrong exception being thrown when using ReflectionMethod
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fix #74454: Wrong exception being thrown when using ReflectionMethod
|
| | |
| | |
| | |
| | |
| | | |
If zend_throw_exception_ex() already threw an exception, we should not
throw again.
|
| | |
| | |
| | |
| | | |
inside zend_constant.value.
|
| | |
| | |
| | |
| | | |
zend_class_entry.trait_precedences to avoid keeping "intermediate" trait references, that are used only during inheritance.
|
| | | |
|
| | |
| | |
| | |
| | | |
destroy new created object (This is safer and produces less code)
|
| | |
| | |
| | |
| | | |
destroy new created object (This is safer and produces less code)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
The behavior is now consistent with ReflectionMethod.
|
| | |
| | |
| | |
| | |
| | | |
Instead specify a default value for the argument, which is more
idiomatic.
|
| | |
| | |
| | |
| | |
| | | |
PHP does not allow static calls to non-static internal methods
anyway, so these checks are redundant.
|
| | |
| | |
| | |
| | |
| | | |
And cleanup the implementation to perform a normal by-value
assignment.
|
| | |
| | |
| | |
| | | |
For symmetry with zend_read_property_ex.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This was broken by 6dc0cd868d972885249ce40f2d64097cd0ba6c1f, which
moved static property initialization outside of constant updating.
Instead of replicating logic, use zend_get_static_property() API
in the reflection implementation, just like we're using
read_property for non-static proprety access.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.2:
Update NEWS
Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
|
| | |
| | |
| | |
| | | |
error handler). (Laruence)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Avoid redundant unmangles and string copies, where possible.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Perform HT lookups using a zend_string. Don't copy the name for
the "name" property. We can always use the original name directly,
as properties case case-sensitive, so the original name should
always match the unmangled name of the fetched property info.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using reference, it was possible
to break the implementation by reassigning the static property
reference.
This is fixed by switching the implementation from using references
to using INDIRECTs, which cannot be affected by userland code.
|
| | |
| | |
| | |
| | | |
fields instead).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch normalizes the Reflection extension version in the phpinfo
output. It removes the Git attributes ident blob object name from Git
repository as an extension version.
Also the table output is synced with other extensions (i.e. enabled
in a row instead of table header).
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
where we sure about string persistence.
|
| | |
| | |
| | |
| | | |
is known to be a temporary allocated zend_string.
|
| | |
| | |
| | |
| | |
| | |
| | | |
doesn't have to be initialized.
It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
zend_get_type_by_name() now produces the correct value by itself,
so we no longer need these workarounds.
|
| | |
| | |
| | |
| | | |
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>
|
| | | |
|