History log of /PHP_5_3/Zend/zend_object_handlers.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
33b104c 14-Jan-2013 Stanislav Malyshev <stas@php.net> fix bug #63462 (Magic methods called twice for unset protected properties)
/PHP_5_3/Zend/zend_object_handlers.c
831fbcf 01-Jan-2013 Xinchen Hui <laruence@php.net> Happy New Year
/PHP_5_3/Zend/zend_object_handlers.c
ad553a7 10-Dec-2012 Xinchen Hui <laruence@php.net> Fixed bug #63726 (Memleak with static properties and internal/user classes)
/PHP_5_3/Zend/zend_object_handlers.c
b29dc14 06-Sep-2012 Dmitry Stogov <dmitry@zend.com> - Fixed bug #61767 (Shutdown functions not called in certain error situation)
- Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
/PHP_5_3/Zend/zend_object_handlers.c
e4ca0ed 01-Jan-2012 Felipe Pena <felipe@php.net> - Year++
/PHP_5_3/Zend/zend_object_handlers.c
03b6dae 07-Apr-2011 Dmitry Stogov <dmitry@php.net> Fixed bug #54372 (Crash accessing global object itself returned from its __get() handle)
/PHP_5_3/Zend/zend_object_handlers.c
927bf09 01-Jan-2011 Felipe Pena <felipe@php.net> - Year++
/PHP_5_3/Zend/zend_object_handlers.c
815d0e5 03-Nov-2010 Felipe Pena <felipe@php.net> - Reverted fix for bug #51176
/PHP_5_3/Zend/zend_object_handlers.c
4d8503a 01-Oct-2010 Dmitry Stogov <dmitry@php.net> Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
/PHP_5_3/Zend/zend_object_handlers.c
c0e6f37 01-Aug-2010 Felipe Pena <felipe@php.net> - Fixed bug #52484 (__set() ignores setting properties with empty names)
/PHP_5_3/Zend/zend_object_handlers.c
f1e02c5 12-Jun-2010 Felipe Pena <felipe@php.net> - Fixed bug #52051 (handling of case sensitivity of old-style constructors changed in 5.3+)
/PHP_5_3/Zend/zend_object_handlers.c
79f6188 02-Mar-2010 Felipe Pena <felipe@php.net> - Fixed bug #51176 (Static calling in non-static method behaves like $this->)
/PHP_5_3/Zend/zend_object_handlers.c
d2281d1 05-Jan-2010 Sebastian Bergmann <sebastian@php.net> sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
/PHP_5_3/Zend/zend_object_handlers.c
d976be4 19-Jun-2009 Scott MacVicar <scottmac@php.net> Make the check case sensitive, and since we can only have a constructor that matches the class name or is __construct
its probably safe to just check for __. This means we can skip lowering the function_name, which is hard to be binary
safe sine we don't store the length.

If we just did a zend_hash_exists lookup we'd be fine since its stored lowercased already :)
/PHP_5_3/Zend/zend_object_handlers.c
8e3aebd 18-Jun-2009 Scott MacVicar <scottmac@php.net> Fix bug #48215 - Calling a method with the same name as the parent class calls the constructor instead.
/PHP_5_3/Zend/zend_object_handlers.c
2cb9fe1 12-Jun-2009 Felipe Pena <felipe@php.net> - Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function()
/PHP_5_3/Zend/zend_object_handlers.c
5f8ca6d 12-Jun-2009 Felipe Pena <felipe@php.net> MFH: Fixed bug #48533 (__callStatic is not invoked for private/protected methods)
/PHP_5_3/Zend/zend_object_handlers.c
db1eafa 12-May-2009 Felipe Pena <felipe@php.net> - MFH: Fixed bug #48248 (SIGSEGV when access to private property via &__get)
/PHP_5_3/Zend/zend_object_handlers.c
312176f 14-Jan-2009 Dmitry Stogov <dmitry@php.net> Reverted "Rebind closure when binding to property"
/PHP_5_3/Zend/zend_object_handlers.c
26bb96e 07-Jan-2009 Andrei Zmievski <andrei@php.net> Changed __call() to be invoked on private/protected method access,
similar to properties and __get().
/PHP_5_3/Zend/zend_object_handlers.c
0e13165 03-Jan-2009 Marcus Boerger <helly@php.net> - MFH Rebind closure when binding to property
/PHP_5_3/Zend/zend_object_handlers.c
08659c2 31-Dec-2008 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 3 of 3.
/PHP_5_3/Zend/zend_object_handlers.c
7d4fd3f 27-Nov-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #46409 (__invoke method called outside of object context when using array_map)
/PHP_5_3/Zend/zend_object_handlers.c
41ad9b4 17-Oct-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #46308 (Invalid write when changing property from inside getter)
/PHP_5_3/Zend/zend_object_handlers.c
f90255c 14-Aug-2008 Etienne Kneuss <colder@php.net> MFH: Handlerify get_closure
/PHP_5_3/Zend/zend_object_handlers.c
cf7384a 12-Aug-2008 Felipe Pena <felipe@php.net> - MFH: Constness (Added const qualifier to several function parameters)
/PHP_5_3/Zend/zend_object_handlers.c
af05ce0 26-Jul-2008 Dmitry Stogov <dmitry@php.net> Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
/PHP_5_3/Zend/zend_object_handlers.c
cc23d3b 03-Jun-2008 Felipe Pena <felipe@php.net> - Fixed bug #45089 (__callStatic $name case sensitivity)
/PHP_5_3/Zend/zend_object_handlers.c
7da75d8 27-May-2008 Matt Wilmas <mattwil@php.net> MFH: Add array_init_size() and use it where array size is known at initialization
/PHP_5_3/Zend/zend_object_handlers.c
a578b0c 03-May-2008 Felipe Pena <felipe@php.net> - MFH: Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss)
/PHP_5_3/Zend/zend_object_handlers.c
2ecf4bb 29-Apr-2008 Dmitry Stogov <dmitry@php.net> Lazy EG(active_symbol_table) initialization
/PHP_5_3/Zend/zend_object_handlers.c
7dd943a 17-Mar-2008 Antony Dovgal <tony2001@php.net> MFH: fix #39127 (Old-style constructor fallbacks produce strange results)
/PHP_5_3/Zend/zend_object_handlers.c
3e7e9d4 21-Feb-2008 Dmitry Stogov <dmitry@php.net> Fixed bug #44141 (private parent constructor callable through static function)
/PHP_5_3/Zend/zend_object_handlers.c
d1dded8 31-Dec-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump copyright year, 2 of 2.
/PHP_5_3/Zend/zend_object_handlers.c
1b6100f 21-Dec-2007 Johannes Schl├╝ter <johannes@php.net> - MFH: Fix #43450 (Memory leak on some functions with implicit object
__toString() call) (Davic C.)
/PHP_5_3/Zend/zend_object_handlers.c
648fbe9 22-Nov-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #43128 (Very long class name causes segfault)
/PHP_5_3/Zend/zend_object_handlers.c
c3ab6bd 20-Nov-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead)
/PHP_5_3/Zend/zend_object_handlers.c
ee548c7 17-Nov-2007 Sara Golemon <pollita@php.net> MFH(r-1.192) Remove extraneous space in error/notice messages (felipe)
/PHP_5_3/Zend/zend_object_handlers.c
dd3c04c 12-Nov-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class).
/PHP_5_3/Zend/zend_object_handlers.c
b489251 02-Nov-2007 Jani Taskinen <jani@php.net> - MFH from HEAD:
. Folding tags
. Parameter parsing
. SPL debug info
. array function improvements (not all yet)
. Improvements to function calling with call_user_* functions
. Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
/PHP_5_3/Zend/zend_object_handlers.c
988d28c 18-Oct-2007 Stanislav Malyshev <stas@php.net> ws
/PHP_5_3/Zend/zend_object_handlers.c
8ce1211 11-Oct-2007 Marcus Boerger <helly@php.net> - MFH debug object helper
/PHP_5_3/Zend/zend_object_handlers.c
4b4d634 07-Oct-2007 Yiduo (David) Wang <davidw@php.net> MFH: Added macros for managing zval refcounts and is_ref statuses
/PHP_5_3/Zend/zend_object_handlers.c
b20ed0d 29-Sep-2007 Dmitry Stogov <dmitry@php.net> Added support for __callstatic() magic method. (Sara)
/PHP_5_3/Zend/zend_object_handlers.c
7ec48cb 24-Jul-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #40757 (get_object_vars get nothing in child class)
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
/PHP_5_3/Zend/zend_object_handlers.c
ed10530 12-Jul-2007 Dmitry Stogov <dmitry@php.net> Fixed bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com)
/PHP_5_3/Zend/zend_object_handlers.c
008259d 23-Mar-2007 Stanislav Malyshev <stas@php.net> fix comment - guard system changed
/PHP_5_3/Zend/zend_object_handlers.c
e470e22 10-Jan-2007 Dmitry Stogov <dmitry@php.net> - Fixed bug #35106 (nested foreach fails when array variable has a reference).
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
/PHP_5_3/Zend/zend_object_handlers.c
4223aa4 01-Jan-2007 Sebastian Bergmann <sebastian@php.net> MFH: Bump year.
/PHP_5_3/Zend/zend_object_handlers.c
108a2fc 08-Dec-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #39775 ("Indirect modification ..." message is not shown)
The fix breaks two SimpleXML tests those must be fixed
/PHP_5_3/Zend/zend_object_handlers.c
41ae8de 08-Nov-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array).
/PHP_5_3/Zend/zend_object_handlers.c
7e17f85 12-Sep-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts)
/PHP_5_3/Zend/zend_object_handlers.c
191d686 28-Aug-2006 Antony Dovgal <tony2001@php.net> delete commented part, as it was done in HEAD
/PHP_5_3/Zend/zend_object_handlers.c
be31601 15-Aug-2006 Antony Dovgal <tony2001@php.net> apply correct fix for bug #38461
/PHP_5_3/Zend/zend_object_handlers.c
08d398a 15-Aug-2006 Antony Dovgal <tony2001@php.net> MFH: fix #38461 (setting private attribute with __set() produces segfault)
/PHP_5_3/Zend/zend_object_handlers.c
30f4d3f 26-Jul-2006 Dmitry Stogov <dmitry@php.net> Fixed bug #38220 (Crash on some object operations)
/PHP_5_3/Zend/zend_object_handlers.c
519ed8e 24-Jul-2006 Marcus Boerger <helly@php.net> - Better fix for #34505 and related, drop zend_unmangle_property_name_ex()
/PHP_5_3/Zend/zend_object_handlers.c
33a1a4d 21-Jul-2006 Dmitry Stogov <dmitry@php.net> Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property.
/PHP_5_3/Zend/zend_object_handlers.c
704eced 10-Jul-2006 Marcus Boerger <helly@php.net> - MFH Fixed Bug #37667 (Object is not added into array returned by __get)
/PHP_5_3/Zend/zend_object_handlers.c
058b529 05-Jul-2006 Antony Dovgal <tony2001@php.net> oops.. fix copy/paste typo
/PHP_5_3/Zend/zend_object_handlers.c
c4c96c0 05-Jul-2006 Antony Dovgal <tony2001@php.net> MFH: export zend_std_get_constructor()
/PHP_5_3/Zend/zend_object_handlers.c
859ab9a 05-Jul-2006 Antony Dovgal <tony2001@php.net> MFH: improve error messages
/PHP_5_3/Zend/zend_object_handlers.c
1b172b1 29-May-2006 Marcus Boerger <helly@php.net> - MFH Bugfix #37632 (Protected method access problem)
/PHP_5_3/Zend/zend_object_handlers.c
493f39d 27-May-2006 Marcus Boerger <helly@php.net> - MFH: Fix bug #37212 (Access to protected property of common base class)
By adding "zend_class_entry *ce" to struct zend_property_info;
/PHP_5_3/Zend/zend_object_handlers.c
f16bdce 10-May-2006 Marcus Boerger <helly@php.net> - Enforece rule of disallowing throw in __toString()
/PHP_5_3/Zend/zend_object_handlers.c
637a404 09-May-2006 Marcus Boerger <helly@php.net> - MFH as discussed
. zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D)
. zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D)
. added E_RECOVERABLE_ERROR
. added ZEND_TOSTRING_FUNC_NAME
. added __tostring function cache to zend_class_entry
. added ZEND_NAMED_ME
. modified ZEND_ME_MAPPING to support method flags
. added ZEND_MN
. method entries now use prefix "zim_" instead of "zif_"
. drop EG(ze1_compatibility_mode)
. changed cast handler, now without (int should_free):
typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
. changed get_iterator, now receives whether value is by ref:
zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
. added zend_objects_store_add_ref_by_handle
. added zend_objects_store_del_ref_by_handle
. convert_to_explicit_type(pzv, type)
/PHP_5_3/Zend/zend_object_handlers.c
61e93cc 04-Jan-2006 Andi Gutmans <andi@php.net> - Update copyright notices to 2006
/PHP_5_3/Zend/zend_object_handlers.c
8768ab9 01-Dec-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34729 (Crash in ZTS mode under Apache)
/PHP_5_3/Zend/zend_object_handlers.c
6b8bf38 16-Nov-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #35239 (Objects can lose references)
/PHP_5_3/Zend/zend_object_handlers.c
64931b6 15-Nov-2005 Dmitry Stogov <dmitry@php.net> Allow recursive calls to __get/__set for different properties
/PHP_5_3/Zend/zend_object_handlers.c
a8c338a 20-Oct-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #34893 (PHP5.1 overloading, Cannot access private property)
/PHP_5_3/Zend/zend_object_handlers.c
248345d 01-Sep-2005 Dmitry Stogov <dmitry@php.net> Support for class constants and static members for internal classes
/PHP_5_3/Zend/zend_object_handlers.c
916815b 03-Aug-2005 foobar <sniper@php.net> Bump up the year
/PHP_5_3/Zend/zend_object_handlers.c
345e025 07-Jul-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
/PHP_5_3/Zend/zend_object_handlers.c
62bdbc0 20-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed possible crash on $x = $obj->$non_string
/PHP_5_3/Zend/zend_object_handlers.c
d1ee85c 17-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #33277 (private method accessed by child class)
/PHP_5_3/Zend/zend_object_handlers.c
aedbdb0 16-Jun-2005 Dmitry Stogov <dmitry@php.net> Allowed return by refrence from internal functions
/PHP_5_3/Zend/zend_object_handlers.c
2cb5215 09-Jun-2005 Stanislav Malyshev <stas@php.net> MF50: fix #29689 and more private property problems
/PHP_5_3/Zend/zend_object_handlers.c
d02d270 08-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #30820 (static member conflict with $this->member silently ignored)
/PHP_5_3/Zend/zend_object_handlers.c
cd88e64 06-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #33171 (foreach enumerates private fields declared in base classes)
/PHP_5_3/Zend/zend_object_handlers.c
3d7b0ba 03-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed memory allocation bugs related to magic object handlers (__get(), __set(),
...)
/PHP_5_3/Zend/zend_object_handlers.c
9383e1b 01-Jun-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
/PHP_5_3/Zend/zend_object_handlers.c
94666dc 18-May-2005 Stanislav Malyshev <stas@php.net> revert - seems to be fixed elsewhere
/PHP_5_3/Zend/zend_object_handlers.c
e04666a 18-May-2005 Stanislav Malyshev <stas@php.net> fix #30451 static properties don't work properly
/PHP_5_3/Zend/zend_object_handlers.c
69326a7 03-May-2005 Dmitry Stogov <dmitry@php.net> Fixed destruction of zval after returning from __call()
/PHP_5_3/Zend/zend_object_handlers.c
56d543c 02-May-2005 Marcus Boerger <helly@php.net> - Extend API to support real existance test without the need to add any new
functions or change any behavior
/PHP_5_3/Zend/zend_object_handlers.c
217e89b 29-Apr-2005 foobar <sniper@php.net> compile fix
/PHP_5_3/Zend/zend_object_handlers.c
9966587 28-Apr-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
/PHP_5_3/Zend/zend_object_handlers.c
c81db6b 27-Apr-2005 Dmitry Stogov <dmitry@php.net> Fixed bug #29210 (Function: is_callable - no support for private and protected classes)
/PHP_5_3/Zend/zend_object_handlers.c
53e3b0f 25-Apr-2005 Andrei Zmievski <andrei@php.net> Reverting. Let's not introduce major BC breakage like this without a
good reason.
/PHP_5_3/Zend/zend_object_handlers.c
79b9084 17-Apr-2005 Marcus Boerger <helly@php.net> - Fix logic
/PHP_5_3/Zend/zend_object_handlers.c
adb3d01 08-Apr-2005 Marcus Boerger <helly@php.net> - No E_ERROR when we just check (where did my 0->1 change go on first commit?)
/PHP_5_3/Zend/zend_object_handlers.c
40cc0b7 08-Apr-2005 Marcus Boerger <helly@php.net> - No E_ERROR when we just check, here visibility simply means there is none
/PHP_5_3/Zend/zend_object_handlers.c
698d301 08-Apr-2005 Marcus Boerger <helly@php.net> - Simplify getting property info and make it an api function
/PHP_5_3/Zend/zend_object_handlers.c
6a6eaf2 19-Mar-2005 Marcus Boerger <helly@php.net> - More fixes to gracefully act on exception thrown in overload methods
/PHP_5_3/Zend/zend_object_handlers.c
cf020f1 19-Mar-2005 Marcus Boerger <helly@php.net> - Fix #31185
/PHP_5_3/Zend/zend_object_handlers.c
b924ef8 11-Mar-2005 Marcus Boerger <helly@php.net> - Don't touch refcount/is_ref
/PHP_5_3/Zend/zend_object_handlers.c
a586cec 27-Feb-2005 Marcus Boerger <helly@php.net> - If silence if wanted we do not error out
/PHP_5_3/Zend/zend_object_handlers.c
fd4fe1c 02-Feb-2005 Dmitry Stogov <dmitry@php.net> Fixed bugs #29767 and #31683 (__get and __set methods must not modify property name).
/PHP_5_3/Zend/zend_object_handlers.c
20be664 19-Jan-2005 foobar <sniper@php.net> - Fixed bug #29183 (Undefined symbol zend_check_private with Solaris CC)
/PHP_5_3/Zend/zend_object_handlers.c
235e6c0 17-Dec-2004 Andi Gutmans <andi@php.net> - Fixed Bug #30562 Segmentation fault with __call()
/PHP_5_3/Zend/zend_object_handlers.c
c5a9a5a 30-Oct-2004 Marcus Boerger <helly@php.net> - Change zend_object_handlers->get_method() to allow aggregation for internal classes
/PHP_5_3/Zend/zend_object_handlers.c
e39f3f3 28-Sep-2004 Marcus Boerger <helly@php.net> Simplify/Optmize magic method calls (__get/__set/__call/__clone/__destruct)
/PHP_5_3/Zend/zend_object_handlers.c
34b00ca 22-Jul-2004 Zeev Suraski <zeev@php.net> Fix bug in handling of protected properties
/PHP_5_3/Zend/zend_object_handlers.c
e000da9 19-Jul-2004 Stanislav Malyshev <stas@php.net> __set and __get will be called not only when variable doesn't exist but also when it's
invisible
/PHP_5_3/Zend/zend_object_handlers.c
56f8195 19-Jul-2004 Andi Gutmans <andi@php.net> - 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.
/PHP_5_3/Zend/zend_object_handlers.c
d673ec0 14-Jul-2004 Stanislav Malyshev <stas@php.net> be consistent with write_dimension
/PHP_5_3/Zend/zend_object_handlers.c
28d72ce 14-Jul-2004 Stanislav Malyshev <stas@php.net> fix #28957
/PHP_5_3/Zend/zend_object_handlers.c
6f5c099 26-May-2004 Wez Furlong <wez@php.net> Fix leak on systems where alloca isn't really alloca.
/PHP_5_3/Zend/zend_object_handlers.c
d056b25 04-May-2004 Wez Furlong <wez@php.net> Add count_elements handler for overloaded objects.
/PHP_5_3/Zend/zend_object_handlers.c
4a24cbe 09-Apr-2004 Andi Gutmans <andi@php.net> - Fix bug #26441 (When __set() returned a value it corrupted it)
/PHP_5_3/Zend/zend_object_handlers.c
bd9b600 21-Mar-2004 Stanislav Malyshev <stas@php.net> 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
/PHP_5_3/Zend/zend_object_handlers.c
88de69b 14-Mar-2004 Andi Gutmans <andi@php.net> - Support Cast operator in convert_to_* so that we support internal
- extensions such as SimpleXML. This is for Sterling.
/PHP_5_3/Zend/zend_object_handlers.c
62b81df 12-Feb-2004 Andi Gutmans <andi@php.net> - This was too strict.
/PHP_5_3/Zend/zend_object_handlers.c
e7e0f7d 12-Feb-2004 Zeev Suraski <zeev@php.net> - 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.
/PHP_5_3/Zend/zend_object_handlers.c
473927e 08-Feb-2004 Zeev Suraski <zeev@php.net> Fix write-mode of overloaded objects when using array dimensions
/PHP_5_3/Zend/zend_object_handlers.c
c5a7b66 03-Feb-2004 Zeev Suraski <zeev@php.net> - Clean garbage (delete was nuked a long time ago)
/PHP_5_3/Zend/zend_object_handlers.c
0a8a950 17-Jan-2004 Ilia Alshanetsky <iliaa@php.net> Expose zend_std_call_user_call(), needed for implementation of things like
__call handlers.
/PHP_5_3/Zend/zend_object_handlers.c
ccfc46b 08-Jan-2004 foobar <sniper@php.net> - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
/PHP_5_3/Zend/zend_object_handlers.c
1e11e74 05-Jan-2004 Stanislav Malyshev <stas@php.net> Bug #24608 - fix interaction between __accessors and get_property_ptr
/PHP_5_3/Zend/zend_object_handlers.c
6923a16 03-Jan-2004 Derick Rethans <derick@php.net> - Fixed var_export() to show public, protected and private modifiers properly.
- Exported (un)mangle_property_name.
/PHP_5_3/Zend/zend_object_handlers.c
db36fd0 27-Dec-2003 Marcus Boerger <helly@php.net> Fix __tostring() and concatenation
/PHP_5_3/Zend/zend_object_handlers.c
06788f0 22-Dec-2003 Marcus Boerger <helly@php.net> Fixed bug #26675 (Segfault on ArrayAccess use)
Update NEWS
/PHP_5_3/Zend/zend_object_handlers.c
273c193 22-Dec-2003 Wez Furlong <wez@php.net> export these symbols for use by SPL as a shared extension
/PHP_5_3/Zend/zend_object_handlers.c
49efcd4 18-Dec-2003 Marcus Boerger <helly@php.net> Fixed bug #24837 Incorrect behaviour of PPP using foreach.
/PHP_5_3/Zend/zend_object_handlers.c
052032f 16-Dec-2003 Stanislav Malyshev <stas@php.net> export externally used functions
/PHP_5_3/Zend/zend_object_handlers.c
d4f64f8 15-Dec-2003 Marcus Boerger <helly@php.net> Reenable __tostring() magic for print,echo,concatenation,function naming...
but not for other internal things.
# As discussed with Andi
/PHP_5_3/Zend/zend_object_handlers.c
904373a 11-Dec-2003 Marcus Boerger <helly@php.net> Handle getter failure and allow to bypass thrown exceptions.
/PHP_5_3/Zend/zend_object_handlers.c
ff57d33 02-Dec-2003 Marcus Boerger <helly@php.net> Remove automatic call to __toString() since it is supposed to cause too
much trouble. See discussion on the mailing list.
/PHP_5_3/Zend/zend_object_handlers.c
87577dd 27-Nov-2003 Marcus Boerger <helly@php.net> The macro REPLACE_ZVAL_VALUE cannot be used since we only have zval *
writeobj. to allow it the api needs to be changed to zval **writeobj.
/PHP_5_3/Zend/zend_object_handlers.c
4dba05d 24-Nov-2003 Marcus Boerger <helly@php.net> Add new interface ArrayAccess to use objects as Arrays
/PHP_5_3/Zend/zend_object_handlers.c
e7365f3 10-Nov-2003 Marcus Boerger <helly@php.net> Correct default handlers
/PHP_5_3/Zend/zend_object_handlers.c
48d249d 10-Nov-2003 Marcus Boerger <helly@php.net> Fix those warnings
/PHP_5_3/Zend/zend_object_handlers.c
296529b 10-Nov-2003 Marcus Boerger <helly@php.net> Split isset/isempty for object property and object dimension hooking.
/PHP_5_3/Zend/zend_object_handlers.c
3168543 08-Nov-2003 Marcus Boerger <helly@php.net> Handle exceptions in casting more gracefully.
This fixes bug #26166
/PHP_5_3/Zend/zend_object_handlers.c
68bab38 04-Nov-2003 Moriyoshi Koizumi <moriyoshi@php.net> __tostring() handler should be binary-safe
/PHP_5_3/Zend/zend_object_handlers.c
4de3242 05-Oct-2003 Zeev Suraski <zeev@php.net> Remove unused callback
/PHP_5_3/Zend/zend_object_handlers.c
3f5acc7 05-Oct-2003 Zeev Suraski <zeev@php.net> Remove redundant callback, simplify API
/PHP_5_3/Zend/zend_object_handlers.c
d7fdf15 18-Sep-2003 Marcus Boerger <helly@php.net> - Allow partial type conversion support for objects.
- Add support for object to string conversion from userspace by method
__toString() and add a test.
/PHP_5_3/Zend/zend_object_handlers.c
95649ab 04-Sep-2003 Marcus Boerger <helly@php.net> Tests show updating consts must happen once at runtime (revert optimization).
Add tests for static properties.
/PHP_5_3/Zend/zend_object_handlers.c
1b39a5a 03-Sep-2003 Marcus Boerger <helly@php.net> Fix static properties.
#
# There's only an errormessage missing which i'll wommit as soon as i find out
# how to do it best. But besides that damn message everything works now and all
# inheritance rules apply.
#
/PHP_5_3/Zend/zend_object_handlers.c
9702c70 02-Sep-2003 Marcus Boerger <helly@php.net> Synch/Unify error messages related to function/method calls
/PHP_5_3/Zend/zend_object_handlers.c
744dd20 17-Aug-2003 Marcus Boerger <helly@php.net> Fix warnings
/PHP_5_3/Zend/zend_object_handlers.c
b29b444 15-Aug-2003 Sascha Schumann <sas@php.net> Restrict scope of inline functions to compile unit

Submitted by: Jason Greene <jason@inetgurus.net>
/PHP_5_3/Zend/zend_object_handlers.c
f8bbafd 03-Aug-2003 Zeev Suraski <zeev@php.net> ntroduce infrastructure for supplying information about arguments,
including:

- Whether or not to pass by ref (replaces the old arg_types, with arg_info)
- Argument name (for future use, maybe introspection)
- Class/Interface name (for type hints)
- If a class/interface name is available, whether to allow a null instance

Both user and builtin functions share the same data structures.

To declare a builtin function that expects its first arg to be an instance
of class 'Person', its second argument as a regular arg, and its third by
reference, use:

ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0)
ZEND_ARG_OBJ_INFO(0, someone, Person, 1)
ZEND_ARG_PASS_INFO(0)
ZEND_ARG_PASS_INFO(1)
ZEND_END_ARG_INFO();

and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family
of macros.

The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref.

The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat
the arguments for which there's no explicit information as pass by reference
or not.
The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
/PHP_5_3/Zend/zend_object_handlers.c
c0b4673 30-Jul-2003 Zeev Suraski <zeev@php.net> Improve array overloading - support unset($foo["bar"])
/PHP_5_3/Zend/zend_object_handlers.c
6a50660 22-Jul-2003 Zeev Suraski <zeev@php.net> Fix isset()/empty() for non-trivial object elements
(API change - read_property now accepts an extra element)
Fixes bug #24436
/PHP_5_3/Zend/zend_object_handlers.c
7e72d8e 21-Jul-2003 Zeev Suraski <zeev@php.net> Fix bug #24499
/PHP_5_3/Zend/zend_object_handlers.c
3cfa6a6 07-Jul-2003 Zeev Suraski <zeev@php.net> Add get_dim callback
/PHP_5_3/Zend/zend_object_handlers.c
ae6a1e7 07-Jul-2003 Zeev Suraski <zeev@php.net> whitespace
/PHP_5_3/Zend/zend_object_handlers.c
765f349 07-Jul-2003 Zeev Suraski <zeev@php.net> fixlet
/PHP_5_3/Zend/zend_object_handlers.c
938c0fb 07-Jul-2003 Zeev Suraski <zeev@php.net> Initial support for overloading of array syntax for objects (very initial)
/PHP_5_3/Zend/zend_object_handlers.c
35c4093 01-Jul-2003 Marcus Boerger <helly@php.net> Fix destructor visibility
/PHP_5_3/Zend/zend_object_handlers.c
9754535 29-Jun-2003 Ilia Alshanetsky <iliaa@php.net> Fixed bug #24279 (__get() crash when no value is returned)
/PHP_5_3/Zend/zend_object_handlers.c
f68c7ff 10-Jun-2003 James Cox <imajes@php.net> updating license information in the headers.
/PHP_5_3/Zend/zend_object_handlers.c
636e9cc 08-Jun-2003 Zeev Suraski <zeev@php.net> Fix casing issues in access level checks
/PHP_5_3/Zend/zend_object_handlers.c
039c174 04-Jun-2003 Stanislav Malyshev <stas@php.net> rm namespace leftovers
/PHP_5_3/Zend/zend_object_handlers.c
f7f5a5e 02-Jun-2003 Stanislav Malyshev <stas@php.net> MEGA-patch: namespaces are R.I.P.
/PHP_5_3/Zend/zend_object_handlers.c
ae2bfb7 27-May-2003 Sterling Hughes <sterling@php.net> Assume lazy consensus regarding the cast_object() patch. *Only* implemented
from a internals perspective. This callback has been very useful for both
ext/mono and ext/simplexml
/PHP_5_3/Zend/zend_object_handlers.c
66b9125 21-May-2003 Marcus Boerger <helly@php.net> Make use optimized string lowering
/PHP_5_3/Zend/zend_object_handlers.c
ad01495 21-Apr-2003 Stanislav Malyshev <stas@php.net> Change get_class() so that it returns qualified names for namespaced
classes.

*HEADS UP*: get_class_name() handler interface is changed, now it should
allocate the space it returns with emalloc, and the users free it. If
anyone has problems with it or has suggestions how to do it without this -
please tell.

Also: make function_exists() understand namespaces.
/PHP_5_3/Zend/zend_object_handlers.c
62f9eb8 01-Apr-2003 Andrei Zmievski <andrei@php.net> Split ZEND_NAMESPACE into user and internal namespaces. Hope this is
okay with engine folks.
/PHP_5_3/Zend/zend_object_handlers.c
866332a 26-Mar-2003 Sebastian Bergmann <sebastian@php.net> Eliminate TSRMLS_FETCH() calls in zend_objects_new() and zend_objects_get_address().
/PHP_5_3/Zend/zend_object_handlers.c
40326f6 18-Mar-2003 Zeev Suraski <zeev@php.net> - Fix situation where a derived class declares a public (or implicit public)
with the same name as a private in the parent
- Optimize 'static binding' of private properties a bit
/PHP_5_3/Zend/zend_object_handlers.c
d405373 11-Mar-2003 Zeev Suraski <zeev@php.net> Fix handling of ::func()
/PHP_5_3/Zend/zend_object_handlers.c
d22cc2f 17-Feb-2003 Zeev Suraski <zeev@php.net> Improve handling of static member variables
/PHP_5_3/Zend/zend_object_handlers.c
e77eca7 16-Feb-2003 Stanislav Malyshev <stas@php.net> namespace patch - static variable access
/PHP_5_3/Zend/zend_object_handlers.c
8844190 13-Feb-2003 Zeev Suraski <zeev@php.net> Fix error handling in illegal property access
/PHP_5_3/Zend/zend_object_handlers.c
10b6a84 10-Feb-2003 Stanislav Malyshev <stas@php.net> update static constants too
/PHP_5_3/Zend/zend_object_handlers.c
029abf8 10-Feb-2003 Zeev Suraski <zeev@php.net> Restore missing check
/PHP_5_3/Zend/zend_object_handlers.c
fce275e 07-Feb-2003 Zeev Suraski <zeev@php.net> Improve PPP handling of properties
/PHP_5_3/Zend/zend_object_handlers.c
fc59116 06-Feb-2003 Zeev Suraski <zeev@php.net> Fix check
/PHP_5_3/Zend/zend_object_handlers.c
f660d28 05-Feb-2003 Zeev Suraski <zeev@php.net> - read_property cleanup
- Implement unset/isset/empty for PPP
/PHP_5_3/Zend/zend_object_handlers.c
17439aa 05-Feb-2003 Zeev Suraski <zeev@php.net> Rework static class properties - now supports access restrictions
/PHP_5_3/Zend/zend_object_handlers.c
da12870 05-Feb-2003 Zeev Suraski <zeev@php.net> Add PPP support for arrays
/PHP_5_3/Zend/zend_object_handlers.c
e1179a4 04-Feb-2003 Zeev Suraski <zeev@php.net> Missing update
/PHP_5_3/Zend/zend_object_handlers.c
471947b 04-Feb-2003 Zeev Suraski <zeev@php.net> Reimplement PPP properties
/PHP_5_3/Zend/zend_object_handlers.c
61bd944 02-Feb-2003 Zeev Suraski <zeev@php.net> Core rearrangements - move Zend Objects specific code to their
specific implementation file
/PHP_5_3/Zend/zend_object_handlers.c
333406b 01-Feb-2003 foobar <sniper@php.net> - Added some missing CVS $Id$ tags, headers and footers.
/PHP_5_3/Zend/zend_object_handlers.c
4b97a8d 29-Jan-2003 Zeev Suraski <zeev@php.net> Code rearrangements
/PHP_5_3/Zend/zend_object_handlers.c
8f52bf6 29-Jan-2003 Zeev Suraski <zeev@php.net> Fix assignments to $this.
Fixes the 'make install' problem reported on php-dev
/PHP_5_3/Zend/zend_object_handlers.c
f30f359 14-Jan-2003 Stanislav Malyshev <stas@php.net> ws
/PHP_5_3/Zend/zend_object_handlers.c
1b355e1 12-Jan-2003 Stanislav Malyshev <stas@php.net> Move Z_OBJ_P here.
/PHP_5_3/Zend/zend_object_handlers.c
6cc7ee2 12-Jan-2003 Stanislav Malyshev <stas@php.net> add get_class_name handler
/PHP_5_3/Zend/zend_object_handlers.c
671fff2 30-Nov-2002 Andi Gutmans <andi@php.net> h WHitespace
/PHP_5_3/Zend/zend_object_handlers.c
e8214a3 23-Nov-2002 Andi Gutmans <andi@php.net> - Commit Marcus' cleanup of abstract and static inheritance and improve
- error messages
/PHP_5_3/Zend/zend_object_handlers.c
8ee5080 12-Nov-2002 Stanislav Malyshev <stas@php.net> fix static
/PHP_5_3/Zend/zend_object_handlers.c
c33a695 20-Oct-2002 Stanislav Malyshev <stas@php.net> looks like this message should go
/PHP_5_3/Zend/zend_object_handlers.c
f45d2f9 10-Oct-2002 Stanislav Malyshev <stas@php.net> add comment
/PHP_5_3/Zend/zend_object_handlers.c
98ad93f 10-Oct-2002 Stanislav Malyshev <stas@php.net> fix memory leaks
/PHP_5_3/Zend/zend_object_handlers.c
e22e61a 09-Oct-2002 Stanislav Malyshev <stas@php.net> Fix object write handler behaviour:
* If this value is already set to given value, don't try to set it again.
* If we have reference, we should not move it.
* If we are assigning referenced variable, we should separate it.
# Hope this covers all... Sigh...
/PHP_5_3/Zend/zend_object_handlers.c
d3617c5 09-Oct-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1 zend_str_tolower issue.
/PHP_5_3/Zend/zend_object_handlers.c
ee7b8f9 26-Sep-2002 Ilia Alshanetsky <iliaa@php.net> MFZE1
/PHP_5_3/Zend/zend_object_handlers.c
43139dc 15-Sep-2002 Andi Gutmans <andi@php.net> - WS - Always use "if (" and not "if("
/PHP_5_3/Zend/zend_object_handlers.c
44c2c39 09-Sep-2002 Stanislav Malyshev <stas@php.net> remove comment
/PHP_5_3/Zend/zend_object_handlers.c
e8f6654 04-Sep-2002 Stanislav Malyshev <stas@php.net> remove dead code
/PHP_5_3/Zend/zend_object_handlers.c
36c60ce 04-Sep-2002 Stanislav Malyshev <stas@php.net> Fix __call and add some docs
/PHP_5_3/Zend/zend_object_handlers.c
2711976 04-Sep-2002 Sebastian Bergmann <sebastian@php.net> Fix ZTS build.
/PHP_5_3/Zend/zend_object_handlers.c
d8651c8 04-Sep-2002 Stanislav Malyshev <stas@php.net> 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.
/PHP_5_3/Zend/zend_object_handlers.c
0ed4f6d 07-Jul-2002 Stanislav Malyshev <stas@php.net> name length should be strlen+1
/PHP_5_3/Zend/zend_object_handlers.c
2d6404d 05-Jun-2002 Andi Gutmans <andi@php.net> - Allow overloaded objects to receive the method name in its original
- case.
/PHP_5_3/Zend/zend_object_handlers.c
f75f3cf 31-May-2002 Stanislav Malyshev <stas@php.net> Generalize object storage and reference bookkeeping
/PHP_5_3/Zend/zend_object_handlers.c
7a06754 30-Apr-2002 Stanislav Malyshev <stas@php.net> Make OBJCE return zend_class_entry*, also some cleanups
/PHP_5_3/Zend/zend_object_handlers.c
6ac6cb1 22-Apr-2002 Harald Radi <phanto@php.net> added get_class_entry callback handler to the
object handlers structure
/PHP_5_3/Zend/zend_object_handlers.c
04ed2b5 10-Mar-2002 Stanislav Malyshev <stas@php.net> New stuff for objects API:
- Better assignment handling
- More flexible operations with zval-containing objects
/PHP_5_3/Zend/zend_object_handlers.c
00e90f2 21-Feb-2002 Andi Gutmans <andi@php.net> - Experimental support for private members.
<?
class MyClass {
private $Hello = "Hello, World!\n";

function printHello()
{
print $this->Hello;
}
}

class MyClass2 extends MyClass {
function printHello()
{
MyClass::printHello(); /* Should print */
print $this->Hello; /* Shouldn't print out anything */
}
}

$obj = new MyClass();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello(); /* Should print */

$obj = new MyClass2();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello();
?>
/PHP_5_3/Zend/zend_object_handlers.c
6608f07 07-Feb-2002 Stanislav Malyshev <stas@php.net> 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.
/PHP_5_3/Zend/zend_object_handlers.c