Dmitry Stogov
92d3bc0c93
Fixed bug #40757 (get_object_vars get nothing in child class)
...
Fixed bug #41929 (Foreach on object does not iterate over all visible properties)
2007-07-24 11:40:07 +00:00
Sara Golemon
b1bc911cee
Add support got zend_class_entry->get_static_method() and matching __callStatic() userspace method @doc
2007-07-21 05:27:07 +00:00
Dmitry Stogov
68845c6a83
Fixed bug #41961 (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com)
2007-07-12 10:32:26 +00:00
Antony Dovgal
dd8af0654a
fix folding, CS and WS
2007-07-11 11:19:58 +00:00
Stanislav Malyshev
50312ac474
fix comment
2007-03-23 17:39:19 +00:00
Marcus Boerger
13da6bf4d7
- Add debug_info helper to overloadedobjects
2007-01-18 23:23:13 +00:00
Dmitry Stogov
f6387758c6
- 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).
2007-01-10 15:59:56 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Dmitry Stogov
f37ad2e146
Fixed bug #39775 ("Indirect modification ..." message is not shown)
2006-12-08 16:23:04 +00:00
Dmitry Stogov
706a0364e6
Unicode support
2006-11-10 14:21:13 +00:00
Dmitry Stogov
f8b3df2bf2
Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array).
2006-11-08 13:38:44 +00:00
Andrei Zmievski
83e0dbb3d2
- Add an extra parameter to the cast_object handler that can be used by
...
various types as needed.
- Use that parameter to pass a specific converter for
IS_UNICODE/IS_STRING types.
2006-10-13 14:52:19 +00:00
Dmitry Stogov
5574651edb
Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts)
2006-09-12 11:01:31 +00:00
Antony Dovgal
9ea866fab4
apply more correct fix for bug #38461
2006-08-15 20:30:26 +00:00
Antony Dovgal
e17c15ba03
fix #38461 (setting private attribute with __set() produces segfault)
2006-08-15 13:19:00 +00:00
Dmitry Stogov
1ab16de084
Fixed bug #38220 (Crash on some object operations)
2006-07-26 15:29:39 +00:00
Marcus Boerger
617a18fc40
- Fix for #34505 and repated (improved version of what is in 5.2, 5.1)
2006-07-24 17:51:41 +00:00
Dmitry Stogov
933e8c0be0
Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property.
2006-07-21 10:32:41 +00:00
Marcus Boerger
032dfa1bc4
- Fix issues with __get() returning arrays (might need to be revised)
2006-07-10 00:07:36 +00:00
Antony Dovgal
cbeedda2db
export zend_std_get_constructor()
2006-07-05 11:41:09 +00:00
Antony Dovgal
636e7be681
improve error messages
2006-07-05 11:38:13 +00:00
Marcus Boerger
17912b4f1e
- Bugfix #37632 (Protected method access problem)
2006-05-29 19:57:43 +00:00
Marcus Boerger
f93bf1007a
- WS
2006-05-27 19:04:16 +00:00
Marcus Boerger
9265545992
- Fix bug #37212 (Access to protected property of common base class)
...
By adding "zend_class_entry *ce" to struct zend_property_info;
# Besides closing the bug this patch allows to optimize a bunch of
# property handling optimizations. I need to find out what all can be
# optimized. All other tests relevant to class handling still PASS.
2006-05-27 02:12:43 +00:00
Marcus Boerger
37561705a0
- Fix error message in unicode mode
2006-05-18 21:14:40 +00:00
Marcus Boerger
82a538c4fa
- Enforece rule of disallowing throw in __toString()
2006-05-10 21:11:48 +00:00
Marcus Boerger
0638c67dab
- MFB: WS
2006-05-09 21:26:39 +00:00
Dmitry Stogov
e3b7f3fd0d
Unicode support: MS Visual C compatibility
2006-02-26 11:57:14 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
2e5d0a3a9d
WS
2006-02-21 08:00:39 +00:00
Dmitry Stogov
b424a32610
Preparation for portable string API (use macroses to access zval).
2006-02-20 19:03:43 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Marcus Boerger
f4a0ce710e
- Fix method invocation issues
2006-01-22 18:55:02 +00:00
Andi Gutmans
5de7cc3194
- Update copyright notices to 2006
2006-01-04 23:54:12 +00:00
Dmitry Stogov
feaa2501d0
Fixed bug #34729 (Crash in ZTS mode under Apache)
2005-12-01 11:49:51 +00:00
Dmitry Stogov
8373809e2e
Fixed bug #35239 (Objects can lose references)
2005-11-16 11:52:53 +00:00
Dmitry Stogov
8bb39e7dba
Allow recursive calls to __get/__set for different properties
2005-11-15 15:21:47 +00:00
Dmitry Stogov
5372281b01
Fixed bug #34893 (PHP5.1 overloading, Cannot access private property)
2005-10-20 09:47:31 +00:00
Marcus Boerger
7d2a02feb6
- BC: php objects convert to int/double 1 with notice
2005-10-06 19:11:01 +00:00
Marcus Boerger
b9211d24e7
- Any php object converts to boolean as true
2005-10-06 18:46:01 +00:00
Marcus Boerger
7c083fcc07
- Have __toString() be called if available in all places an object is used
...
as a string.
#
# Note that "Object #<id>" is no longer afallback for debugging purpose use
# var_dump, which was made for debugging. If you used this to grab the id
# of an object you can never rely on this. For object storage look at SPL's
# ObjectStorage class.
#
# Note the signature change in the cast handler:
#
# int (*cast_t)(zval *readobj, zval *writeobj, int type, int should_free TSRMLS_DC);
# int (*cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
2005-10-05 19:02:27 +00:00
Dmitry Stogov
f94344d7fd
Changed __toString() behavior to call it in all necessary places
2005-09-27 07:59:18 +00:00
Dmitry Stogov
7b7551085b
Support for class constants and static members for internal classes
2005-09-01 10:05:01 +00:00
Marcus Boerger
0165ab6251
- Adds module registering a function to struct zend_internal_function.
...
(Johannes)
# This information is by reflection API and error messages.
2005-08-30 18:27:17 +00:00
Andrei Zmievski
da4721427a
*** empty log message ***
2005-08-19 22:33:39 +00:00
Dmitry Stogov
90393d675f
Unicode support
2005-08-19 13:20:16 +00:00
Dmitry Stogov
b0e24970bb
Unicode support cleanup
2005-08-19 10:54:26 +00:00
Dmitry Stogov
8c33fcf7ce
Unicode mode doesn't allow non-unicode properties
2005-08-17 17:07:52 +00:00
Dmitry Stogov
48def9a6ad
Unicode support
2005-08-17 13:10:04 +00:00
Dmitry Stogov
e47587e189
Fixed several unicode related bugs
2005-08-15 14:39:18 +00:00