History log of /PHP-5.4/Zend/zend_API.c (Results 301 – 325 of 506)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# b84e9db3 24-Aug-2003 Marcus Boerger

Allow NULL, too


# 3605be8a 24-Aug-2003 Marcus Boerger

Fix fn_flags handling


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


# fbda310a 23-Aug-2003 Marcus Boerger

- Flag ctor/dtor methods
- Use this to prevent memleaks when an exception gets thrown in ctors.
# I added the dtor flags for consistency, atm a compareable check in
# isn't necessary for

- Flag ctor/dtor methods
- Use this to prevent memleaks when an exception gets thrown in ctors.
# I added the dtor flags for consistency, atm a compareable check in
# isn't necessary for destruction. But anyway i'll use this for the
# Relection API too.

show more ...


# fda38bf2 21-Aug-2003 Marcus Boerger

If ce not given than any object would do


# 80b34988 21-Aug-2003 Marcus Boerger

Paramspec 'O' / zend_parse_method_params(): only if given check the class type


# 0dba58c3 18-Aug-2003 Zeev Suraski

Improve tracking


Revision tags: php-4.3.3RC4
# 82050ae8 17-Aug-2003 Marcus Boerger

- Show class names in error messages when dealing with methods
- Mark class as abstract if it gets an abstract method


# fe1a086d 16-Aug-2003 Marcus Boerger

Simplify abstract method declaration


# e08aedf5 13-Aug-2003 Marcus Boerger

- Show classes in case of methods
- Using sprintf here was a bad idea


Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5
# ef5a79bf 03-Aug-2003 Zeev Suraski

Ensure functions have a valid access level


# e3f41479 03-Aug-2003 Zeev Suraski

Default to public


# 8c614ddd 03-Aug-2003 Marcus Boerger

Not needed, will be copied from ptr->flags later


# 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
# 7112d3a3 03-Aug-2003 Zeev Suraski

No need for this initialization - this function initializes all of the
elements of zend_internal_function


# 4f1e331c 02-Aug-2003 Marcus Boerger

Initialize all struct members: Necessary for reflection


# 0b6f7bdd 02-Aug-2003 Wez Furlong

fix usage of instanceof here too


# 5c4de266 01-Aug-2003 Wez Furlong

better fix...


# ad12b3da 01-Aug-2003 Wez Furlong

Fix "O" format for zend_parse_parameters


# 4f6b3152 31-Jul-2003 Zeev Suraski

Use instanceof_function()


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


# af1254e4 12-Jul-2003 Andi Gutmans

- WS


# 939ab686 11-Jul-2003 Andi Gutmans

- Add support for Z in zend_parse_parameters(). It will allow the extension
- to retreive the zval **, thus allowing it to use the convert_to_*_ex()
- family of functions to do type conversio

- Add support for Z in zend_parse_parameters(). It will allow the extension
- to retreive the zval **, thus allowing it to use the convert_to_*_ex()
- family of functions to do type conversions without effecting the value in
- the engine itself. (Josh Fuhs <fuhs@purdue.edu>)

show more ...


# 13433852 07-Jul-2003 Zeev Suraski

Rework zend_do_declare_property and related code into one code base


1...<<1112131415161718192021