summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - Fix scoping issue. The following works now:Andi Gutmans2001-12-261-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 Gutmans2001-12-261-0/+12
|
* - Fix a crash (not a thorough fix).Andi Gutmans2001-12-251-0/+2
| | | | | - Commented old code
* - Fixed bug where global functions weren't called if they didn't existAndi Gutmans2001-12-241-4/+11
| | | | | - in the class scope
* - Fix crash bug in startup code.Andi Gutmans2001-12-131-2/+16
| | | | | - Start work on being able to reference global and local scope
* - Make classes have scope and function/constant lookups default to the classAndi Gutmans2001-12-121-7/+13
|
* - Rename zend_class_entry.constants -> zend_class_entry.constants_tableAndi Gutmans2001-12-111-2/+2
|
* - Start making scope change correctly when calling namespace functions.Andi Gutmans2001-12-111-13/+29
| | | | | | - When inside a namespace fallback to global namespace when function - or constant is not found.
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - More namespaces work.Andi Gutmans2001-12-101-4/+20
| | | | | - Nuke memory leak.
* - Support constants. The following works now:Andi Gutmans2001-12-061-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 & variablesAndi Gutmans2001-12-061-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 Gutmans2001-12-061-7/+0
|
* - Initial support for class constants. There are still a few semanticAndi Gutmans2001-11-301-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 Gutmans2001-11-251-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":""; } ?>
* - MFZE1Andi Gutmans2001-11-241-17/+17
|
* - Support instantiation of nested class. The following script now shouldAndi Gutmans2001-11-041-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 eachAndi Gutmans2001-11-031-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 definitionsAndi Gutmans2001-10-291-6/+15
|
* MFTGZE1Zeev Suraski2001-10-271-1/+1
|
* - Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch whenAndi Gutmans2001-09-301-415/+434
| | | | | - the whole CVS tree is work in progress
* - Get rid of warning and C++ commentsAndi Gutmans2001-08-301-2/+2
|
* - Initial support for exceptions.Andi Gutmans2001-08-301-7/+55
|
* MFZE1Zeev Suraski2001-08-301-3/+3
|
* - Merge Sterling's patches from ZE1Andi Gutmans2001-08-181-2/+2
|
* MFZE1Andrei Zmievski2001-08-171-2/+3
|
* - Try and nuke get_object_zval_ptr()Andi Gutmans2001-08-161-1/+1
|
* - Fix a bug in method calls.Andi Gutmans2001-08-161-6/+5
| | | | | - Try to get the old copying behavior of objects to work (doesn't work yet).
* - MFZE1Andi Gutmans2001-08-131-16/+20
|
* - MFZE1Andi Gutmans2001-08-131-0/+1
|
* - Merge from Engine 1Andi Gutmans2001-08-131-4/+23
|
* - Sync Engine2 CVS with latest Engine CVSAndi Gutmans2001-08-071-17/+72
|
* - Move to using Z_ macrosAndi Gutmans2001-08-061-16/+20
|
* require_once()/include_once will return true in case a file was not includedZeev Suraski2001-08-021-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 workZeev Suraski2001-07-311-16/+16
|
* More TSRMLS_FETCH workZeev Suraski2001-07-301-3/+2
|
* More TSRMLS_FETCH annihilationZeev Suraski2001-07-301-3/+3
|
* Avoid TSRMLS_FETCH()'s (still lots of work left)Zeev Suraski2001-07-301-5/+5
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-5/+5
|
* Get rid of ELS_*(), and use TSRMLS_*() instead.Zeev Suraski2001-07-271-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 patchZeev Suraski2001-07-191-7/+2
|
* Fix bug #11970Zeev Suraski2001-07-151-2/+7
|
* Improved interactive mode - it is now available in all builds, without any ↵Zeev Suraski2001-07-151-24/+6
| | | | significant slowdown
* Fix leak in the patch, and revert a couple of lines I didn't mean to commitZeev Suraski2001-06-271-6/+4
|
* - Warn about illegal offsetsZeev Suraski2001-06-271-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 Gutmans2001-06-211-0/+3
| | | | | Tree tagged as PRE_GRANULAR_GARBAGE_FIX before commiting.
* - Nuke dependency of all of PHP on zend_execute_locks.h.Andi Gutmans2001-06-211-0/+52
|
* Eliminate the leak that the original bogus code tried to solveZeev Suraski2001-06-211-0/+1
|
* parent::methodname() now works better with runtime classes (fix bug #11589)Zeev Suraski2001-06-211-6/+1
|
* Fix bug #11590 (I want Andi to also review this patch before it goes into 4.0.6)Zeev Suraski2001-06-211-1/+0
|