#
40becd37 |
| 14-Mar-2002 |
Stanislav Malyshev |
fix for delete $this and unset $this
|
Revision tags: help |
|
#
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)
|
#
d77ff960 |
| 10-Mar-2002 |
Andi Gutmans |
- Fix build in ZTS mode.
|
#
04ed2b52 |
| 10-Mar-2002 |
Stanislav Malyshev |
New stuff for objects API: - Better assignment handling - More flexible operations with zval-containing objects
|
#
90f6005f |
| 08-Mar-2002 |
Andi Gutmans |
- Support importing constants. e.g.: <?php class MyOuterClass { const Hello = "Hello, World\n"; } import const Hello from MyOuter
- Support importing constants. e.g.: <?php class MyOuterClass { const Hello = "Hello, World\n"; } import const Hello from MyOuterClass; print Hello;
show more ...
|
#
83f102fd |
| 06-Mar-2002 |
Andi Gutmans |
- Add function * and class * functionality. Only constants are left. <?php class MyOuterClass { class MyInnerClass { function func
- Add function * and class * functionality. Only constants are left. <?php class MyOuterClass { class MyInnerClass { function func1() { print "func1()\n"; } function func2() { print "func2()\n"; } } } import class * from MyOuterClass; import function func2 from MyOuterClass::MyInnerClass; MyInnerClass::func1(); func2();
show more ...
|
#
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
|
Revision tags: php-4.1.2 |
|
#
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 |
|
#
8535164f |
| 04-Feb-2002 |
Andi Gutmans |
- This small patch should also take care of allowing unseting of $this->foo - and static members. The unset() opcode was luckily already suitable for - object overloading.
|
#
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 |
|
#
c2b73faa |
| 22-Jan-2002 |
Andi Gutmans |
- Fix a bug reported by Sebastian with indirect class names not working.
|
#
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 ...
|
#
0f398e4d |
| 06-Jan-2002 |
Andi Gutmans |
- Make sure $this is passed on to methods
|
#
62dc854b |
| 06-Jan-2002 |
Sebastian Bergmann |
Happy New Year.
|
#
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.
|
#
eb08cb95 |
| 04-Jan-2002 |
Andi Gutmans |
- Improve performance of indirect-referenced function calls
|
#
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.
|
#
9b391a83 |
| 03-Jan-2002 |
Derick Rethans |
- MFZE1 for exit fix, exposing current function name in error messages and exposing zend_zval_type_name().
|
#
b14f6cf7 |
| 28-Dec-2001 |
Andi Gutmans |
- Support default arguments for reference parameters - Fix two compile warnings
|
#
b3fd2faa |
| 27-Dec-2001 |
Andi Gutmans |
- Support parent:: again
|