History log of /PHP-7.3/Zend/zend_language_parser.y (Results 401 – 425 of 533)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6b87194b 08-Jan-2004 Andi Gutmans

- - A belated happy holidays (by two years)


# 885eafac 27-Dec-2003 Marcus Boerger

Fixed bug #26065 (Crash when nesting classes)


Revision tags: php-5.0.0b3, php-5.0.0b3RC2
# 535653ee 19-Dec-2003 Andi Gutmans

- Nuke another rule (thanks to Jan for noticing this)


# f9f19c99 19-Dec-2003 Andi Gutmans

- Nuke unused code


Revision tags: php-5.0.0b3RC1
# c0df4502 18-Nov-2003 Andi Gutmans

- Add E_STRICT, to be used to warn purists (like Jani :)


Revision tags: php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1
# 53078998 28-Oct-2003 Andi Gutmans

- Head up! I'm reverting the patch which allows for expressions in constant
- declerations. Allowing the access of other constants in this code is
- flawed. We are reverting back to PHP 4's s

- Head up! I'm reverting the patch which allows for expressions in constant
- declerations. Allowing the access of other constants in this code is
- flawed. We are reverting back to PHP 4's static scalars.
- Don't worry if you get the following msg when compiling:
- "zend_language_parser.y contains 3 useless nonterminals and 22 useless rules"
- I didn't nuke the code in case we have some brilliant ideas after beta 2

show more ...


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.


1...<<11121314151617181920>>...22