History log of /PHP-5.3/Zend/zend_language_parser.y (Results 151 – 175 of 213)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# bc5ea87e 15-Jul-2002 Andi Gutmans

- Commit patch to support protected member variables (by Timm Friebe w/
- some fixes by me).
- You can't access protected variables from outside the object. If you want
- to see a protect

- Commit patch to support protected member variables (by Timm Friebe w/
- some fixes by me).
- You can't access protected variables from outside the object. If you want
- to see a protected member from your ancestors you need to declare the
- member as protected in the class you want to use it in. You can't
- redeclare a protected variable as private nor the other way around.

show more ...


# 7b68f510 14-Jul-2002 Andi Gutmans

- Nuke delete(). It was a big mistake to introduce it and I finally
- understand why Java didn't do so.
- If you still want to control destruction of your object then either make
- sure y

- Nuke delete(). It was a big mistake to introduce it and I finally
- understand why Java didn't do so.
- If you still want to control destruction of your object then either make
- sure you kill all references or create a destruction method which you
- call yourself.

show more ...


Revision tags: INITIAL_IMPORT_SOURCEFORGE
# c9f1c9c1 07-Jul-2002 Sebastian Bergmann

Allow for 'class Namespace::Bar extends Foo' syntax. Patch by Timm Friebe <thekid@thekid.de>.


# 0ae66bd6 06-Jul-2002 Zeev Suraski

spelling fix


Revision tags: xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2
# 5f2fcdd6 29-Jun-2002 Andi Gutmans

- Add missing semi-colon.


# e2f57d0f 22-Jun-2002 Andi Gutmans

- MFZE1


Revision tags: php-4.3.0dev, php5_5_0
# b2015c56 11-Jun-2002 Andi Gutmans

- Fix problem with assigning functions by reference.


Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1, php-4.2.0, php-4.2.0RC4, php-4.2.0RC3
# 60ccb411 10-Apr-2002 foobar

MFZE1


Revision tags: php-4.2.0RC2
# e7100e22 21-Mar-2002 Andi Gutmans

- No idea how this slipped in. Fix delete $obj statement.


Revision tags: php-4.2.0RC1
# a990c4da 19-Mar-2002 Andi Gutmans

- Finish covering all parsed methods to check for validity in parser.
- Change zval's refcount to zend_uint (If it doesn't slow down the Engine
- too much it should probably stay this way). I

- Finish covering all parsed methods to check for validity in parser.
- Change zval's refcount to zend_uint (If it doesn't slow down the Engine
- too much it should probably stay this way). If anyone has time to test
- the difference in speed between zend_ushort & zend_uint in zend.h of
- the struct _zval_struct (one line change) I'd be glad to get some
- figures.

show more ...


# c5ad6ae1 18-Mar-2002 Andi Gutmans

- More fixes to check for member/function call legality.


# 46afe61d 17-Mar-2002 Andi Gutmans

- Start putting error handling where method calls are being used in a
- context where only writable variables should be used.


Revision tags: help
# b90d80b5 02-Mar-2002 Andi Gutmans

- Initial patch to support importing from class scopes (for Stig).
- It isn't complete yet but I want to work on it from another machine. It
- shouldn't break anything else so just don't try

- Initial patch to support importing from class scopes (for Stig).
- It isn't complete yet but I want to work on it from another machine. It
- shouldn't break anything else so just don't try and use it.
- The following is a teaser of something that already works:
<?php

class MyClass
{
function hello()
{
print "Hello, World\n";
}
class MyClass2
{
function hello()
{
print "Hello, World in MyClass2\n";
}
}
}

import function hello, class MyClass2 from MyClass;

MyClass2::hello();
hello();
?>

show more ...


# 90bd4539 01-Mar-2002 Andi Gutmans

- Remove use of C++ reserved words namespace/this


# d1eea3de 01-Mar-2002 Andi Gutmans

- Fix bug in nested try/catch's
- Infrastructure for implementing imports of methods.


Revision tags: php-4.1.2
# 00e90f2f 21-Feb-2002 Andi Gutmans

- Experimental support for private members.
<?
class MyClass {
private $Hello = "Hello, World!\n";

function printHello()

- Experimental support for private members.
<?
class MyClass {
private $Hello = "Hello, World!\n";

function printHello()
{
print $this->Hello;
}
}

class MyClass2 extends MyClass {
function printHello()
{
MyClass::printHello(); /* Should print */
print $this->Hello; /* Shouldn't print out anything */
}
}

$obj = new MyClass();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello(); /* Should print */

$obj = new MyClass2();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello();
?>

show more ...


# 21b04ff2 13-Feb-2002 Andi Gutmans

@ Allow a series of consecutive catch() statements (Andi, Zend Engine)
<?php
class MyException1 {

}

class MyException2 {

}

@ Allow a series of consecutive catch() statements (Andi, Zend Engine)
<?php
class MyException1 {

}

class MyException2 {

}

try {
throw new MyException2();
} catch (MyException1 $m) {
print "Caught MyException1";
} catch (MyException2 $m) {
print "Caught MyException2";
}

show more ...


Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH
# 2131b019 20-Jan-2002 Andi Gutmans

- Improve performance of functions that use $GLOBALS[]
- Please check this and make sure it doesn't break anything.


# a0ab80ab 19-Jan-2002 Thies C. Arntzen

MFZE1


# f1e8815c 13-Jan-2002 Andi Gutmans

- Change exception handling to use the Java-like catch(MyException $exception)
- semantics. Example:
<?php

class MyException {
function __construct($excep

- Change exception handling to use the Java-like catch(MyException $exception)
- semantics. Example:
<?php

class MyException {
function __construct($exception)
{
$this->exception = $exception;
}

function Display()
{
print "MyException: $this->exception\n";
}

}
class MyExceptionFoo extends MyException {
function __construct($exception)
{
$this->exception = $exception;
}
function Display()
{
print "MyException: $this->exception\n";
}
}

try {
throw new MyExceptionFoo("Hello");
} catch (MyException $exception) {
$exception->Display();
}
?>

show more ...


# 62dc854b 06-Jan-2002 Sebastian Bergmann

Happy New Year.


# ae1a7025 28-Dec-2001 Andi Gutmans

- Fix some case insensitivity stuff in respect to classes


# b14f6cf7 28-Dec-2001 Andi Gutmans

- Support default arguments for reference parameters
- Fix two compile warnings


# 2ce4b476 26-Dec-2001 Andi Gutmans

- Initial support for _clone()


# f85c818f 26-Dec-2001 Andi Gutmans

- Start fixing the parsing rules so that function and method calls
- can't be used in a write context.


123456789