summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused callbackZeev Suraski2003-10-051-8/+0
|
* Remove redundant callback, simplify APIZeev Suraski2003-10-051-3/+11
|
* - Allow partial type conversion support for objects.Marcus Boerger2003-09-181-1/+23
| | | | | | - Add support for object to string conversion from userspace by method __toString() and add a test.
* Tests show updating consts must happen once at runtime (revert optimization).Marcus Boerger2003-09-041-0/+1
| | | | | Add tests for static properties.
* Fix static properties.Marcus Boerger2003-09-031-7/+1
| | | | | | | | | # # 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. #
* Synch/Unify error messages related to function/method callsMarcus Boerger2003-09-021-2/+2
|
* Fix warningsMarcus Boerger2003-08-171-2/+0
|
* Restrict scope of inline functions to compile unitSascha Schumann2003-08-151-1/+1
| | | | | Submitted by: Jason Greene <jason@inetgurus.net>
* ntroduce infrastructure for supplying information about arguments,Zeev Suraski2003-08-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Improve array overloading - support unset($foo["bar"])Zeev Suraski2003-07-301-0/+8
|
* Fix isset()/empty() for non-trivial object elementsZeev Suraski2003-07-221-2/+4
| | | | | | (API change - read_property now accepts an extra element) Fixes bug #24436
* Fix bug #24499Zeev Suraski2003-07-211-1/+14
|
* Add get_dim callbackZeev Suraski2003-07-071-2/+20
|
* whitespaceZeev Suraski2003-07-071-21/+21
|
* fixletZeev Suraski2003-07-071-1/+1
|
* Initial support for overloading of array syntax for objects (very initial)Zeev Suraski2003-07-071-0/+20
|
* Fix destructor visibilityMarcus Boerger2003-07-011-1/+1
|
* Fixed bug #24279 (__get() crash when no value is returned)Ilia Alshanetsky2003-06-291-2/+3
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* Fix casing issues in access level checksZeev Suraski2003-06-081-2/+2
|
* rm namespace leftoversStanislav Malyshev2003-06-041-1/+2
|
* MEGA-patch: namespaces are R.I.P.Stanislav Malyshev2003-06-021-20/+16
|
* Assume lazy consensus regarding the cast_object() patch. *Only* implementedSterling Hughes2003-05-271-1/+2
| | | | | | from a internals perspective. This callback has been very useful for both ext/mono and ext/simplexml
* Make use optimized string loweringMarcus Boerger2003-05-211-2/+1
|
* Change get_class() so that it returns qualified names for namespacedStanislav Malyshev2003-04-211-4/+5
| | | | | | | | | | | | 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.
* Split ZEND_NAMESPACE into user and internal namespaces. Hope this isAndrei Zmievski2003-04-011-1/+1
| | | | | okay with engine folks.
* Eliminate TSRMLS_FETCH() calls in zend_objects_new() and ↵Sebastian Bergmann2003-03-261-1/+1
| | | | zend_objects_get_address().
* - Fix situation where a derived class declares a public (or implicit public)Zeev Suraski2003-03-181-11/+27
| | | | | | with the same name as a private in the parent - Optimize 'static binding' of private properties a bit
* Fix handling of ::func()Zeev Suraski2003-03-111-1/+6
|
* Improve handling of static member variablesZeev Suraski2003-02-171-43/+33
|
* namespace patch - static variable accessStanislav Malyshev2003-02-161-0/+6
|
* Fix error handling in illegal property accessZeev Suraski2003-02-131-5/+12
|
* update static constants tooStanislav Malyshev2003-02-101-0/+2
|
* Restore missing checkZeev Suraski2003-02-101-0/+7
|
* Improve PPP handling of propertiesZeev Suraski2003-02-071-83/+35
|
* Fix checkZeev Suraski2003-02-061-1/+1
|
* - read_property cleanupZeev Suraski2003-02-051-25/+48
| | | | | - Implement unset/isset/empty for PPP
* Rework static class properties - now supports access restrictionsZeev Suraski2003-02-051-19/+73
|
* Add PPP support for arraysZeev Suraski2003-02-051-1/+15
|
* Missing updateZeev Suraski2003-02-041-1/+1
|
* Reimplement PPP propertiesZeev Suraski2003-02-041-3/+69
|
* Core rearrangements - move Zend Objects specific code to theirZeev Suraski2003-02-021-7/+157
| | | | | specific implementation file
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-0/+28
|
* Code rearrangementsZeev Suraski2003-01-291-2/+3
|
* Fix assignments to $this.Zeev Suraski2003-01-291-1/+3
| | | | | Fixes the 'make install' problem reported on php-dev
* wsStanislav Malyshev2003-01-141-2/+2
|
* Move Z_OBJ_P here.Stanislav Malyshev2003-01-121-0/+2
|
* add get_class_name handlerStanislav Malyshev2003-01-121-1/+19
|
* h WHitespaceAndi Gutmans2002-11-301-1/+1
|
* - Commit Marcus' cleanup of abstract and static inheritance and improveAndi Gutmans2002-11-231-2/+2
| | | | | - error messages