| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
# 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.
|
|
|
|
|
|
|
|
|
| |
# 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.
|
| |
|
| |
|
|
|
|
| |
zend_objects_get_address().
|
| |
|
|
|
|
|
|
|
| |
static inline was meaningless anyways as the function
was only used as a callback handler and was never
called directly
|
|
|
|
|
|
|
|
| |
- $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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- error. I hope this does it and we don't find any other problems.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
- will actually work well in the context of PHP so we should consider this
- as experimental. Possible problems might be that when the constructor is
- run PHP might not be in a stable state.
|
| |
|
| |
|
|
|
|
|
| |
- Try to get the old copying behavior of objects to work (doesn't work yet).
|
| |
|
|
|
|
|
| |
revised when things start working well
|
| |
|
|
|