summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'dev'.devSVN Migration2002-08-061-3146/+0
|
* MFZE1Zeev Suraski2002-08-031-0/+4
|
* MFZE1Stanislav Malyshev2002-08-011-1/+5
|
* MFZE1 global declareJason Greene2002-07-301-1/+1
|
* @- Adding 'is' operator that can be used to check the type of a variable,Andrei Zmievski2002-07-301-0/+13
| | | | | @ or its class. (Andrei)
* - Fix problem with debug_backtrace() reported by Stig. We weren't reportingAndi Gutmans2002-07-261-0/+1
| | | | | | | | - global function information because it wasn't available. We have to do - an additional assignment per-function call so that it'll be available. - Also don't define the global scope as function name _main_ but leave it - empty so that frameworks like Pear can decide what they want to do.
* - Nuke delete(). It was a big mistake to introduce it and I finallyAndi Gutmans2002-07-141-48/+0
| | | | | | | | - understand why Java didn't do so. - If you still want to control destruction of your object then either make - sure you kill all references or create a destruction method which you - call yourself.
* - Nuke some unused codeAndi Gutmans2002-07-141-29/+0
|
* - Fix problem where scope was lost in nested function calls.Andi Gutmans2002-07-061-10/+7
| | | | | - Thanks to Timm Friebe for diving into this one.
* - Improve some error messages.Andi Gutmans2002-06-291-1/+1
|
* - Fix problem with scope's not changing correctly during method calls.Andi Gutmans2002-06-261-1/+1
| | | | | | - Reapply a tiny optimization to the allocator so that in non-debug mode - we clean memory without detecting leaks.
* - Revert patch which checks at run-time if you're allowed to assignAndi Gutmans2002-06-241-6/+0
| | | | | | | - certain values by reference. - We still need to find a solution for cases when this shouldn't be allowed - as it might cause leaks.
* - Fix problem with constructor not being inherited and called correctly.Andi Gutmans2002-06-231-1/+3
|
* - Fix bug in class constantsAndi Gutmans2002-06-161-2/+2
| | | | | | - Start centralizing main class lookups. This will help implement - __autload()
* - Fix problem with assigning functions by reference.Andi Gutmans2002-06-111-2/+12
|
* Fix leakStanislav Malyshev2002-06-101-0/+1
|
* Remove unused local variable.Sebastian Bergmann2002-06-051-1/+0
|
* - Allow overloaded objects to receive the method name in its originalAndi Gutmans2002-06-051-22/+4
| | | | | - case.
* - Hopefully fix problems with debug_backtrace()Andi Gutmans2002-05-081-0/+13
|
* - More debug backtrace work. It still doesn't work very well...Andi Gutmans2002-05-071-3/+1
|
* Initial support for built-in backtracing.Andi Gutmans2002-05-021-51/+39
| | | | | | | | There are still a few problems such as includes and calling other functions from internal functions which aren't seen (will have to think if and how to fix this). Also the main scripts filename isn't available. Need to think about that.
* some type cleanup workHarald Radi2002-04-231-3/+3
|
* - Pass TSRMLS to callbacks.Andi Gutmans2002-03-151-5/+5
|
* - Scope fix. When calling an imported function the scope will changeAndi Gutmans2002-03-151-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - correctly to the scope of the functions class. <?php function Hello() { print "Wrong one\n"; } class MyClass { static $hello = "Hello, World\n"; function Hello() { print self::$hello; } function Trampoline() { Hello(); } } import function Trampoline from MyClass; Trampoline(); ?>
* - Fix issues with $this when using it by itself without indirection such asAndi Gutmans2002-03-151-68/+35
| | | | | - $this->foo.
* fix for delete $this and unset $thisStanislav Malyshev2002-03-141-17/+32
|
* - Fix bug introduced with latest class hash table change.Andi Gutmans2002-03-121-1/+1
|
* - make class tables contain class_entry *, not class_entryStanislav Malyshev2002-03-121-19/+34
| | | | | - fix isset($this)
* - Fix build in ZTS mode.Andi Gutmans2002-03-101-8/+10
|
* New stuff for objects API:Stanislav Malyshev2002-03-101-1/+303
| | | | | | - Better assignment handling - More flexible operations with zval-containing objects
* - Support importing constants. e.g.:Andi Gutmans2002-03-081-1/+44
| | | | | | | | | | | | <?php class MyOuterClass { const Hello = "Hello, World\n"; } import const Hello from MyOuterClass; print Hello;
* - Add function * and class * functionality. Only constants are left.Andi Gutmans2002-03-061-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | <?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();
* - Initial patch to support importing from class scopes (for Stig).Andi Gutmans2002-03-021-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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(); ?>
* - Remove use of C++ reserved words namespace/thisAndi Gutmans2002-03-011-52/+41
|
* Mega-commit: Enter the new object modelStanislav Malyshev2002-02-071-252/+160
| | | | | | | 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.
* - This small patch should also take care of allowing unseting of $this->fooAndi Gutmans2002-02-041-2/+7
| | | | | | - and static members. The unset() opcode was luckily already suitable for - object overloading.
* - Fix problem with the objects_destructor called during shutdown. It wasAndi Gutmans2002-02-041-44/+135
| | | | | | | | | - 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.
* - Fix a bug reported by Sebastian with indirect class names not working.Andi Gutmans2002-01-221-10/+20
|
* - Improve performance of functions that use $GLOBALS[]Andi Gutmans2002-01-201-13/+0
| | | | | - Please check this and make sure it doesn't break anything.
* - Change exception handling to use the Java-like catch(MyException $exception)Andi Gutmans2002-01-131-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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(); } ?>
* - Make sure $this is passed on to methodsAndi Gutmans2002-01-061-4/+12
|
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* - Allow passing of $this as function arguments.Andi Gutmans2002-01-051-6/+22
| | | | | - Fix a bug which I introduced a couple of months ago
* - Significantly improve the performance of method calls and $this->memberAndi Gutmans2002-01-051-22/+27
| | | | | - lookups.
* - Improve performance of indirect-referenced function callsAndi Gutmans2002-01-041-10/+25
|
* - Separate other kinds of function calls too.Andi Gutmans2002-01-041-76/+134
| | | | | | - Significantly improve performance of function calls by moving lowercasing - the function name to compile-time when possible.
* - Start splitting up different kinds of function calls into differentAndi Gutmans2002-01-041-23/+27
| | | | | - opcodes.
* - MFZE1 for exit fix, exposing current function name in error messages andDerick Rethans2002-01-031-1/+2
| | | | | exposing zend_zval_type_name().
* - Support default arguments for reference parametersAndi Gutmans2001-12-281-8/+8
| | | | | - Fix two compile warnings
* - Support parent:: againAndi Gutmans2001-12-271-1/+10
|