History log of /PHP-7.3/Zend/zend_inheritance.c (Results 101 – 125 of 135)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39
# 8d003858 15-Mar-2015 Nikita Popov

Reclassify E_STRICT notices

Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to dis

Reclassify E_STRICT notices

Per RFC https://wiki.php.net/rfc/reclassify_e_strict

While reviewing this, found that there are still three E_STRICTs
left in libraries - need to discuss those.

show more ...


# db76b708 31-Mar-2015 Andrea Faulds

Deprecate PHP 4 constructors


# a34f81de 22-Mar-2015 Nikita Popov

Allow adding return type during inheritance

This is allowed as per the return types RFC. The test for this
behavior happened to use an internal class without arginfo, which
is why th

Allow adding return type during inheritance

This is allowed as per the return types RFC. The test for this
behavior happened to use an internal class without arginfo, which
is why this was not properly implemented.

show more ...


# 95b4aa52 07-Mar-2015 Xinchen Hui

Fixed zend_hash_append result duplicated key

actually, maybe we should precalculate before calling zend_hash_appen
when we are not sure whether the hash is caclculated(prop_info->name).

Fixed zend_hash_append result duplicated key

actually, maybe we should precalculate before calling zend_hash_appen
when we are not sure whether the hash is caclculated(prop_info->name).

but it looks a little ugly.. (also for zend_string_copy)

show more ...


# 66f5a1e8 06-Mar-2015 Dmitry Stogov

Make fast path linear


Revision tags: php-5.6.7RC1, php-5.5.23RC1
# 488688cf 05-Mar-2015 Wei Dai

Remove the unused vars


Revision tags: POST_PHP7_EREG_MYSQL_REMOVALS
# 6dfff52f 04-Mar-2015 Dmitry Stogov

Improved method inhereitance code and cleanup


Revision tags: PRE_PHP7_EREG_MYSQL_REMOVALS
# c9bd24de 04-Mar-2015 Dmitry Stogov

Improved ineritance code


# 8ec8648c 04-Mar-2015 Dmitry Stogov

Improved code for class property inheritance


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38, 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, php-5.5.21RC1, php-5.6.5RC1, POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# 4498d34a 06-Dec-2014 Guilherme Blanco

Check interface/trait extension for internal classes

Removed possibility to have extensions to declare classes extending
interfaces or traits. It was checked in user classes, not extensi

Check interface/trait extension for internal classes

Removed possibility to have extensions to declare classes extending
interfaces or traits. It was checked in user classes, not extensions
or internal.

show more ...


# 8c81d80e 12-Feb-2015 Guilherme Blanco

Made ZEND_ACC_TRAIT a saner value

CC_TRAIT valued as 0x120 is too magical to be comprehensible by others.


# 9e70d767 04-Feb-2015 Dmitry Stogov

Move zend_object->guards into additional slot of zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced.


# 26d5ad6c 30-Jan-2015 Joshua Rogers

Add check for null pointer, as done in case 5 lines above.


# a1d9ceac 29-Jan-2015 Xinchen Hui

Fixed annoying warnings


# c8576c5a 08-Jan-2015 Levi Morrison

Implement return types

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


# fc33f52d 15-Jan-2015 Xinchen Hui

bump year


# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# c42ac095 24-Dec-2014 Dmitry Stogov

Added new API function 'zend_string* zend_string_tolower(zend_string*)'.
It simplifies code and avoids unnecessary allocation and copying if string is already in lower case.


# 2646f7bc 22-Dec-2014 Dmitry Stogov

Don't count variadic argument in zend_func.common.num_args. This allows faster CALL/RETURN code.


# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


# 3893c1fc 12-Dec-2014 Dmitry Stogov

Fixed compilation warnings


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 094d409b 22-Nov-2014 Guilherme Blanco

Removed ZEND_ACC_FINAL_CLASS which is unnecessary. This also fixed some currently defined classes as final which were just not being considered as such before.


# 14e29f51 12-Dec-2014 Dmitry Stogov

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces

Reduced size of zend_op on 64-bit systems.

the main idea - the smaller the zend_op structure, the lees memory traffic is required to load VM instructions during execution. The patch reduces the size of each opcode from 48 to 32 bytes (saves 16 bytes for each opcode, and applications use thousands of opoceds). This reduced the number of CPU cache misses by 12% and improved performance of real-life apps by 1-2%.

The patch affects how constants and jump targets are represented in VM during execution. Previously they were implemented as absolute 64-bit pointers. Now they are relative 32-bit offsets.

In run-time constant now should be accessed as:
RT_CONSTANT(op_array, opine->op1) instead of opline->op1.zv
EX_CONSTANT(opline->op1) instead of opline->op1.zv

Jump targets:
OP_JMP_ADDR(opline, opline->op2) instead of opline->op2.jmp_addr

The patch doesn't change zend_op representation for 32-bit systems. They still use absolute addresses. The compile-time representation is also kept the same.

show more ...


# 5dd427ea 03-Dec-2014 Dmitry Stogov

Use zend_string* for op_array->arg_info[]->name and op_array->arg_info[]->class_name. For internal functions we still use char*.


# af3a4202 21-Nov-2014 Julien Pauli

Fix #68185 - Inconsistent insteadof definition


123456