| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.4:
Rethrow generator exception even without active stack frame
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Rethrow generator exception even without active stack frame
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Finally blocks in generators may be invoked during shutdown, in
which case we don't have a stack frame. Similar to what
zend_call_function does, we still need to rethrow these exceptions,
otherwise they will be hidden (and leak).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix use-after-free when trying to write to closure property
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix freeing of dynamic call name
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix freeing of dynamic call name
|
| | |
| | |
| | |
| | |
| | |
| | | |
We need to free op2 if the call construction fails.
Also remove a redundant check for !call.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix const/cv freeing on failed reference assignment
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Property names of internal classes from temporary extensins, loaded by dl(), may be emalloc-ed strings.
|
| | |
| | |
| | |
| | | |
may be emalloc-ed strings.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed memory leak
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed memory leaks
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Set opcache.optimization_level=0 in test
|
| | |
| | |
| | |
| | |
| | | |
Otherwise opcache "inlines" the function, which causes a minor
difference in destruction behavior.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Test fixes
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #78973
|
| | |
| | |
| | |
| | |
| | | |
Save opline in leave helper to correctly handle destructor calls
during CV freeing (or other leave freeing).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #78921
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #78921
|
| | |
| | |
| | |
| | |
| | | |
By resetting fake_scope during autoloading. We already do the same
when executing destructors.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Introduce extra counter to avoid RTD key collisions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also generate a fatal error if a collision occurs in zend_compile.
This is not perfect, because collisions might still be introduced
via opcache, if one file is included multiple times during a request,
invalidate in the meantime and recompiled by different processes.
This still needs to be addressed, but this patch fixes the much
more common case of collisions occuring when opcache is not used.
Fixes bug #78903.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #78950: Preloading trait method with static variables
|
| | |
| | |
| | |
| | |
| | |
| | | |
We need to make sure that trait methods with static variables
allocate a separate MAP slot for the static variables pointer,
rather than working in-place.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Revert "Fixed bug #78903: Conflict in RTD key for closures results in crash"
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit b55033fa18afd9bb60fc4537270266d808ec0868.
This breaks ext/opcache/tests/bug65915.phpt.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #78903: Conflict in RTD key for closures results in crash
|
| | |
| | |
| | |
| | |
| | |
| | | |
I wasn't able to create a simple reproducer for this. General approach
is the same as for anonymous classes: If the key is already used, reuse
the old definition.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Addirional fix for bug #78918
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #78937 (Preloading unlinkable anonymous class can segfault)
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.4:
Add support for class_alias to preloading
Fixed bug #78935: Check that all linked classes can be preloaded
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
During preloading, check that all classes that have been included
as part of the preload script itself (rather than through opcache_compile_file)
can actually be preloaded, i.e. satisfy Windows restrictions, have
resolved initializers and resolved property types. When resolving
initializers and property types, also autoload additional classes.
Because of this, the resolution runs in a loop.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix build
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Export zend_init_func_run_time_cache()
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Call zend_unregister_ini_entries() when unload extension loaded through dl() without MSHUTDOWN callback. Extensions with MSHUTDOWN should use UNREGISTER_INI_ENTRIES().
|
| | |
| | |
| | |
| | |
| | |
| | | |
without MSHUTDOWN callback.
Extensions with MSHUTDOWN should use UNREGISTER_INI_ENTRIES().
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fixed bug #78926: Handle class table reallocation on failed link
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When we change back the bucket key on a class linking failure,
make sure to reload the bucket pointer, as the class table may
have been reallocated in the meantime.
Also remove a bogus bucket key change in anon class registration:
We don't actually rename the class in this case anymore, the RTD
key is already the final name.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Use unmangled named in property type inheritance error
|