History log of /PHP-5.3/Zend/zend_API.h (Results 101 – 125 of 256)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1c2512dd 24-Aug-2003 Marcus Boerger

- Add fn_flag ZEND_ACC_ALIAS
- Unify way of function_entry generation by new macro ZEND_FENTRY


# 38805f28 24-Aug-2003 Marcus Boerger

Add property read code and use that in default exception class


# baaa4c90 23-Aug-2003 Marcus Boerger

Internal classes can now have default properties.


Revision tags: php-4.3.3RC4
# 717b5afe 17-Aug-2003 Marcus Boerger

Fix warnings


# c7d9be97 17-Aug-2003 Sascha Schumann

explicitly cast size_t to zend_uint to avoid warnings on 64 bit platforms.


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


# 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, php-4.3.3RC2
# 2fd4ffce 30-Jul-2003 Zeev Suraski

Add exec_finished() callback for modules - this is the last place where the
modules may touch the symbol table reliably


# 0229aad0 21-Jul-2003 George Schlossnagle

reverted at Andi's request. replaced with more generic wrapper.


# 13433852 07-Jul-2003 Zeev Suraski

Rework zend_do_declare_property and related code into one code base


# daf3ac65 06-Jul-2003 George Schlossnagle

add convenience functions or adding class properties. Ok'd for commit by Andi.


Revision tags: php-5.0.0b1, php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


# 039c1743 04-Jun-2003 Stanislav Malyshev

rm namespace leftovers


# f7f5a5ea 02-Jun-2003 Stanislav Malyshev

MEGA-patch: namespaces are R.I.P.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4
# b1b8ed64 23-May-2003 Marcus Boerger

Revert to sizeof()


Revision tags: BEFORE_FD_REVERT
# 909eafc2 20-May-2003 Sterling Hughes

add fast_call_user_function()


# cb71ac03 20-May-2003 Hartmut Holzgraefe

C++ compile fixes


Revision tags: php-4.3.2RC3, RELEASE_0_9b
# 29a3586f 04-May-2003 Marcus Boerger

Allow functions in internal namespaces (for example factories)


Revision tags: SPL_ALPHA, php-4.3.2RC2
# ad01495a 21-Apr-2003 Stanislav Malyshev

Change get_class() so that it returns qualified names for namespaced
classes.

*HEADS UP*: get_class_name() handler interface is changed, now it should
allocate the space it returns w

Change get_class() so that it returns qualified names for namespaced
classes.

*HEADS UP*: get_class_name() handler interface is changed, now it should
allocate the space it returns with emalloc, and the users free it. If
anyone has problems with it or has suggestions how to do it without this -
please tell.

Also: make function_exists() understand namespaces.

show more ...


Revision tags: RELEASE_0_6, RELEASE_0_5, init
# e5f4c783 08-Apr-2003 Andrei Zmievski

Rename zend_register_internal_class_in_ns() to a better, less filling,
but with the same great taste zend_register_internal_ns_class().


# 81482833 04-Apr-2003 Andrei Zmievski

Introduce ZEND_ME() and ZEND_METHOD() macros. Use these for declaring
class methods to avoid name collisions.


# 6ed30594 04-Apr-2003 Stanislav Malyshev

Fix namespace issues


# 3d62a349 02-Apr-2003 Andrei Zmievski

- Add zend_register_internal_namespace() API function.
- Add zend_register_internal_class_in_ns() API function.


# 3fc85282 26-Mar-2003 Sebastian Bergmann

Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().


1234567891011