summaryrefslogtreecommitdiff
path: root/Zend/zend_opcode.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'dev'.devSVN Migration2002-08-061-411/+0
|
* - Commit patch to support protected member variables (by Timm Friebe w/Andi Gutmans2002-07-151-0/+2
| | | | | | | | | - some fixes by me). - You can't access protected variables from outside the object. If you want - to see a protected member from your ancestors you need to declare the - member as protected in the class you want to use it in. You can't - redeclare a protected variable as private nor the other way around.
* some type cleanup workHarald Radi2002-04-231-1/+1
|
* - Fix issues with $this when using it by itself without indirection such asAndi Gutmans2002-03-151-0/+2
| | | | | - $this->foo.
* - Another couple of indirection fixes.Andi Gutmans2002-03-121-4/+2
| | | | | - Make class_entry->refcount be part of the structure and not allocated.
* - Fix bug introduced with latest class hash table change.Andi Gutmans2002-03-121-2/+2
|
* - make class tables contain class_entry *, not class_entryStanislav Malyshev2002-03-121-1/+5
| | | | | - fix isset($this)
* - Fix bug in nested try/catch'sAndi Gutmans2002-03-011-0/+2
| | | | | - Infrastructure for implementing imports of methods.
* - Experimental support for private members.Andi Gutmans2002-02-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <? 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(); ?>
* - First destructor hell fix. There was a situation where an object'sAndi Gutmans2002-01-251-5/+5
| | | | | | | | | | - 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.
* - Improve performance of functions that use $GLOBALS[]Andi Gutmans2002-01-201-2/+0
| | | | | - Please check this and make sure it doesn't break anything.
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* - Fix crash bug in startup code.Andi Gutmans2001-12-131-2/+4
| | | | | - Start work on being able to reference global and local scope
* - Rename zend_class_entry.constants -> zend_class_entry.constants_tableAndi Gutmans2001-12-111-2/+2
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Initial support for class constants. There are still a few semanticAndi Gutmans2001-11-301-0/+2
| | | | | | | | | | | | | | - 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-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <? 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":""; } ?>
* - Fix internal classesAndi Gutmans2001-10-291-1/+1
|
* - Initial support for nested class definitionsAndi Gutmans2001-10-291-0/+2
|
* More TSRMLS_FETCH workZeev Suraski2001-07-311-10/+10
|
* Avoid TSRMLS_FETCH()'s (still lots of work left)Zeev Suraski2001-07-301-1/+1
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-8/+8
|
* Improved interactive mode - it is now available in all builds, without any ↵Zeev Suraski2001-07-151-18/+10
| | | | significant slowdown
* - Fix crash bug when opcodes array is erealloc()'ed to a different memoryAndi Gutmans2001-05-111-4/+7
| | | | | | area before it reaches the loop. - Some whitespace stuff
* - Fix crash bug reported by DBG author Dmitri Dmitrienko.Andi Gutmans2001-05-081-4/+0
|
* - Update copyright yearAndi Gutmans2001-02-261-1/+1
|
* Fix possible corruption in line number informationZeev Suraski2000-12-301-4/+3
|
* - Beautify by using the standard #define.Andi Gutmans2000-11-111-3/+3
|
* - Increase op_array size faster and make eralloc() it in the end to saveAndi Gutmans2000-10-151-1/+3
| | | | | memory.
* The patch we promised - redesigned the compilation/execution API:Zeev Suraski2000-08-091-13/+5
| | | | | | | | | | | | | | | | | | Advantages: - Smaller memory footprint for the op arrays - Slightly faster compilation times (due to saved erealloc() calls and faster zend_op initialization) - include_once() & require_once() share the same file list - Consistency between include() and require() - this mostly means that return() works inside require()'d files just as it does in include() files (it used to be meaningless in require()'d files, most of the time (see below)) - Made require() consistent with itself. Before, if the argument was not a constant string, require() took the include() behavior (with return()). - Removed lots of duplicate code. Bottom line - require() and include() are very similar now; require() is simply an include() which isn't allowed to fail. Due to the erealloc() calls for large op arrays, require() didn't end up being any faster than include() in the Zend engine.
* Fix orderAndi Gutmans2000-05-171-1/+1
|
* Thoroughly initialize IS_UNUSED for proper cleanupAndi Gutmans2000-05-081-6/+3
|
* Pass the op_array to the ctor/dtor, instead of just the resourceZeev Suraski2000-04-291-10/+2
|
* Fix possible bug with extension dtors being called without the ctors being ↵Zeev Suraski2000-04-291-1/+5
| | | | called first
* BeautifyZeev Suraski2000-04-291-2/+2
|
* - Export pass_include() for WindowsAndi Gutmans2000-04-191-1/+1
|
* Added !== (is not identical) operator.Torben Wilson2000-03-291-0/+3
|
* - Include Andrea's fix for alloca.hAndi Gutmans2000-03-261-1/+1
|
* fix castThies C. Arntzen2000-03-261-1/+1
|
* - Some header dependencies cleanupZeev Suraski2000-03-251-2/+0
| | | | | - Generalize zval_print() and zval_print_r()
* - Fix warning (I thought I fixed this one before)Zeev Suraski2000-03-151-1/+1
|
* It's official now...Zeev Suraski2000-03-061-3/+3
|
* (c) patchZeev Suraski2000-02-191-1/+1
|
* Maintain a state of whether we're compiling and/or executingZeev Suraski2000-02-041-1/+1
|
* - Allow is_ref to become 0 in case the refcount is back to 1.Andi Gutmans2000-01-261-0/+2
|
* Destructors no longer return ints, the low level problem it was intended to ↵Zeev Suraski2000-01-171-5/+3
| | | | solve is long gone now...
* - Generalize the fast cache mechanismZeev Suraski1999-12-271-1/+1
| | | | | - Add the HashTable struct to the fast cache mechanism
* Fix a class inheritence leak, when using static varibles in a parent class ↵Zeev Suraski1999-12-231-4/+5
| | | | member function
* - Implement return by reference:Zeev Suraski1999-12-151-0/+2
| | | | | | | - In function declaration instead of the return statement - In the assignment phase - Implement ability to turn off support for call-time pass by reference
* - Preliminary submit of Thie's patch. Will fix the rest on WindowsAndi Gutmans1999-10-191-0/+3
| | | | | as this was added on UNIX with patch. Changed IS_SAME -> IS_IDENTICAL