History log of /php-src/Zend/zend_types.h (Results 101 – 125 of 303)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 7ec8087f 04-Oct-2018 Nikita Popov

Introduce get_properties_for() handler

This handler allows getting the object properties for a particular
purpose, such as array casting, serialization, etc.

# f48ee1ff 04-Oct-2018 Nikita Popov

Clarify that the get_properties handler is required

Some places were checking for non-null get_properties, some weren't.
Make it clear that the handler is required and such checks are no

Clarify that the get_properties handler is required

Some places were checking for non-null get_properties, some weren't.
Make it clear that the handler is required and such checks are not
necessary.

show more ...

# c5231ad3 30-Aug-2018 Christoph M. Becker

Fix #76820: Z_COPYABLE invalid definition

We remove the extraneous parenthesis.

# ab8094c6 26-Jul-2018 Dmitry Stogov

Pack zend_constant.flags and zend_constant.module_number into reserved space inside zend_constant.value.

# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...

# 14db9882 11-Jul-2018 Anatol Belski

Fix build with ZEND_RC_DEBUG

# 2543e61a 22-Jun-2018 Nikita Popov

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using ref

Fixed bug #76509

In PHP static properties are shared between inheriting classes,
unless they are explicitly overwritten. However, because this
functionality was implemented using reference, it was possible
to break the implementation by reassigning the static property
reference.

This is fixed by switching the implementation from using references
to using INDIRECTs, which cannot be affected by userland code.

show more ...

# 61d00a6c 14-Jun-2018 Nikita Popov

Use COPY_DEREF instead of COPY_UNREF

This fixes the behavior when the storage location of the fetch is
modified before the operand is dereferenced by the using VM opcode.

Furthe

Use COPY_DEREF instead of COPY_UNREF

This fixes the behavior when the storage location of the fetch is
modified before the operand is dereferenced by the using VM opcode.

Furthermore it elimiates references as a possible return value from
*_R opcodes, which will give us more opportunities for inferences,
in particular in regard to typed properties.

show more ...

# d0fc6dba 09-Jun-2018 Tyson Andre

Fix the Z_IMMUTABLE macro - '(' was mismatched

The macro properly has two matching `(` and `)` symbols
after this change.

This typo was causing syntax errors when compiling exte

Fix the Z_IMMUTABLE macro - '(' was mismatched

The macro properly has two matching `(` and `)` symbols
after this change.

This typo was causing syntax errors when compiling extensions
using the (deprecated) macro.

This fixes a bug in the PHP 7.3 branch introduced by
742d5a01ed5bd39a18929c04a5f5c5596a4b005b

show more ...

# 683123fa 30-May-2018 Dmitry Stogov

Use SSE2 instruction to reset HashTable

Revision tags: php-7.2.6RC1, php-7.1.18RC1
# 34ed8e53 03-May-2018 Dmitry Stogov

Changed worst HashTable load factor from 1.0 to 0.5

# 1a63fa6e 03-May-2018 Dmitry Stogov

Implemented Request #76178 (Class constants are slow: they should be inlined at runtime)

Run-time cache is used to eliminate recalculation of constant expression in RECV_INIT opcode (only no

Implemented Request #76178 (Class constants are slow: they should be inlined at runtime)

Run-time cache is used to eliminate recalculation of constant expression in RECV_INIT opcode (only non reference countable values are cached).

show more ...

Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15
# f1d5168a 27-Feb-2018 Dmitry Stogov

Simplify GC_FLAGS cand CG_INFO checks

Revision tags: php-5.6.34
# c9e1419f 27-Feb-2018 Dmitry Stogov

Change CG_TYPE_INFO() layout to provide more room for GC_INFO()

# 6f483dc9 27-Feb-2018 Dmitry Stogov

Use macros to update specific parts of GC_TYPE_INFO() (direct assignments to GC_TYPE(), GC_FLAGS() and GC_INFO() are prohibited)

Revision tags: php-7.2.3, php-7.0.28
# baa98901 26-Feb-2018 Dmitry Stogov

Completely hide GC implementation details into zend_gc.c

# 58880e3f 27-Feb-2018 Dmitry Stogov

Get rid of IS_OBJ_USE_GUARDS and IS_OBJ_HAS_GUARDS flags

# 25e0413d 16-Feb-2018 Dmitry Stogov

Simplify REFCOUNTED checks

# 02aea893 15-Feb-2018 Dmitry Stogov

Use Z_TYPE_INFO_REFCOUNTED() macro

Revision tags: php-7.2.3RC1, php-7.1.15RC1
# ca035f26 05-Feb-2018 Dmitry Stogov

Moved "zval.u2.cache_slot" into free room of "zend_op"

# 9a6100f9 02-Feb-2018 Dmitry Stogov

Break dependency between IS_TYPE_REFCOUNTED and ZEND_CALL_FREE_EXTRA_ARGS

Revision tags: php-7.1.14, php-7.2.2
# 5e8aa036 23-Jan-2018 Dmitry Stogov

Access extra data stored in zval through macros

# b3e22da7 22-Jan-2018 Dmitry Stogov

Use OBJ_FLAGS() macro to access object flags (even if they are currently stored together with GC_FLAGS)

# 6fb5568b 22-Jan-2018 Dmitry Stogov

Merge HashTable.u.v.consistency into HashTable.u.v.flags

# 742d5a01 19-Jan-2018 Dmitry Stogov

Get rid of IS_TYPE_COPYABLE.

12345678910>>...13