History log of /PHP-7.1/Zend/zend_compile.c (Results 1676 – 1700 of 1956)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.2.0RC1
# 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.


# 0ce019f7 15-Mar-2002 Andi Gutmans

- Fix issues with $this when using it by itself without indirection such as
- $this->foo.


Revision tags: help
# fb6976e4 12-Mar-2002 Andi Gutmans

- Another couple of indirection fixes.
- Make class_entry->refcount be part of the structure and not allocated.


# c8c629b3 12-Mar-2002 Andi Gutmans

- Fix bug introduced with latest class hash table change.


# 92dd5e61 12-Mar-2002 Stanislav Malyshev

- make class tables contain class_entry *, not class_entry
- fix isset($this)


# 04ed2b52 10-Mar-2002 Stanislav Malyshev

New stuff for objects API:
- Better assignment handling
- More flexible operations with zval-containing objects


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


# 68a82f14 14-Feb-2002 Andrei Zmievski

Fix the bug where the declared properties without init values were not
entered into the table.


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


# 6608f073 07-Feb-2002 Stanislav Malyshev

Mega-commit: Enter the new object model
Note: only standard Zend objects are working now. This is definitely going to
break custom objects like COM, Java, etc. - this will be fixed later.

Mega-commit: Enter the new object model
Note: only standard Zend objects are working now. This is definitely going to
break custom objects like COM, Java, etc. - this will be fixed later.
Also, this may break other things that access objects' internals directly.

show more ...


Revision tags: BEFORE_NEW_OBJECT_MODEL
# e366f5db 04-Feb-2002 Andi Gutmans

- Fix problem with the objects_destructor called during shutdown. It was
- freeing objects from id 0 instead of id 1. id 0 is not used.
- Change isset/empty opcodes to support static members

- Fix problem with the objects_destructor called during shutdown. It was
- freeing objects from id 0 instead of id 1. id 0 is not used.
- Change isset/empty opcodes to support static members and the new way of
- doing $this->foobar. Also the opcodes operate now on the hash table
- combined with the variable names so that they can be overloaded by the
- soon to be added overloading patch.

show more ...


Revision tags: PRE_ISSET_PATCH
# 7309a6ed 25-Jan-2002 Andi Gutmans

- First destructor hell fix. There was a situation where an object's
- destructor could be run after its class was already dead. Right now
- object destructors is the first thing whic happens

- First destructor hell fix. There was a situation where an object's
- destructor could be run after its class was already dead. Right now
- object destructors is the first thing whic happens during shutdown in
- order to prevent this problem. It's very likely that destructors will
- cause more grief and we'll have to outline exactly when you should use
- them and what kind of logic you're allowed to do inside of them.
- This bug was reported by sebastian.

show more ...


# 2131b019 20-Jan-2002 Andi Gutmans

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


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


# e1876cba 05-Jan-2002 Andi Gutmans

- Small fix


# e56fb163 05-Jan-2002 Andi Gutmans

- Allow passing of $this as function arguments.
- Fix a bug which I introduced a couple of months ago


# a4248dd5 05-Jan-2002 Andi Gutmans

- Significantly improve the performance of method calls and $this->member
- lookups.


# 878f78a6 04-Jan-2002 Andi Gutmans

- Nuke C++ comments


# 6203a250 04-Jan-2002 Andi Gutmans

- Separate other kinds of function calls too.
- Significantly improve performance of function calls by moving lowercasing
- the function name to compile-time when possible.


# 0ab9d112 04-Jan-2002 Andi Gutmans

- Start splitting up different kinds of function calls into different
- opcodes.


1...<<61626364656667686970>>...79