History log of /php-src/Zend/zend_language_parser.y (Results 551 – 575 of 639)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# a4c3b2ce 16-Feb-2003 Stanislav Malyshev

Namespace patch. Big changes:
1. Nested classes are gone.
2. New syntax for namespaces:
namespace foo {
class X { ... }
function bar { ... }
var x = 1;

Namespace patch. Big changes:
1. Nested classes are gone.
2. New syntax for namespaces:
namespace foo {
class X { ... }
function bar { ... }
var x = 1;
const ZZ = 2;
}
3. Namespaced symbol access: $x = new foo::X; - etc.
For now, namespaces are case insensitive, just like classes.
Also, there can be no global class and namespace with the same name
(to avoid ambiguities in :: resolution).

show more ...

# 28145041 11-Feb-2003 Zeev Suraski

Improve parser handling of 'abstract'

# 6317e265 10-Feb-2003 Zeev Suraski

- Treat $this->foo inside class X as an implicit 'public $foo' if X::$foo
is not explicitly declared
- Forbid multiple declaration of the same variable

# 333406bd 01-Feb-2003 foobar

- Added some missing CVS $Id$ tags, headers and footers.

Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# c073b76a 14-Jan-2003 Andi Gutmans

- Change "is" to "instanceof" as it explains better what the operator means.
- "is_a" was also appropriate but ugly.

# 4bab4a7b 09-Jan-2003 Zeev Suraski

Fix writability checks

Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3
# 32b100e6 09-Dec-2002 Zeev Suraski

- Allow variables to have both 'static' modifier and an access level.
NOTE: This only works at the syntax level right now (parser). It
doesn't actually work as of yet - all stati

- Allow variables to have both 'static' modifier and an access level.
NOTE: This only works at the syntax level right now (parser). It
doesn't actually work as of yet - all statics are considered
public for now
- Prevent users from putting more restrictions on methods in derived classes
(i.e., you cannot make a public method private in a derived class, etc.)

show more ...

# dc5c790a 08-Dec-2002 Zeev Suraski

Treat the absence of an access type just as if 'public' was supplied

# e156edb1 07-Dec-2002 Zeev Suraski

Remove unintentional code

# e062dffe 06-Dec-2002 Zeev Suraski

- Implement public/protected/private methods.
- Prevent instantiation of classes with abstract methods.
Based in part on Marcus's patch.

Revision tags: php-4.3.0RC2, RELEASE_1_0b2
# 6aa90a75 24-Nov-2002 Andi Gutmans

- FN_IS_STATIC -> FN_STATIC

# e8214a33 23-Nov-2002 Andi Gutmans

- Commit Marcus' cleanup of abstract and static inheritance and improve
- error messages

# 227f7838 20-Nov-2002 Andi Gutmans

- Fix build (thanks Marcus)
- Implement abstract methods, syntax:
- abstract function foo($vars);
- I don't see any reason why modifiers such as static/public need to be
- used wit

- Fix build (thanks Marcus)
- Implement abstract methods, syntax:
- abstract function foo($vars);
- I don't see any reason why modifiers such as static/public need to be
- used with abstract. PHP is weakly typed and there would be no meaning to
- this anyway. People who want a strictly typed compiled language are
- looking in the wrong place.

show more ...

Revision tags: BEFORE_RENAMING, php-4.3.0RC1
# 830c2e0d 10-Nov-2002 Stanislav Malyshev

fix statics - make it behave like $this (fetch type "static")
Side effect: indirect references to statics won't work.

# c4978680 05-Nov-2002 Andi Gutmans

- Add support for static methods. Basically methods which are defined as
- static don't have $this. That's the whole difference.

# 983be5c7 05-Nov-2002 Andi Gutmans

- ATTENTION: Finally nuke old_function and cfunction. I think it is time
- to get rid of these BC notations. This is from the days of the move from
- PHP/FI 2 -> PHP 3

Revision tags: php-4.3.0pre2
# 046bdeaa 14-Oct-2002 Andi Gutmans

- Support new classname::$class_name, e.g.:
<?

class foo::bar {
public $hello = "Hello, World\n";
}

$name = "bar";
$o

- Support new classname::$class_name, e.g.:
<?

class foo::bar {
public $hello = "Hello, World\n";
}

$name = "bar";
$obj = new foo::$name;
print $obj->hello;
?>

show more ...

Revision tags: RELEASE_1_0b1, php-4.3.0pre1
# d3617c51 09-Oct-2002 Ilia Alshanetsky

MFZE1 zend_str_tolower issue.

Revision tags: MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003
# aa7bffee 01-Oct-2002 Andi Gutmans

- Fix problem when crashing on illegal tokens in class name during class
- definition.

# ee7b8f90 26-Sep-2002 Ilia Alshanetsky

MFZE1

# f78fa504 24-Sep-2002 Andi Gutmans

- Megapatch to try and support inheritance from sub-classes. Things might
- be *very* buggy now so don't get too upset if that happens.
- I still need to improve some stuff but it's a good st

- Megapatch to try and support inheritance from sub-classes. Things might
- be *very* buggy now so don't get too upset if that happens.
- I still need to improve some stuff but it's a good step (hopefully).

show more ...

# 8831b9cf 23-Sep-2002 Andi Gutmans

- MFZE1.

Revision tags: RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3, php-4.2.3RC2, php-4.2.3RC1
# b806a8e2 14-Aug-2002 Jason Greene

MFZE1 (use token instead of global for opcode counting)

# 52406cb3 08-Aug-2002 Andi Gutmans

- Make new 'is' operator work with classes only and return false when
- the object isn't of the said class or the value isn't an object.

Revision tags: dev
# 82c72f27 30-Jul-2002 Andrei Zmievski

@- Adding 'is' operator that can be used to check the type of a variable,
@ or its class. (Andrei)

1...<<212223242526