History log of /PHP-7.4/Zend/zend_closures.c (Results 51 – 75 of 242)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1
# abefb6df 29-Sep-2017 Andrea Faulds

Fix bug #75290


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24
# 44e0b79a 19-Sep-2017 Dmitry Stogov

Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.


Revision tags: php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7
# bc5811f3 04-Jul-2017 Anatol Belski

further sync for vim mode lines


Revision tags: php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2
# db4561bf 08-Jun-2017 Dmitry Stogov

Introduced "zif_handler" type (zif = zend internal function).


Revision tags: php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17
# c6982995 04-Mar-2017 Anatol Belski

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, st

Interned strings unification for TS/NTS

Hereby, interned strings are supported in thread safe PHP. The patch
implements two types of interned strings

- interning per process, strings are not freed till process end
- interning per request, strings are freed at request end

There is no runtime interning.

With Opcache, all the permanent iterned strings are copied into SHM on
startup, additional copying into SHM might happen on demand.

show more ...


Revision tags: php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12
# 02ba9d71 30-Sep-2016 Nikita Popov

Unwrap reference returns in cufa etc


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1
# 97628da2 26-Sep-2016 Dmitry Stogov

Expose information about calls to "fake" closures (created through ReflectionFunction::getClosure), to allow extra specialization of RETRUN opcode handler.


Revision tags: php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38, php-5.6.24RC1, php-7.1.0alpha3
# dbe6a231 05-Jul-2016 Nikita Popov

Closure::fromCallable(): Getting non-static method statically

As this is new functionality, I'm going directly for a TypeError,
rather than a deprecation warning.


# ceae9fb5 05-Jul-2016 Nikita Popov

Closure::fromCallable(): Better LSB handling

The previous fix missed the "late" part of "late static binding" :)


# e959a9b6 05-Jul-2016 Nikita Popov

Closure::fromCallable(): Fix late static binding


# e395b62c 05-Jul-2016 Nikita Popov

Closure::fromCallable(): Use fake closures


Revision tags: php-7.0.9RC1
# 041476f4 05-Jul-2016 Nikita Popov

Closure::fromCallable(): Fix stack corruption

So the tests work at least...


# 11d01015 05-Jul-2016 Xinchen Hui

Some cleanup:

1. use c89 comments
2. exception should not be swallowd
3. ZVAL_OBJ may have problem if obj is NULL in the feature(who knows)


Revision tags: php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1
# fc92eeea 01-Jun-2016 Danack

Added reflection test. Standardised filename for other tests.


Revision tags: php-5.6.22, php-5.5.36, php-7.0.7
# 4a7afdaa 15-May-2016 Danack

Typo.


# 63ca65da 15-May-2016 Danack

Add Closure::fromCallable().

Add the ability to create closures from callable as part of RFC: https://wiki.php.net/rfc/closurefromcallable


# 7b94b958 12-May-2016 Dmitry Stogov

Intern some known (and offten used) strings.


Revision tags: php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1
# 3dd2df85 16-Apr-2016 Nikita Popov

Drop unnecessary checks in get_closure


# 8c5861e6 16-Apr-2016 Nikita Popov

Don't copy args in Closure::__invoke()


# fea04a52 16-Apr-2016 Nikita Popov

Drop dead assignment


Revision tags: php-7.0.6RC1, php-5.6.20
# 75af8150 29-Mar-2016 Nikita Popov

Forbid binding methods to incompatible $this

This prohibits binding closures returned by
ReflectionMethod::getClosure() to a $this, which is not an
instance of the method scope. This

Forbid binding methods to incompatible $this

This prohibits binding closures returned by
ReflectionMethod::getClosure() to a $this, which is not an
instance of the method scope. This restriction was already in
place for internal methods, now it is extended to user methods.

ML discussion: http://markmail.org/message/zepnhdyr3kij6di6

show more ...


# f9567988 30-Mar-2016 Nikita Popov

Fix __invoke comparison in closure_get_method

It compared against the wrong variable. Fixed this by getting rid
of lc_name entirely and use equals_literal_ci instead.


12345678910