Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Fix scoping issue. The following works now: | Andi Gutmans | 2001-12-26 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <? class MyClass { static $id = 0; function MyClass() { $this->id = self::$id++; } function _clone() { $this->name = $clone->name; $this->address = "New York"; $this->id = self::$id++; } } $obj = new MyClass(); $obj->name = "Hello"; $obj->address = "Tel-Aviv"; print $obj->id; print "\n"; $obj = $obj->_clone(); print $obj->id; print "\n"; print $obj->name; print "\n"; print $obj->address; print "\n"; | |||||
* | - Initial support for _clone() | Andi Gutmans | 2001-12-26 | 1 | -0/+12 | |
| | ||||||
* | - Fix a crash (not a thorough fix). | Andi Gutmans | 2001-12-25 | 1 | -0/+2 | |
| | | | | | - Commented old code | |||||
* | - Fixed bug where global functions weren't called if they didn't exist | Andi Gutmans | 2001-12-24 | 1 | -4/+11 | |
| | | | | | - in the class scope | |||||
* | - Fix crash bug in startup code. | Andi Gutmans | 2001-12-13 | 1 | -2/+16 | |
| | | | | | - Start work on being able to reference global and local scope | |||||
* | - Make classes have scope and function/constant lookups default to the class | Andi Gutmans | 2001-12-12 | 1 | -7/+13 | |
| | ||||||
* | - Rename zend_class_entry.constants -> zend_class_entry.constants_table | Andi Gutmans | 2001-12-11 | 1 | -2/+2 | |
| | ||||||
* | - Start making scope change correctly when calling namespace functions. | Andi Gutmans | 2001-12-11 | 1 | -13/+29 | |
| | | | | | | - When inside a namespace fallback to global namespace when function - or constant is not found. | |||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 1 | -2/+2 | |
| | ||||||
* | - More namespaces work. | Andi Gutmans | 2001-12-10 | 1 | -4/+20 | |
| | | | | | - Nuke memory leak. | |||||
* | - Support constants. The following works now: | Andi Gutmans | 2001-12-06 | 1 | -10/+19 | |
| | | | | | | | | | | | | | | | | | | | <? class foo { const GC = "foo constant\n"; } define("GC", "Global constant\n"); namespace; print GC; namespace foo; print GC; namespace; print foo::GC; ?> | |||||
* | - Initial work on changing namespace scope. Only methods & variables | Andi Gutmans | 2001-12-06 | 1 | -3/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - right now. <? $hey = "Global hey\n"; class foo { static $hey = "Namespace hey\n"; function bar() { print "in foo::bar()\n"; } } function bar() { print "in bar()\n"; } bar(); namespace foo; bar(); namespace; bar(); namespace foo; $bar_indirect = "bar"; $bar_indirect(); namespace; print $hey; namespace foo; print $hey; $hey = "Namespace hey #2\n"; namespace; print $hey; $hey = "Global hey #2\n"; namespace foo; print $hey; ?> | |||||
* | - Nuke the namespace work I did. It'll be redone differently. | Andi Gutmans | 2001-12-06 | 1 | -7/+0 | |
| | ||||||
* | - Initial support for class constants. There are still a few semantic | Andi Gutmans | 2001-11-30 | 1 | -6/+19 | |
| | | | | | | | | | | | | | | - issues which need to be looked into but basically it seems to work. - Example: <?php class foo { const hey = "hello"; } print foo::hey; ?> | |||||
* | - Support static members. The following script works: | Andi Gutmans | 2001-11-25 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <? class foo { class bar { function init_values() { for ($i=1; $i<10; $i++) { foo::bar::$hello[$i] = $i*$i; } } function print_values() { for ($i=1; $i<10; $i++) { print foo::bar::$hello[$i] . "\n"; } } } } foo::bar::init_values(); foo::bar::print_values(); for ($i=1; $i<10; $i++) { print $hello[$i]?"Shouldn't be printed\n":""; } ?> | |||||
* | - MFZE1 | Andi Gutmans | 2001-11-24 | 1 | -17/+17 | |
| | ||||||
* | - Support instantiation of nested class. The following script now should | Andi Gutmans | 2001-11-04 | 1 | -18/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - work: -<?php - class foo - { - function bar() - { - print "bar() in class bar\n"; - } - - class barbara - { - function bar() - { - print "bar() in class foo::barbara\n"; - } - } - } - - $obj = new foo(); - $obj->bar(); - - $obj = new foo::barbara(); - $obj->bar(); - | |||||
* | - Add constructor to the zend_class_entry instead of looking it up each | Andi Gutmans | 2001-11-03 | 1 | -4/+15 | |
| | | | | | | | - time by name. - This will allow the next patch of being able to instantiate nested - classes such as new foo::bar::barbara(); | |||||
* | - Initial support for nested class definitions | Andi Gutmans | 2001-10-29 | 1 | -6/+15 | |
| | ||||||
* | MFTGZE1 | Zeev Suraski | 2001-10-27 | 1 | -1/+1 | |
| | ||||||
* | - Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch when | Andi Gutmans | 2001-09-30 | 1 | -415/+434 | |
| | | | | | - the whole CVS tree is work in progress | |||||
* | - Get rid of warning and C++ comments | Andi Gutmans | 2001-08-30 | 1 | -2/+2 | |
| | ||||||
* | - Initial support for exceptions. | Andi Gutmans | 2001-08-30 | 1 | -7/+55 | |
| | ||||||
* | MFZE1 | Zeev Suraski | 2001-08-30 | 1 | -3/+3 | |
| | ||||||
* | - Merge Sterling's patches from ZE1 | Andi Gutmans | 2001-08-18 | 1 | -2/+2 | |
| | ||||||
* | MFZE1 | Andrei Zmievski | 2001-08-17 | 1 | -2/+3 | |
| | ||||||
* | - Try and nuke get_object_zval_ptr() | Andi Gutmans | 2001-08-16 | 1 | -1/+1 | |
| | ||||||
* | - Fix a bug in method calls. | Andi Gutmans | 2001-08-16 | 1 | -6/+5 | |
| | | | | | - Try to get the old copying behavior of objects to work (doesn't work yet). | |||||
* | - MFZE1 | Andi Gutmans | 2001-08-13 | 1 | -16/+20 | |
| | ||||||
* | - MFZE1 | Andi Gutmans | 2001-08-13 | 1 | -0/+1 | |
| | ||||||
* | - Merge from Engine 1 | Andi Gutmans | 2001-08-13 | 1 | -4/+23 | |
| | ||||||
* | - Sync Engine2 CVS with latest Engine CVS | Andi Gutmans | 2001-08-07 | 1 | -17/+72 | |
| | ||||||
* | - Move to using Z_ macros | Andi Gutmans | 2001-08-06 | 1 | -16/+20 | |
| | ||||||
* | require_once()/include_once will return true in case a file was not included | Zeev Suraski | 2001-08-02 | 1 | -2/+6 | |
| | | | | | | | because it was already included earlier. Changed the default return value type of the include() family from long to boolean | |||||
* | More TSRMLS_FETCH work | Zeev Suraski | 2001-07-31 | 1 | -16/+16 | |
| | ||||||
* | More TSRMLS_FETCH work | Zeev Suraski | 2001-07-30 | 1 | -3/+2 | |
| | ||||||
* | More TSRMLS_FETCH annihilation | Zeev Suraski | 2001-07-30 | 1 | -3/+3 | |
| | ||||||
* | Avoid TSRMLS_FETCH()'s (still lots of work left) | Zeev Suraski | 2001-07-30 | 1 | -5/+5 | |
| | ||||||
* | Redesigned thread safety mechanism - nua nua | Zeev Suraski | 2001-07-28 | 1 | -5/+5 | |
| | ||||||
* | Get rid of ELS_*(), and use TSRMLS_*() instead. | Zeev Suraski | 2001-07-27 | 1 | -74/+74 | |
| | | | | | | This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it... | |||||
* | Revert bogus patch | Zeev Suraski | 2001-07-19 | 1 | -7/+2 | |
| | ||||||
* | Fix bug #11970 | Zeev Suraski | 2001-07-15 | 1 | -2/+7 | |
| | ||||||
* | Improved interactive mode - it is now available in all builds, without any ↵ | Zeev Suraski | 2001-07-15 | 1 | -24/+6 | |
| | | | | significant slowdown | |||||
* | Fix leak in the patch, and revert a couple of lines I didn't mean to commit | Zeev Suraski | 2001-06-27 | 1 | -6/+4 | |
| | ||||||
* | - Warn about illegal offsets | Zeev Suraski | 2001-06-27 | 1 | -7/+28 | |
| | | | | | | - Allow assignments to uninitialized string offsets (automatically pads the string with spaces) | |||||
* | - Hopefully fix bug #11476 and improve garbage to be freed very quickly. | Andi Gutmans | 2001-06-21 | 1 | -0/+3 | |
| | | | | | Tree tagged as PRE_GRANULAR_GARBAGE_FIX before commiting. | |||||
* | - Nuke dependency of all of PHP on zend_execute_locks.h. | Andi Gutmans | 2001-06-21 | 1 | -0/+52 | |
| | ||||||
* | Eliminate the leak that the original bogus code tried to solve | Zeev Suraski | 2001-06-21 | 1 | -0/+1 | |
| | ||||||
* | parent::methodname() now works better with runtime classes (fix bug #11589) | Zeev Suraski | 2001-06-21 | 1 | -6/+1 | |
| | ||||||
* | Fix bug #11590 (I want Andi to also review this patch before it goes into 4.0.6) | Zeev Suraski | 2001-06-21 | 1 | -1/+0 | |
| |