History log of /PHP-8.2/Zend/zend_language_parser.y (Results 501 – 525 of 627)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3
# df033b58 19-Oct-2003 Andi Gutmans

- Nuke const in function parameters. I just can't remember why this exists
- and it seems no one else remembers either. It has no semantic meaning.

# 2ab30d71 09-Oct-2003 Zeev Suraski

Allow foo::$bar()

Revision tags: BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, 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, php-4.3.3RC2
# 03b6af07 24-Jul-2003 Zeev Suraski

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

Revision tags: php-5.0.0b1
# cbec89a3 22-Jun-2003 Zeev Suraski

Fix complex expressions for class names in NEW

# f263aecc 22-Jun-2003 Zeev Suraski

Simplify

# c8bebdaf 21-Jun-2003 Marcus Boerger

WS

# 60c7abac 21-Jun-2003 Marcus Boerger

Add final classes

Revision tags: php-4.3.3RC1
# 8cd97923 15-Jun-2003 Stanislav Malyshev

Fix bug #23384 - static class::constant constants should now
work in static & array expressions.

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

# f7f5a5ea 02-Jun-2003 Stanislav Malyshev

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

Revision tags: BEFORE_FD_REAPPLY
# 21d32c24 29-May-2003 Marcus Boerger

Fix ~ operator in class constants.

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

# 65f06d80 10-Apr-2003 Zeev Suraski

Revert Harald's commit

# dd090f4a 10-Apr-2003 George Schlossnagle

One line fix so that it will compile

# 07e775bc 09-Apr-2003 Harald Radi

removing the *syntactical sugar* again

# commiting that on behalf of the community :)
# don't blame me, i'm just acting as a proxy

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

# 59af2059 01-Apr-2003 Stanislav Malyshev

Add __NAMESPACE__ auto-constant.

# 5657b836 31-Mar-2003 Andrei Zmievski

Multi-purpose patch:
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is no

Multi-purpose patch:
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is now
captured.
- Functions/classes/interfaces/namespaces can be preceded by doc
comments which are stored for use by extensions.

show more ...

# 52372c31 30-Mar-2003 Andrei Zmievski

Since zend_do_begin_class_member_function_call assumes the previous
opcode is FETCH_CONSTANT, swap the calls around.

# 43e87093 26-Mar-2003 Stanislav Malyshev

Un-nest namespaces - now namespace X { namespace Y {} } is a parse error
Also refine namespaced includes

# 39d5a638 19-Mar-2003 Andrei Zmievski

- Keep track of starting/ending line numbers for user functions.
- Store last parsed doc comment in a compiler global for future use.

Revision tags: php-4.3.2RC1
# 12cbee7b 09-Mar-2003 Zeev Suraski

Optimize

1...<<212223242526