History log of /PHP-8.1/Zend/zend_compile.h (Results 726 – 750 of 980)
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, RELEASE_0_5_2, RELEASE_1_2b5
# 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
# 68fa4e50 30-Jul-2003 Zeev Suraski

Get rid of an opcode

# c0b46739 30-Jul-2003 Zeev Suraski

Improve array overloading - support unset($foo["bar"])

# 4839ce59 30-Jul-2003 Zeev Suraski

Remove garbage

# 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

# 03b6af07 24-Jul-2003 Zeev Suraski

Support references in foreach()
Syntax:
foreach ($arr as &$val)
foreach ($arr as $key => &$val)

# 237116aa 23-Jul-2003 Stanislav Malyshev

Remove namespace leftovers

# 3a898f6d 16-Jul-2003 Zeev Suraski

More cleanup for assign-op handling of objects

# 13433852 07-Jul-2003 Zeev Suraski

Rework zend_do_declare_property and related code into one code base

# 938c0fbc 07-Jul-2003 Zeev Suraski

Initial support for overloading of array syntax for objects (very initial)

Revision tags: php-5.0.0b1
# 60c7abac 21-Jun-2003 Marcus Boerger

Add final classes

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

updating license information in the headers.

# 8d2a4e04 09-Jun-2003 Zeev Suraski

Fix bogus implicit declarations of properties (squash bug #23671)

# d329ce93 08-Jun-2003 Zeev Suraski

Nicer handling of protected/private members in print_r()

# f7f5a5ea 02-Jun-2003 Stanislav Malyshev

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

# 7463e723 01-Jun-2003 Marcus Boerger

Defining it once is enough

Revision tags: BEFORE_FD_REAPPLY
# 472cc5b9 29-May-2003 Marcus Boerger

Faster interface inheritance & faster inheritance checks

Revision tags: php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init
# dccdb2f5 11-Apr-2003 Sebastian Bergmann

Fix warnings.

# 0191ba5d 10-Apr-2003 Sterling Hughes

allow expressions within constants, so the following is possible

class foo {
const a = 1<<0;
const b = 1<<1;
const c = a | b;
}

this makes co

allow expressions within constants, so the following is possible

class foo {
const a = 1<<0;
const b = 1<<1;
const c = a | b;
}

this makes const a compile-time expression. all other operators are
unaffected.

show more ...

# 5ae7fa42 07-Apr-2003 Sterling Hughes

add markers that make this file easy to parse for external sources

# 1885d008 02-Apr-2003 Andrei Zmievski

Simplify.

# bdd3b604 02-Apr-2003 Andrei Zmievski

Implement a different way to catch documentation comments.

# e6255b06 02-Apr-2003 Andrei Zmievski

Revert portions of the doc comment patch. There should be no parser
errors now.

# 800de8ac 02-Apr-2003 Stanislav Malyshev

allow class_exists() to work with namespaces too.
add CLASS_IS_NAMESPACE macro

1...<<21222324252627282930>>...40