History log of /PHP-7.3/ext/reflection/php_reflection.c (Results 676 – 698 of 698)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# fe1a086d 16-Aug-2003 Marcus Boerger

Simplify abstract method declaration


Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# 92b4013e 05-Aug-2003 Zeev Suraski

Try to put an end to the endless number of call_user_function variants.
zend_call_function() now takes a structure that should contain all of the
necessary information. If further informatio

Try to put an end to the endless number of call_user_function variants.
zend_call_function() now takes a structure that should contain all of the
necessary information. If further information is necessary in the future,
then we'll be able to add it without having to introduce a new function.

As for caching - the 2nd, optional argument is a struct that can hold all
of the information that's necessary to invoke the function, including its
handler, scope and object it operates on (if any). Note that you may only
use a cache if the arguments you provide to zend_call_function() are
identical to the ones of the last call, except for the argument and return
value information.


The recently introduced fast_call_user_function() was removed

I fixed most of the places that used fast_call_user_function() to use caching
but there are still some that need to be fixed (XML and reflection)

show more ...


# 3597704c 04-Aug-2003 Marcus Boerger

Add function/method parameter reflection


# f8bbafd6 03-Aug-2003 Zeev Suraski

ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future

ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance

Both user and builtin functions share the same data structures.

To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:

ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();

and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.

The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.

The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.

show more ...


Revision tags: BEFORE_ARG_INFO
# 04c90c87 02-Aug-2003 Marcus Boerger

Show interfaces


Revision tags: php-4.3.3RC2
# 786afb48 23-Jul-2003 Sebastian Bergmann

Fix segfault. Patch by Timm Friebe <thekid@thekid.de>.


# 600f72f7 20-Jul-2003 George Schlossnagle

should nt here


# cfe2eda4 20-Jul-2003 Marcus Boerger

Fix warnings and whitespace in output


# 23da3057 20-Jul-2003 Marcus Boerger

Add support for instances in Reflection_Class.
# Thanks to Timm for the fast patch contained reply to my help request :-)))


# 7c7de5eb 20-Jul-2003 George Schlossnagle

removed references to smart_str, replaced with private string management
function. When snprintf is integrated into the engine, string_printf
should be altered to use that.


# 84f5e487 20-Jul-2003 George Schlossnagle

more of Timm's implementation.


# c86b4d13 04-Jul-2003 Sebastian Bergmann

2 * TSRMLS_FETCH() -> 1 * TSRMLS_DC


# 96b71d7f 04-Jul-2003 George Schlossnagle

ws fix


# edf78b21 03-Jul-2003 George Schlossnagle

win build fixes (Rob Richards)


# 6a4c48be 03-Jul-2003 George Schlossnagle

can't forget Andrei


# 3d7283b9 03-Jul-2003 George Schlossnagle

more of Timm's patches, and mod authors line to give credit where credit is due.


# c36a59cf 01-Jul-2003 George Schlossnagle

Timm Friebe's patches for code celanup and additional functions.


# fff7ef2f 01-Jul-2003 Sebastian Bergmann

ZTS fixes.


# 4edd9505 01-Jul-2003 George Schlossnagle

more incremental changes. add anything that needs a class factory.


# 9c26571b 01-Jul-2003 George Schlossnagle

all the easy parts of Reflection_Class


# 288dacca 30-Jun-2003 Andi Gutmans

- ZE coding style requires if ( instead of if(


# 5ee72bb4 30-Jun-2003 Sebastian Bergmann

ZTS fixes. Remove unused local variables.


# aa96d170 30-Jun-2003 George Schlossnagle

added support for Reflection_Function, the first part of
the reflection api


1...<<2122232425262728