History log of /PHP-8.3/Zend/zend_execute_API.c (Results 876 – 900 of 1106)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-4.3.3RC4, RELEASE_0_5_3, php-4.3.3RC3
# 5b312b57 07-Aug-2003 Zeev Suraski

Clarify use of original_function_state_ptr

# e9a4c91c 07-Aug-2003 Marcus Boerger

- Fix warnings
- Fix code

Revision tags: RELEASE_0_5_2
# 0a83ebfd 06-Aug-2003 Zeev Suraski

clarify :)

# cc011660 05-Aug-2003 foobar

Fix the build

Revision tags: 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 ...

# f572897d 05-Aug-2003 Stanislav Malyshev

remove stack clean - it makes trouble

# 65557ef6 04-Aug-2003 Marcus Boerger

Nuke unused variables

# 1007b0a8 04-Aug-2003 Ilia Alshanetsky

Fixed bug #23104 (hash position of static arrays not being reset)

# 2884e8a7 04-Aug-2003 Stanislav Malyshev

oops. forgot function

# 7cb17302 04-Aug-2003 Stanislav Malyshev

fix crash #24842

# 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
# 9d7122fb 03-Aug-2003 Zeev Suraski

Generalize fetch_class

Revision tags: php-4.3.3RC2
# 47fef22b 27-Jul-2003 Stanislav Malyshev

change shutdown order so that dtors would coexist with object error handlers

# 5bfd386b 27-Jul-2003 Stanislav Malyshev

make shutdown more granular so in case some dtor goes ape we still
can shut down cleanly

# 5a7b0770 03-Jul-2003 Stanislav Malyshev

Fix bug #19859 - allow fast_call_user_function to support __call

# 92e9e0ca 02-Jul-2003 Sterling Hughes

optimize the case where the object is really a class name, as we don't need
to set EX(object) here.

# 3fc83023 02-Jul-2003 Sterling Hughes

Timm Friebe points out that object detection should be done regardless of
the function pointer

# bef4696d 01-Jul-2003 Marcus Boerger

small bugfix

# 288dacca 30-Jun-2003 Andi Gutmans

- ZE coding style requires if ( instead of if(

Revision tags: php-5.0.0b1, php-4.3.3RC1
# fe1ef91e 15-Jun-2003 Stanislav Malyshev

No need to duplicate code - zend_get_constant() knows to
handle class constants now

# 95a936be 15-Jun-2003 Stanislav Malyshev

Fix bug #18872 - Improper handling of class constants used as default
function argument values

# efafae14 15-Jun-2003 Stanislav Malyshev

Fix bug #21800 - initialize opcode handlers in interactive mode

# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.

# 7959b2d7 09-Jun-2003 Wez Furlong

Fix for Bug #23951

# 565985ac 09-Jun-2003 Stanislav Malyshev

Support 'self' and 'parent' in call_user_func()

1...<<31323334353637383940>>...45