History log of /PHP-8.0/Zend/zend_closures.c (Results 126 – 150 of 269)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, 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().


# 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
# 41774bce 23-Jun-2015 Rasmus Lerdorf

Fix more minor mistakes in the proto comments


Revision tags: php-7.0.0alpha2
# 3c288b12 21-Jun-2015 Bob Weinand

Fix bad run_time_cache with Closure::call()
This also fixes a memory "leak" (memory is allocated on unbounded arena without limits) on each new Closure instantiation.
Closures with same scope

Fix bad run_time_cache with Closure::call()
This also fixes a memory "leak" (memory is allocated on unbounded arena without limits) on each new Closure instantiation.
Closures with same scope now all share the same run_time_cache (as long as it is arena allocated)

show more ...


# 3180b8e1 16-Jun-2015 Dmitry Stogov

Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class name) (onr more problem)


# ed84bff4 16-Jun-2015 Dmitry Stogov

Complete fix for problems related to bug #69802


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL
# e7d0ca39 29-May-2015 Nikita Popov

Preserve VARIADIC flag for Closure::__invoke()

The 13 arguments are for the benefit of PHP 7, where the first
twelve use the bitmask.


Revision tags: php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# ef8bb69a 28-Apr-2015 Stanislav Malyshev

Ban rebinding closures to different internal classes


# bc2ff4a2 06-May-2015 Nikita Popov

Don't implicitly make closures in static methods static

It makes no sense that you can't write a closure using $this in a
static method, even though you can write one outside a class.

Don't implicitly make closures in static methods static

It makes no sense that you can't write a closure using $this in a
static method, even though you can write one outside a class.

Now only closures that have been marked as static will be considered
to be static.

Fixes bug #65598.

show more ...


# d9c2959c 05-May-2015 Nikita Popov

Fix LSB handling for closures

Closures will now use the called_scope from their instantiation
site. If they are rebound either the class of $this is used or if
no $this is provided t

Fix LSB handling for closures

Closures will now use the called_scope from their instantiation
site. If they are rebound either the class of $this is used or if
no $this is provided the bound scope is used.

With this change the scope for static closures can be changed back
to use EG(scope) rather than EX(called_scope), thus fixing
bug #69568.

show more ...


# fc80305e 23-Apr-2015 Dmitry Stogov

Cleanup comments and add related tests.


# 018bcc63 16-Apr-2015 Nikita Popov

Use temporary debug_info for closures


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# 1d75953a 01-Apr-2015 Dmitry Stogov

We don't need this protection anymore (now reference counting on closures is accurate).


# acfc31c0 01-Apr-2015 Dmitry Stogov

Use zend_error_noreturn() for fatal errors


Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# ed9c8a23 10-Mar-2015 Dmitry Stogov

More accurate reference counting on closures


# a30d3286 10-Mar-2015 Dmitry Stogov

Errors converted to exceptions are not "recoverable" anymore.


# 1c94ff05 09-Mar-2015 Dmitry Stogov

Implement engine exceptions

RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7

Pending changes regarding naming of BaseException and whether it
should be an interface.


Revision tags: php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# f25419f8 21-Feb-2015 Xinchen Hui

Only do this in debug build


# 865a719a 21-Feb-2015 Xinchen Hui

Fixed mem issue with internal return type hinting assert


# 5f76eed1 20-Feb-2015 Dmitry Stogov

don't count op_arrays stored in opcache SHM


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# e10e151e 13-Feb-2015 Dmitry Stogov

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed t

Merged zend_array and HashTable into the single data structure.
Now each HashTable is also zend_array, so it's refcounted and may be a subject for Copy on Write
zend_array_dup() was changed to allocate and return HashTable, instead of taking preallocated HashTable as argument.

show more ...


Revision tags: POST_PHP7_REMOVALS, PRE_PHP7_REMOVALS, php-5.6.6RC1, php-5.5.22RC1, php-5.5.21, php-5.6.5, php-5.4.37
# dbc0a80b 13-Jan-2015 Danack

Added test and possible fix for https://bugs.php.net/bug.php?id=67068


# c8576c5a 08-Jan-2015 Levi Morrison

Implement return types

RFC is documented here: https://wiki.php.net/rfc/return_types


1234567891011