History log of /php-src/Zend/zend_types.h (Results 126 – 150 of 303)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 1ee94f56 18-Jan-2018 Dmitry Stogov

Removed IS_TYPE_COPYABLE flag from IS_STRING zvals.

# 0a336f94 18-Jan-2018 Dmitry Stogov

Moved IS_CONSTANT_VISITED_MARK, used for protection from recursive self-referencing class constants, from zval.u1.v.type_flags into zval.u2.access_flags.

# f8885523 17-Jan-2018 Dmitry Stogov

Clenaup SEPARATE_ZVAL...() macros (the behavior is unchanged)

# b19d81e0 17-Jan-2018 Dmitry Stogov

Use zval_copy_ctor_func() instead of _zval_copy_ctor_func().

Revision tags: php-7.1.14RC1, php-7.2.2RC1
# 022e0299 15-Jan-2018 Dmitry Stogov

Optimize zval_dtor_func()

Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++

# b2b2b437 25-Dec-2017 Nikita Popov

Add _IS_NUMBER as cast_object() target type

convert_scalar_to_number() will now call cast_object() with an
_IS_NUMBER argument, in which case the cast handler should return
either an

Add _IS_NUMBER as cast_object() target type

convert_scalar_to_number() will now call cast_object() with an
_IS_NUMBER argument, in which case the cast handler should return
either an integer or floating point number, whichever is more
appropriate.

Previously convert_scalar_to_number() unconditionally converted
objects to integers instead.

Fixes bug #53033.
Fixes bug #54973.
Fixes bug #73108.

show more ...

# efcbea43 26-Dec-2017 Dmitry Stogov

Cheaper reference construction

Revision tags: php-7.2.1RC1
# 7bc76c40 07-Dec-2017 Dmitry Stogov

SEPARATE_STRING() micro optimization

Revision tags: php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, l, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# cf582a32 01-Nov-2017 Dmitry Stogov

Allow reference-counting on "thread-local" persistent zvals

# fcc08ce1 30-Oct-2017 Dmitry Stogov

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.

Prevent reference-counting on persistent zvals (internal constants, default properties and constants of internal classes).
New macro ZVAL_COPY_OR_DUP() is used perform duplication, if necessary.
This should eliminate related race-coditions in ZTS build and prevent reference-counting bugs after unclean shutdown.

show more ...

# b1b1a059 30-Oct-2017 Dmitry Stogov

ws

# 8203a066 27-Oct-2017 Dmitry Stogov

Merge branch 'master' into rc_debug

* master:
Use per-request heap instead of system one
Extend zend_register_class_alias_ex() with additional argument to allow creating persiste

Merge branch 'master' into rc_debug

* master:
Use per-request heap instead of system one
Extend zend_register_class_alias_ex() with additional argument to allow creating persistent or per-request aliases
Makrk persistent resources and references with GC_PERSISTENT flag

show more ...


# 0136ecb6 27-Oct-2017 Dmitry Stogov

Makrk persistent resources and references with GC_PERSISTENT flag

# 49ea143b 26-Oct-2017 Dmitry Stogov

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-count

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.

show more ...

Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1
# 97e7521e 10-Oct-2017 Dmitry Stogov

AST don't have to be COPYABLE anymore.

Revision tags: php-7.2.0RC4
# dec8b787 10-Oct-2017 Dmitry Stogov

Renumber types and type_flags

# ef5ea487 10-Oct-2017 Dmitry Stogov

Always use IS_CONSTANT_AST (IS_CONSTANT is removed).

Revision tags: php-7.0.25RC1
# 39ded1d5 09-Oct-2017 Dmitry Stogov

Changed zend_ast_ref structure to use only one allocation, removing dichotomy between heap/arena ASTs.

# 254b74b8 05-Oct-2017 Dmitry Stogov

HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to be consistent with IS_STR_PERSISTENT).

# cb9d81ef 05-Oct-2017 Dmitry Stogov

Refactored recursion pretection

# 0b87d4bf 04-Oct-2017 Dmitry Stogov

Removed unused flags

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, php-7.1.6, php-7.2.0alpha1, php-7.0.20
# 02e6c9c7 01-Jun-2017 Dmitry Stogov

ZVAL_COPY_UNREF() micro-optimization

12345678910>>...13