History log of /PHP-7.3/ext/reflection/php_reflection.c (Results 176 – 200 of 698)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7e93de10 13-Jan-2015 Dmitry Stogov

Handle run-time cache for static properties directly in executor.
Removed cache_slot argument in zend_std_get_static_property() and zend_std_unset_static_property().


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# 2d212b42 23-Dec-2014 Nikita Popov

Drop duplicate arg from hash_get_current_key_ex


# 2646f7bc 22-Dec-2014 Dmitry Stogov

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


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


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*.


# 3b4a6dc1 14-Nov-2014 Anatol Belski

removed useless check

the offset member is an unsigned


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35
# 75041379 06-Nov-2014 Dmitry Stogov

Improved object property access.


# 89769576 29-Oct-2014 Anatol Belski

fix datatype mismatches

sizeof(struct _string) doesn't increase.


Revision tags: php-5.6.3RC1, php-5.5.19RC1
# 7471c217 17-Oct-2014 Dmitry Stogov

Optimized property access handlers. Removed EG(std_property_info).


# 0490a322 15-Oct-2014 Anatol Belski

more exts converted for static tsrm ls pointer

mbstring, pcre, reflection


Revision tags: php-5.5.18, php-5.4.34
# c4ab08ac 12-Oct-2014 Nikita Popov

Fix invalid zend_string_frees in reflection

zend_lookup_class can share the name


# ee5b30fa 09-Oct-2014 Nikita Popov

Remove support for classes without class entries

get_class_entry must be non-NULL and return non-NULL.


# b3869914 04-Oct-2014 Johannes Schlüter

Fix accidental edit in previous commit


# 136dd53a 04-Oct-2014 Johannes Schlüter

Fix arginfo


# bd9a2346 03-Oct-2014 Dmitry Stogov

Replaced EG(This) and EX(object) with EX(This).
Internal functions now recieves zend_execute_data as the first argument.


Revision tags: php-5.5.18RC1, php-5.6.1
# efa7f87d 26-Sep-2014 Remi Collet

Fixed bug #68103 Dupplicate entry in Reflection

$ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());'
Array
(
[0] => Threaded
[1] => stacka

Fixed bug #68103 Dupplicate entry in Reflection

$ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());'
Array
(
[0] => Threaded
[1] => stackable
[2] => Thread
[3] => Worker
[4] => Mutex
[5] => Cond
[6] => Collectable
[7] => Pool
)

In getClasses() output, it is possible to compare key (ex "stackable")
with $obj->name (ex "Threaded") to detect class alias.

...
[Threaded] => ReflectionClass Object
(
[name] => Threaded
)
[stackable] => ReflectionClass Object
(
[name] => Threaded
)
...

show more ...


Revision tags: php-5.6.2
# 51901c9f 23-Sep-2014 krakjoe

swap some standard module properties _ex for std mod properties


# b3aebda9 20-Sep-2014 krakjoe

native tls initial patch


# d0cb7153 19-Sep-2014 Johannes Schlüter

s/PHP 5/PHP 7/


# bccc6531 19-Sep-2014 Dmitry Stogov

Avoid double IS_INTERNED() check


Revision tags: php-5.4.33, php-5.5.17
# 079409bb 15-Sep-2014 Nikita Popov

Switch (un)mangle property name to size_t and zend_string

Also use the _ex variants where possible.


# ebc6da56 13-Sep-2014 Nikita Popov

zend_get_property_info takes a zend_string* now


12345678910>>...28