summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix order of class_entry member initialization (needed for example for DOM)Marcus Boerger2003-12-281-0/+2
| | | | | # You need to completley rebuild PHP after this patch.
* export these symbols for use by SPL as a shared extensionWez Furlong2003-12-221-2/+2
|
* Free the zval container only if it should be freed and was not copied.Marcus Boerger2003-12-021-0/+3
|
* This takes the address of a zval ptrMarcus Boerger2003-11-291-1/+1
|
* Add macros to return values of other zvals.Marcus Boerger2003-11-291-0/+17
| | | | | This is needed because one cannot use REPLACE_ZVAL_VALUE with return_value.
* Add method alias macroMarcus Boerger2003-11-181-0/+2
|
* Add zend_make_callable() which allows to make zval's callable zval's.Marcus Boerger2003-10-251-0/+1
| | | | | | At the moment this function only converts strings of the form class::method to an array(class,method).
* Expand Interface C API.Marcus Boerger2003-10-221-0/+2
| | | | | | In short: zend_class_entry->interface_gets_implemented() allows to modify the class entry of a class when an interface gets implemented.
* Fix class/iterator relationship & handlingMarcus Boerger2003-10-181-1/+1
|
* Added c-api for iteratorsMarcus Boerger2003-10-171-1/+3
| | | | | # After 4 Month work and endless discussions...
* Add oo support function zend_class_implements()Marcus Boerger2003-10-151-0/+1
|
* this little piggy broke lots of things...eg. _function_check_flag in ↵Shane Caraveo2003-10-051-1/+1
| | | | reflection api.
* Ensure lval to have a *boolean* value.Moriyoshi Koizumi2003-10-031-1/+1
|
* Fix handling of static properties initialized to arraysMarcus Boerger2003-09-031-5/+5
|
* - Add zend_merge_properties() which is designed to serve *_fetch_object().Marcus Boerger2003-08-291-0/+2
| | | | | | | | | - Explain drawbacks of object_and_properties_init and zend_merge_properties. # # I guess we can live with the purity problem of potentially calling __set() # of an object which wasn't already ctored. #
* - Provide appropriate way to destroy internal zval's.Marcus Boerger2003-08-241-0/+1
| | | | | | - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor.
* Don't identify alias'ed functionsMarcus Boerger2003-08-241-1/+1
|
* One of PPP is needed, tooMarcus Boerger2003-08-241-1/+1
|
* - Add fn_flag ZEND_ACC_ALIASMarcus Boerger2003-08-241-5/+7
| | | | | - Unify way of function_entry generation by new macro ZEND_FENTRY
* 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
|