#
5b54322d |
| 02-Jul-2003 |
Marcus Boerger |
Temporairy solution to overcome shutdown propbelms with objects that have hidden destructors. # # If we set the error level to E_ERROR what we must to to be correct and an # object ne
Temporairy solution to overcome shutdown propbelms with objects that have 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.
show more ...
|
#
669016c7 |
| 02-Jul-2003 |
Marcus Boerger |
Reorganize this a bit to ensure the object memory is destructed before showing the error. |
#
74a0f6c8 |
| 02-Jul-2003 |
Marcus Boerger |
Finally fix property cloning and fix the tests accordingly. # The default behaviour is to copy all properties with all current values # from the old object. But if __clone is overwritten
Finally fix property cloning and fix the tests accordingly. # 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.
show more ...
|
#
55002874 |
| 01-Jul-2003 |
Marcus Boerger |
Fix __clone(). # 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 th
Fix __clone(). # 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.
show more ...
|
#
35c40932 |
| 01-Jul-2003 |
Marcus Boerger |
Fix destructor visibility |
Revision tags: php-5.0.0b1, php-4.3.3RC1 |
|
#
f68c7ff2 |
| 10-Jun-2003 |
James Cox |
updating license information in the headers. |
Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init |
|
#
866332a4 |
| 26-Mar-2003 |
Sebastian Bergmann |
Eliminate TSRMLS_FETCH() calls in zend_objects_new() and zend_objects_get_address(). |
Revision tags: php-4.3.2RC1, php-4.3.1 |
|
#
333406bd |
| 01-Feb-2003 |
foobar |
- Added some missing CVS $Id$ tags, headers and footers. |
Revision tags: PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix |
|
#
46306a32 |
| 17-Jan-2003 |
Harald Radi |
export zend_objects_destroy_object() static inline was meaningless anyways as the function was only used as a callback handler and was never called directly |
Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1 |
|
#
f7f9721b |
| 05-Nov-2002 |
Andi Gutmans |
- Change the automatically created variable $clone in __clone() to - $that as discussed at the PHP Conference. If there are any objections - alternative names please let me know. The reason f
- Change the automatically created variable $clone in __clone() to - $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.
show more ...
|
Revision tags: php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1, MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003, RELEASE_0_91, php-4.3.0dev_zend2_alpha3, php-4.2.3 |
|
#
d8651c82 |
| 04-Sep-2002 |
Stanislav Malyshev |
Support for __get, __set and __call in classes. 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 c
Support for __get, __set and __call in classes. 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.
show more ...
|
Revision tags: php-4.2.3RC2, php-4.2.3RC1 |
|
#
646292e0 |
| 08-Aug-2002 |
Sebastian Bergmann |
Fix warning. |
#
11fb07a3 |
| 08-Aug-2002 |
Stanislav Malyshev |
Add ZEND_API to functions |
Revision tags: dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt |
|
#
4a52b988 |
| 01-Jul-2002 |
Andi Gutmans |
- Export zend_object_get_address() |
Revision tags: php-4.3.0dev_zend2_alpha2 |
|
#
b53569c9 |
| 22-Jun-2002 |
Andi Gutmans |
- Nuke persist_alloc(). |
Revision tags: php-4.3.0dev, php5_5_0, RELEASE_0_90, php-4.3.0dev_zend2_alpha1 |
|
#
478ed1cf |
| 31-May-2002 |
Andi Gutmans |
- Fix build |
#
f75f3cff |
| 31-May-2002 |
Stanislav Malyshev |
Generalize object storage and reference bookkeeping |
Revision tags: BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1 |
|
#
1fe8df14 |
| 14-May-2002 |
Andi Gutmans |
- constructor_called is supposed to be destructor_called |
Revision tags: php-4.2.1, php-4.2.1RC2, php-4.2.1RC1, php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1 |
|
#
c84a4ead |
| 15-Mar-2002 |
Andi Gutmans |
- Pass TSRMLS to callbacks. |
Revision tags: help |
|
#
2505f6b4 |
| 01-Mar-2002 |
Andi Gutmans |
- Fix crash reported by Sebastian when destructor function causes a fatal - error. I hope this does it and we don't find any other problems. |
Revision tags: php-4.1.2 |
|
#
b0423869 |
| 08-Feb-2002 |
Andi Gutmans |
- Remove object debug messages. |
#
6608f073 |
| 07-Feb-2002 |
Stanislav Malyshev |
Mega-commit: Enter the new object model 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.
Mega-commit: Enter the new object model 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.
show more ...
|
Revision tags: BEFORE_NEW_OBJECT_MODEL |
|
#
e366f5db |
| 04-Feb-2002 |
Andi Gutmans |
- Fix problem with the objects_destructor called during shutdown. It was - freeing objects from id 0 instead of id 1. id 0 is not used. - Change isset/empty opcodes to support static members
- Fix problem with the objects_destructor called during shutdown. It was - 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.
show more ...
|
Revision tags: PRE_ISSET_PATCH |
|
#
7309a6ed |
| 25-Jan-2002 |
Andi Gutmans |
- First destructor hell fix. There was a situation where an object's - destructor could be run after its class was already dead. Right now - object destructors is the first thing whic happens
- First destructor hell fix. There was a situation where an object's - 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.
show more ...
|
#
e322abdd |
| 27-Dec-2001 |
Andi Gutmans |
- Use two underscores for __construct(), __clone and friends... |