History log of /PHP-7.4/Zend/zend_execute_API.c (Results 151 – 175 of 892)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.2RC1
# eb4ce3f1 19-Dec-2015 Xinchen Hui

Fixed bug #71163 (Segmentation Fault: cleanup_unfinished_calls)


# a917840f 17-Dec-2015 Nikita Popov

Fixed iter leak on by-ref foreach over const/tmp array

FE_FREE does not unregister the iter for plain arrays. So always
wrap into a REF wrapper, even if not strictly necessary, in
RE

Fixed iter leak on by-ref foreach over const/tmp array

FE_FREE does not unregister the iter for plain arrays. So always
wrap into a REF wrapper, even if not strictly necessary, in
RESET_RW. Alternatively we could use a flag to distinguish plain
positions and interators.

Also added a check for leaked iterators in shutdown_executor.

show more ...


# b101a6bb 13-Dec-2015 Xinchen Hui

Use format string


Revision tags: php-5.6.17RC1, php-7.0.1RC1, php-7.0.0, php-5.6.16, php-7.0.0RC8
# 617698df 14-Nov-2015 Taoguang Chen

Fixed bug #70914 zend_throw_or_error() format string vulnerability


Revision tags: php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5
# c6af0aa3 08-Oct-2015 Dmitry Stogov

Fixed reference cuntmting for closures (previously we didn't increment reference counter for "internal" closures)


# 524d00e0 06-Oct-2015 Dmitry Stogov

Revert "Allow random $this on non-internal Closures again"

This reverts commit 35d0405c4790f0ce668c9e1b8b05197e55d29a05.


# 35d0405c 05-Oct-2015 Bob Weinand

Allow random $this on non-internal Closures again
As it turns out, there is actually no reason to prevent this, it even was a bigger BC break than expected...

Also fixes a memory leak (t

Allow random $this on non-internal Closures again
As it turns out, there is actually no reason to prevent this, it even was a bigger BC break than expected...

Also fixes a memory leak (the Closure leaks) when calling internal functions via Closure by moving it out of leave helper onto caller side for TOP_CODE:

$z = new SplStack; $z->push(20);
$x = (new ReflectionMethod("SplStack", "pop"))->getClosure($z);
var_dump($x());

show more ...


Revision tags: php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45
# 37f0c6b5 31-Aug-2015 Dmitry Stogov

Add myself into list of authors of the most refactored files.


Revision tags: php-5.6.13RC1, php-7.0.0RC1
# 715d5d28 13-Aug-2015 Dmitry Stogov

Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c.
Now e

Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.
This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c.
Now explicit type casting may be required on call site.
This may break some C extension code, but it shoulfn't be a problem to add explicit casting.

show more ...


Revision tags: php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44
# 5c98b997 28-Jul-2015 Anatol Belski

improve ZEND_TLS declaration even more and move it to the better place


# e6cbca77 28-Jul-2015 Anatol Belski

use better name


# d051bff8 28-Jul-2015 Anatol Belski

simplify declaration


# 2ec51fae 28-Jul-2015 Anatol Belski

adjust storage class

It's more convenient do explicitly disable the external linking. Also
it's an improvement from the build access time perspective.


Revision tags: php-5.6.12RC1, php-7.0.0beta2, php-7.0.0beta1, php-5.6.11, php-5.5.27, php-5.4.43
# 5df893ce 07-Jul-2015 Aaron Piotrowski

Use NULL where possible for exception class

Matches usage of zend_throw_exception()/zend_throw_exception_ex().


# 7af4e6d0 07-Jul-2015 Xinchen Hui

Fixed bug #70006 (cli - function with default arg = STDOUT crash output).


# ce2cd892 04-Jul-2015 Kalle Sommer Nielsen

Replace references to PHP_WIN32 and TSRM_WIN32 with ZEND_WIN32 in Zend/, this also fixes 1 instance of where fflush(stderr) was misplaced (zend_extensions.c)


# 02623ddb 03-Jul-2015 Aaron Piotrowski

Switch macro with __VA_ARGS__ to function


# 22c38b2e 03-Jul-2015 Aaron Piotrowski

Remove need to pass error level


# 5a99c07e 03-Jul-2015 Aaron Piotrowski

Enable throwing custom exceptions from errors


# 7aa76271 30-Jun-2015 Dmitry Stogov

Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).


Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41
# ab4ccffc 07-May-2015 Dmitry Stogov

Avoid unnecessary reference counter incrementation on $this when call methods


Revision tags: php-5.6.9RC1, php-5.5.25RC1
# 98e9296f 27-Apr-2015 Dmitry Stogov

Restored accedently removed line that caused memory leak


# 1800bed1 27-Apr-2015 Dmitry Stogov

Micro optimizations


# 49cf7c5d 23-Apr-2015 Dmitry Stogov

Don't propogate "fake" EX(called_scope) and EX(This) into each internal function.
They need quite seldom and it's cheaper to get them from corresponfing upper stack frame.


# aef96d51 17-Apr-2015 Nikita Popov

Partially enable leak reports for objects

Cycle leaks are currently not reported, because this needs further
work.

The last GC run has been moved to run earlier (before the obje

Partially enable leak reports for objects

Cycle leaks are currently not reported, because this needs further
work.

The last GC run has been moved to run earlier (before the object
store free), so that array cycles that hold references to objects
don't show up as leaks. Fingers crossed that this doesn't adversely
affect anything else.

show more ...


12345678910>>...36