Dmitry Stogov
248345d920
Support for class constants and static members for internal classes
2005-09-01 10:05:32 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Dmitry Stogov
62bdbc0e57
Fixed possible crash on $x = $obj->$non_string
2005-06-20 18:25:24 +00:00
Dmitry Stogov
d1ee85c2dd
Fixed bug #33277 (private method accessed by child class)
2005-06-17 10:50:45 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Dmitry Stogov
d02d270f48
Fixed bug #30820 (static member conflict with $this->member silently ignored)
2005-06-08 08:08:18 +00:00
Dmitry Stogov
cd88e646fd
Fixed bug #33171 (foreach enumerates private fields declared in base classes)
2005-06-06 07:52:08 +00:00
Dmitry Stogov
3d7b0bab28
Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
...
...)
2005-06-03 11:16:19 +00:00
Dmitry Stogov
9383e1b858
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
2005-06-01 11:03:58 +00:00
Stanislav Malyshev
94666dcfb6
revert - seems to be fixed elsewhere
2005-05-18 15:30:35 +00:00
Stanislav Malyshev
e04666ae20
fix #30451 static properties don't work properly
2005-05-18 15:14:36 +00:00
Dmitry Stogov
69326a796e
Fixed destruction of zval after returning from __call()
2005-05-03 12:47:27 +00:00
Marcus Boerger
56d543c161
- Extend API to support real existance test without the need to add any new
...
functions or change any behavior
2005-05-02 16:18:02 +00:00
foobar
217e89b124
compile fix
2005-04-29 10:40:01 +00:00
Dmitry Stogov
9966587aaf
Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
2005-04-28 17:40:11 +00:00
Dmitry Stogov
c81db6bc56
Fixed bug #29210 (Function: is_callable - no support for private and protected classes)
2005-04-27 15:45:36 +00:00
Andrei Zmievski
53e3b0fcb8
Reverting. Let's not introduce major BC breakage like this without a
...
good reason.
2005-04-25 20:41:26 +00:00
Marcus Boerger
79b9084eef
- Fix logic
2005-04-17 20:15:23 +00:00
Marcus Boerger
adb3d0197e
- No E_ERROR when we just check (where did my 0->1 change go on first commit?)
2005-04-08 12:24:09 +00:00
Marcus Boerger
40cc0b7724
- No E_ERROR when we just check, here visibility simply means there is none
2005-04-08 12:15:24 +00:00
Marcus Boerger
698d301c1c
- Simplify getting property info and make it an api function
2005-04-08 11:35:11 +00:00
Marcus Boerger
6a6eaf2b72
- More fixes to gracefully act on exception thrown in overload methods
2005-03-19 15:32:18 +00:00
Marcus Boerger
cf020f1334
- Fix #31185
2005-03-19 15:06:39 +00:00
Marcus Boerger
b924ef8796
- Don't touch refcount/is_ref
2005-03-11 00:44:34 +00:00
Marcus Boerger
a586cecf35
- If silence if wanted we do not error out
2005-02-27 22:22:26 +00:00
Dmitry Stogov
fd4fe1c8d3
Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name).
2005-02-02 07:19:22 +00:00
foobar
20be664666
- Fixed bug #29183 (Undefined symbol zend_check_private with Solaris CC)
2005-01-19 01:46:26 +00:00
Andi Gutmans
235e6c0afe
- Fixed Bug #30562 Segmentation fault with __call()
2004-12-17 22:24:51 +00:00
Marcus Boerger
c5a9a5a284
- Change zend_object_handlers->get_method() to allow aggregation for internal classes
2004-10-30 19:11:37 +00:00
Marcus Boerger
e39f3f3f48
Simplify/Optmize magic method calls (__get/__set/__call/__clone/__destruct)
2004-09-28 22:55:22 +00:00
Zeev Suraski
34b00ca22a
Fix bug in handling of protected properties
2004-07-22 11:54:27 +00:00
Stanislav Malyshev
e000da960b
__set and __get will be called not only when variable doesn't exist but also when it's
...
invisible
2004-07-19 14:26:53 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Stanislav Malyshev
d673ec0184
be consistent with write_dimension
2004-07-14 09:04:13 +00:00
Stanislav Malyshev
28d72ce2fd
fix #28957
2004-07-14 09:01:58 +00:00
Wez Furlong
6f5c0992a3
Fix leak on systems where alloca isn't really alloca.
2004-05-26 22:19:44 +00:00
Wez Furlong
d056b25c3f
Add count_elements handler for overloaded objects.
2004-05-04 15:03:28 +00:00
Andi Gutmans
4a24cbe276
- Fix bug #26441 (When __set() returned a value it corrupted it)
2004-04-09 14:42:06 +00:00
Stanislav Malyshev
bd9b600c3c
API change for read_property:
...
instead of bool silent it now gets fetch type
This can be used for creating proxy objects for write contexts
2004-03-21 18:07:27 +00:00
Andi Gutmans
88de69b97c
- Support Cast operator in convert_to_* so that we support internal
...
- extensions such as SimpleXML. This is for Sterling.
2004-03-14 13:52:36 +00:00
Andi Gutmans
62b81df9b0
- This was too strict.
2004-02-12 14:31:13 +00:00
Zeev Suraski
e7e0f7d4b4
- Check return-by-reference bit when implementing interface prototypes
...
- Add infrastructure for built-in functions to hint whether they
return by reference or not. It is NOT currently used for anything,
except for interface prototypes (you can use it to request that the
function that implements your prototype returns by reference or
doesn't return by reference).
For downwards compatibility - by default, interface prototypes are
agnostic as to whether the function that implements them returns
by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with
ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that.
- Fix ArrayAccess::getOffset() to conduct additional checks.
If your getOffset() should work with multidimensional arrays - it
must return by reference.
2004-02-12 13:49:55 +00:00
Zeev Suraski
473927ece8
Fix write-mode of overloaded objects when using array dimensions
2004-02-08 17:23:20 +00:00
Zeev Suraski
c5a7b668cd
- Clean garbage (delete was nuked a long time ago)
2004-02-03 15:37:37 +00:00
Ilia Alshanetsky
0a8a950fcf
Expose zend_std_call_user_call(), needed for implementation of things like
...
__call handlers.
2004-01-17 00:39:28 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Stanislav Malyshev
1e11e7401c
Bug #24608 - fix interaction between __accessors and get_property_ptr
2004-01-05 11:45:46 +00:00
Derick Rethans
6923a16c26
- Fixed var_export() to show public, protected and private modifiers properly.
...
- Exported (un)mangle_property_name.
2004-01-03 13:51:02 +00:00