History log of /PHP-5.6/Zend/zend_language_parser.y (Results 251 – 275 of 305)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
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.


Revision tags: php-4.1.1
# e1e02af5 25-Dec-2001 Andi Gutmans

- Revert delete syntax patch


# 9e7c0d67 22-Dec-2001 Andi Gutmans

- Add initial capability of defining nested classes as class foo::bar


# 1e56cac3 16-Dec-2001 Andi Gutmans

- Seems like most people prefer delete($obj) over delete $obj.


# ac7ed464 16-Dec-2001 Andi Gutmans

- Start adding parsed variable checks.


# 880e7d8c 16-Dec-2001 Andi Gutmans

- Framework for knowing what kind of variable we just parsed.
- This will be used in compile-time error checking which couldn't be done
- at the level of the grammar.


# 7c749c18 13-Dec-2001 Andi Gutmans

- Rearrange grammar to allow dereferencing of objects returned from
- functions. It still crashes though.


Revision tags: PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 74efc41f 12-Dec-2001 Andi Gutmans

- Make classes have scope and function/constant lookups default to the class


# d863d52a 11-Dec-2001 Sebastian Bergmann

Update headers.


1...<<111213