summaryrefslogtreecommitdiff
path: root/Zend/zend_objects.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Allow recursive calls to __get/__set for different propertiesDmitry Stogov2005-11-151-4/+5
|
* Fixed clone bug in ze1_compatibilty modeDmitry Stogov2005-08-041-2/+2
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* Fixed bug #33512 (Add missing support for isset()/unset() overloading to ↵Dmitry Stogov2005-07-071-0/+2
| | | | complement the property get/set methods)
* Fixed ZTS build.Ilia Alshanetsky2005-06-071-0/+2
|
* Fixed bug #33243 (ze1_compatibility_mode does not work as expected)Dmitry Stogov2005-06-071-1/+23
|
* - Revert following patch until we decide what is the right way to handleAndi Gutmans2005-02-241-5/+2
| | | | | | | - this: - Fix signatures they are all meant to be able to deal with any type in any object storage (though we are still missing several parts)
* - Fix signatures they are all meant to be able to deal with any type in anyMarcus Boerger2005-02-221-2/+5
| | | | | object storage (though we are still missing several parts)
* Simplify/Optmize magic method calls (__get/__set/__call/__clone/__destruct)Marcus Boerger2004-09-281-18/+2
|
* - Fix handling of exceptions in dtorsMarcus Boerger2004-09-061-3/+6
|
* - Improve fix for protecting destructor's from exceptions.Andi Gutmans2004-03-021-5/+8
| | | | | - I was killing the current exception completely which was wrong.
* - Fix crash in destructors(). You can't throw an exception in destructorsAndi Gutmans2004-03-011-0/+8
| | | | | as there is no guaranteed time when the destructor will be called.
* - Small fixesZeev Suraski2004-02-041-9/+3
|
* Change destructor implementation (details will follow on internals@)Zeev Suraski2004-02-041-1/+5
|
* Nuke unused variableMarcus Boerger2004-02-031-1/+0
|
* Perform a bitwise copy of the object even when __clone() is defined.Zeev Suraski2004-02-031-16/+2
| | | | | | | | __clone() is back to not requiring any arguments, as $that is no longer needed ($this already contains a copy of the original object, by the time we __clone() is executed). Calling the parent clone is done using parent::__clone()
* Redesign the clone() feature to fix some fundamental flaws in the previousZeev Suraski2004-02-021-2/+5
| | | | | | | | | | | | | | | | implementation. Using clone directly is now done using $replica = clone $src; Clone methods must now be declared as follows: function __clone($that) { } Clone methods in derived classes can call the __clone method of their parent classes using parent::__clone($that)
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* SimplifyMarcus Boerger2003-12-271-25/+7
|
* Synch/Unify error messages related to function/method callsMarcus Boerger2003-09-021-2/+2
|
* Precise destructor errorsMarcus Boerger2003-08-091-3/+14
|
* make clone and throw coexist peacefullyStanislav Malyshev2003-07-271-1/+3
|
* Shuffle code to ease writing clone handlersMarcus Boerger2003-07-191-16/+21
|
* Temporairy solution to overcome shutdown propbelms with objects that haveMarcus Boerger2003-07-021-2/+3
| | | | | | | | | hidden destructors. # # If we set the error level to E_ERROR what we must to to be correct and an # object needs to be automatically destructed in shutdown process then the # exit would cause memory corruption and a SEGV.
* Reorganize this a bit to ensure the object memory is destructed beforeMarcus Boerger2003-07-021-27/+31
| | | | | showing the error.
* Finally fix property cloning and fix the tests accordingly.Marcus Boerger2003-07-021-1/+7
| | | | | | | | # The default behaviour is to copy all properties with all current values # from the old object. But if __clone is overwritten then only the default # properties are cloned with their correct default values. So we keep # the type system intact and also allow real __clone overwriting now.
* Fix __clone().Marcus Boerger2003-07-011-7/+4
| | | | | | | | | # This is somewhat discussable. I copied all properties from the old to the # new object. But for type correctness we only need to copy the properties # declared in the class and its parents. # # Also someone might want to take care about static and const members.
* Fix destructor visibilityMarcus Boerger2003-07-011-2/+17
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* Eliminate TSRMLS_FETCH() calls in zend_objects_new() and ↵Sebastian Bergmann2003-03-261-7/+4
| | | | zend_objects_get_address().
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-0/+29
|
* export zend_objects_destroy_object()Harald Radi2003-01-171-1/+1
| | | | | | | static inline was meaningless anyways as the function was only used as a callback handler and was never called directly
* - Change the automatically created variable $clone in __clone() toAndi Gutmans2002-11-051-1/+1
| | | | | | | | - $that as discussed at the PHP Conference. If there are any objections - alternative names please let me know. The reason for changing it from - $clone is because $clone sounds as if it's the newly cloned object and - not the old one.
* Support for __get, __set and __call in classes.Stanislav Malyshev2002-09-041-0/+2
| | | | | | | This should work as follows: if class hasn't member with given name, __get/__set is called. If class has no method with given name, __call is called. __get/__set are not recursive, __call can be.
* Fix warning.Sebastian Bergmann2002-08-081-1/+1
|
* Add ZEND_API to functionsStanislav Malyshev2002-08-081-3/+3
|
* - Export zend_object_get_address()Andi Gutmans2002-07-011-1/+1
|
* - Nuke persist_alloc().Andi Gutmans2002-06-221-1/+1
|
* - Fix buildAndi Gutmans2002-05-311-4/+3
|
* Generalize object storage and reference bookkeepingStanislav Malyshev2002-05-311-139/+5
|
* - constructor_called is supposed to be destructor_calledAndi Gutmans2002-05-141-6/+6
|
* - Pass TSRMLS to callbacks.Andi Gutmans2002-03-151-8/+4
|
* - Fix crash reported by Sebastian when destructor function causes a fatalAndi Gutmans2002-03-011-1/+3
| | | | | - error. I hope this does it and we don't find any other problems.
* - Remove object debug messages.Andi Gutmans2002-02-081-1/+1
|
* Mega-commit: Enter the new object modelStanislav Malyshev2002-02-071-19/+15
| | | | | | | 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.
* - Fix problem with the objects_destructor called during shutdown. It wasAndi Gutmans2002-02-041-2/+2
| | | | | | | | | - 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.
* - First destructor hell fix. There was a situation where an object'sAndi Gutmans2002-01-251-1/+21
| | | | | | | | | | - 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.
* - Use two underscores for __construct(), __clone and friends...Andi Gutmans2001-12-271-4/+4
|
* - Only check refcount of object if the destructor was called.Andi Gutmans2001-12-271-13/+19
|