summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add property read code and use that in default exception classMarcus Boerger2003-08-241-0/+2
|
* Internal classes can now have default properties.Marcus Boerger2003-08-231-0/+6
|
* Fix warningsMarcus Boerger2003-08-171-2/+2
|
* explicitly cast size_t to zend_uint to avoid warnings on 64 bit platforms.Sascha Schumann2003-08-171-1/+1
|
* Simplify abstract method declarationMarcus Boerger2003-08-161-0/+1
|
* Try to put an end to the endless number of call_user_function variants.Zeev Suraski2003-08-051-1/+25
| | | | | | | | | | | | | | | | | | | | zend_call_function() now takes a structure that should contain all of the necessary information. If further information is necessary in the future, then we'll be able to add it without having to introduce a new function. As for caching - the 2nd, optional argument is a struct that can hold all of the information that's necessary to invoke the function, including its handler, scope and object it operates on (if any). Note that you may only use a cache if the arguments you provide to zend_call_function() are identical to the ones of the last call, except for the argument and return value information. The recently introduced fast_call_user_function() was removed I fixed most of the places that used fast_call_user_function() to use caching but there are still some that need to be fixed (XML and reflection)
* ntroduce infrastructure for supplying information about arguments,Zeev Suraski2003-08-031-12/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add exec_finished() callback for modules - this is the last place where theZeev Suraski2003-07-301-0/+2
| | | | | modules may touch the symbol table reliably
* reverted at Andi's request. replaced with more generic wrapper.George Schlossnagle2003-07-211-16/+2
|
* Rework zend_do_declare_property and related code into one code baseZeev Suraski2003-07-071-16/+17
|
* add convenience functions or adding class properties. Ok'd for commit by Andi.George Schlossnagle2003-07-061-0/+22
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* rm namespace leftoversStanislav Malyshev2003-06-041-2/+0
|
* MEGA-patch: namespaces are R.I.P.Stanislav Malyshev2003-06-021-7/+0
|
* Revert to sizeof()Marcus Boerger2003-05-231-1/+1
|
* add fast_call_user_function()Sterling Hughes2003-05-201-0/+1
|
* C++ compile fixesHartmut Holzgraefe2003-05-201-1/+3
|
* Allow functions in internal namespaces (for example factories)Marcus Boerger2003-05-041-0/+1
|
* Change get_class() so that it returns qualified names for namespacedStanislav Malyshev2003-04-211-0/+2
| | | | | | | | | | | | 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.
* Rename zend_register_internal_class_in_ns() to a better, less filling,Andrei Zmievski2003-04-081-1/+1
| | | | | but with the same great taste zend_register_internal_ns_class().
* Introduce ZEND_ME() and ZEND_METHOD() macros. Use these for declaringAndrei Zmievski2003-04-041-0/+2
| | | | | class methods to avoid name collisions.
* Fix namespace issuesStanislav Malyshev2003-04-041-0/+1
|
* - Add zend_register_internal_namespace() API function.Andrei Zmievski2003-04-021-0/+4
| | | | | - Add zend_register_internal_class_in_ns() API function.
* Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().Sebastian Bergmann2003-03-261-1/+1
|
* commiting zend_disable_class patch for George:Harald Radi2003-03-031-1/+3
| | | | | | disabled classes will be replaced by dummy classes that print a warning upon instanciation
* Removed zend_get_module(), this function is not used by anything and moreIlia Alshanetsky2003-02-121-1/+0
| | | | | | importantly. it does not work. It tries to find data based on numeric keys in hash table using string keys.
* fixed zend_parse_method_paramGeorg Richter2003-02-081-1/+1
|
* Build fix.Sebastian Bergmann2003-02-031-1/+1
|
* extend the parameter parsing API by two functionsHarald Radi2003-02-021-0/+3
| | | | | | | | | | | | | for parsing method parameters with automatic detection if the function was called as such or as a class method (with a valid this ptr). if called as a function the first parameter has to be the object it is operating on, if called as a method this is used. #not yet testet, only commiting so that georg can #continue working on ext/mysqli
* - Added some missing CVS $Id$ tags, headers and footers.foobar2003-02-011-0/+2
|
* Make add_property_ functions work via write_property handlerStanislav Malyshev2003-01-141-17/+17
|
* Remove handle_property from here tooStanislav Malyshev2003-01-121-3/+3
|
* Unify and make it easy to add code into the broken-string error handlerZeev Suraski2003-01-091-2/+2
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* - Commit Marcus' cleanup of abstract and static inheritance and improveAndi Gutmans2002-11-231-1/+1
| | | | | - error messages
* MFZE1Andrei Zmievski2002-09-161-0/+2
|
* only check for an available class entry instead ofHarald Radi2002-06-091-13/+1
| | | | | | | the std_object_handlers on some places #some linuxtag work
* MFZE1 (Expose more C++ APIs)Zeev Suraski2002-05-201-0/+4
|
* Make OBJCE return zend_class_entry*, also some cleanupsStanislav Malyshev2002-04-301-1/+1
|
* some type cleanup workHarald Radi2002-04-231-1/+1
|
* added get_class_entry callback handler to theHarald Radi2002-04-221-0/+2
| | | | | object handlers structure
* Mega-commit: Enter the new object modelStanislav Malyshev2002-02-071-1/+3
| | | | | | | 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.
* Happy New Year.Sebastian Bergmann2002-01-061-1/+1
|
* - MFZE1 for exit fix, exposing current function name in error messages andDerick Rethans2002-01-031-0/+1
| | | | | exposing zend_zval_type_name().
* - Experimental support for destructors. We need to see if destructorsAndi Gutmans2001-12-271-0/+2
| | | | | | | - 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.
* - Pretty much finish _clone() supportAndi Gutmans2001-12-261-0/+2
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* - Add some initializationsAndi Gutmans2001-11-031-0/+2
|
* MFZE1: Introduced extension version numbers (Stig)Sebastian Bergmann2001-10-121-0/+1
|
* _FUNCTION is used in definition, so use _DStanislav Malyshev2001-08-121-4/+4
|