History log of /PHP-7.0/Zend/zend_language_parser.y (Results 351 – 375 of 498)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.3.9RC3, PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1
# dc7cb199 02-Aug-2004 Marcus Boerger

- Remove all for now
# - the optimization part can be done in apc or compareable products
# - NULL can be reintroduced later when needed


# d96e7a17 29-Jul-2004 Sara Golemon

Revert goto opcode


# 5865b368 29-Jul-2004 Sara Golemon

Add goto operator by popular request.


Revision tags: RELEASE_0_1
# 86d46f7c 16-Jul-2004 Marcus Boerger

- Speed up by making null/false/true reserved word which allows to drop
an opcode (FETCH_CONSTANT) for every usage.


Revision tags: php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2
# 173782b7 20-Apr-2004 Andi Gutmans

- Fix bug #27283 - Exceptions where the last catch() statement was sometimes
- skipped.


Revision tags: php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1
# 12933301 28-Mar-2004 Stanislav Malyshev

check writability on =& too


Revision tags: php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1
# 50ee116f 09-Mar-2004 Marcus Boerger

Clearify the different method/class flags (as discussed with Andi).


Revision tags: RELEASE_0_2_0
# 059c533b 26-Feb-2004 Marcus Boerger

Fix __METHOD__ (noticed by Davey Sahfik)


# 4f05437e 23-Feb-2004 Andi Gutmans

- Improve precendence:

<?php

$obj->foo = "Blah";

if (!$obj instanceof StdClass) {
print "No";
} else {
print "Yes";
}


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


1...<<11121314151617181920