History log of /PHP-8.0/Zend/zend_language_parser.y (Results 451 – 475 of 589)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4a14e5c3 23-Feb-2004 Andi Gutmans

- Decrease precedence of instanceof so that the following is true:
php -r 'var_export((object)1 instanceof stdClass);';
Patch by Jan Lehnardt


Revision tags: php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1
# c6cbafa2 11-Feb-2004 Marcus Boerger

Fix: <interface> [extends <interface> [, <ineterface>]* ]


# c5d84227 04-Feb-2004 Zeev Suraski

Reinstate early-binding for classes.

Note that this is available for downwards compatibility only - and it doesn't
work if you use new features (namely, interfaces). Generally, people s

Reinstate early-binding for classes.

Note that this is available for downwards compatibility only - and it doesn't
work if you use new features (namely, interfaces). Generally, people should
declare their classes before using them, but we just didn't want hell to break
loose (c)

show more ...


Revision tags: php-4.3.5RC2
# 9e60cb55 03-Feb-2004 Zeev Suraski

Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mecha

Rewrote exception support. Fixes a few limitations and bugs in the old
implementation, and allows exceptions to 'fire' much earlier than before.

Instructions on how to use the new mechanism will follow on internals@
shortly...

Note - this (most probably) breaks the current implementation of
set_exception_handler()

show more ...


# 8e30d96a 02-Feb-2004 Zeev Suraski

Redesign the clone() feature to fix some fundamental flaws in the previous
implementation.

Using clone directly is now done using
$replica = clone $src;

Clone methods must n

Redesign the clone() feature to fix some fundamental flaws in the previous
implementation.

Using clone directly is now done using
$replica = clone $src;

Clone methods must now be declared as follows:
function __clone($that)
{
}

Clone methods in derived classes can call the __clone method of their parent
classes using parent::__clone($that)

show more ...


Revision tags: RELEASE_1_3b6, php_ibase_before_split, php-4.3.5RC1
# ac5d5c7f 11-Jan-2004 Andi Gutmans

- Re-allow conditional class declerations. Needless to say that I also
- think it's not great coding.. Use polymorphism instead :)


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


1...<<11121314151617181920>>...24