Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix order of class_entry member initialization (needed for example for DOM) | Marcus Boerger | 2003-12-28 | 1 | -0/+2 | |
| | | | | | # You need to completley rebuild PHP after this patch. | |||||
* | export these symbols for use by SPL as a shared extension | Wez Furlong | 2003-12-22 | 1 | -2/+2 | |
| | ||||||
* | Free the zval container only if it should be freed and was not copied. | Marcus Boerger | 2003-12-02 | 1 | -0/+3 | |
| | ||||||
* | This takes the address of a zval ptr | Marcus Boerger | 2003-11-29 | 1 | -1/+1 | |
| | ||||||
* | Add macros to return values of other zvals. | Marcus Boerger | 2003-11-29 | 1 | -0/+17 | |
| | | | | | This is needed because one cannot use REPLACE_ZVAL_VALUE with return_value. | |||||
* | Add method alias macro | Marcus Boerger | 2003-11-18 | 1 | -0/+2 | |
| | ||||||
* | Add zend_make_callable() which allows to make zval's callable zval's. | Marcus Boerger | 2003-10-25 | 1 | -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 Boerger | 2003-10-22 | 1 | -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 & handling | Marcus Boerger | 2003-10-18 | 1 | -1/+1 | |
| | ||||||
* | Added c-api for iterators | Marcus Boerger | 2003-10-17 | 1 | -1/+3 | |
| | | | | | # After 4 Month work and endless discussions... | |||||
* | Add oo support function zend_class_implements() | Marcus Boerger | 2003-10-15 | 1 | -0/+1 | |
| | ||||||
* | this little piggy broke lots of things...eg. _function_check_flag in ↵ | Shane Caraveo | 2003-10-05 | 1 | -1/+1 | |
| | | | | reflection api. | |||||
* | Ensure lval to have a *boolean* value. | Moriyoshi Koizumi | 2003-10-03 | 1 | -1/+1 | |
| | ||||||
* | Fix handling of static properties initialized to arrays | Marcus Boerger | 2003-09-03 | 1 | -5/+5 | |
| | ||||||
* | - Add zend_merge_properties() which is designed to serve *_fetch_object(). | Marcus Boerger | 2003-08-29 | 1 | -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 Boerger | 2003-08-24 | 1 | -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 functions | Marcus Boerger | 2003-08-24 | 1 | -1/+1 | |
| | ||||||
* | One of PPP is needed, too | Marcus Boerger | 2003-08-24 | 1 | -1/+1 | |
| | ||||||
* | - Add fn_flag ZEND_ACC_ALIAS | Marcus Boerger | 2003-08-24 | 1 | -5/+7 | |
| | | | | | - Unify way of function_entry generation by new macro ZEND_FENTRY | |||||
* | Add property read code and use that in default exception class | Marcus Boerger | 2003-08-24 | 1 | -0/+2 | |
| | ||||||
* | Internal classes can now have default properties. | Marcus Boerger | 2003-08-23 | 1 | -0/+6 | |
| | ||||||
* | Fix warnings | Marcus Boerger | 2003-08-17 | 1 | -2/+2 | |
| | ||||||
* | explicitly cast size_t to zend_uint to avoid warnings on 64 bit platforms. | Sascha Schumann | 2003-08-17 | 1 | -1/+1 | |
| | ||||||
* | Simplify abstract method declaration | Marcus Boerger | 2003-08-16 | 1 | -0/+1 | |
| | ||||||
* | Try to put an end to the endless number of call_user_function variants. | Zeev Suraski | 2003-08-05 | 1 | -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 Suraski | 2003-08-03 | 1 | -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 the | Zeev Suraski | 2003-07-30 | 1 | -0/+2 | |
| | | | | | modules may touch the symbol table reliably | |||||
* | reverted at Andi's request. replaced with more generic wrapper. | George Schlossnagle | 2003-07-21 | 1 | -16/+2 | |
| | ||||||
* | Rework zend_do_declare_property and related code into one code base | Zeev Suraski | 2003-07-07 | 1 | -16/+17 | |
| | ||||||
* | add convenience functions or adding class properties. Ok'd for commit by Andi. | George Schlossnagle | 2003-07-06 | 1 | -0/+22 | |
| | ||||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 | |
| | ||||||
* | rm namespace leftovers | Stanislav Malyshev | 2003-06-04 | 1 | -2/+0 | |
| | ||||||
* | MEGA-patch: namespaces are R.I.P. | Stanislav Malyshev | 2003-06-02 | 1 | -7/+0 | |
| | ||||||
* | Revert to sizeof() | Marcus Boerger | 2003-05-23 | 1 | -1/+1 | |
| | ||||||
* | add fast_call_user_function() | Sterling Hughes | 2003-05-20 | 1 | -0/+1 | |
| | ||||||
* | C++ compile fixes | Hartmut Holzgraefe | 2003-05-20 | 1 | -1/+3 | |
| | ||||||
* | Allow functions in internal namespaces (for example factories) | Marcus Boerger | 2003-05-04 | 1 | -0/+1 | |
| | ||||||
* | Change get_class() so that it returns qualified names for namespaced | Stanislav Malyshev | 2003-04-21 | 1 | -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 Zmievski | 2003-04-08 | 1 | -1/+1 | |
| | | | | | but with the same great taste zend_register_internal_ns_class(). | |||||
* | Introduce ZEND_ME() and ZEND_METHOD() macros. Use these for declaring | Andrei Zmievski | 2003-04-04 | 1 | -0/+2 | |
| | | | | | class methods to avoid name collisions. | |||||
* | Fix namespace issues | Stanislav Malyshev | 2003-04-04 | 1 | -0/+1 | |
| | ||||||
* | - Add zend_register_internal_namespace() API function. | Andrei Zmievski | 2003-04-02 | 1 | -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 Bergmann | 2003-03-26 | 1 | -1/+1 | |
| | ||||||
* | commiting zend_disable_class patch for George: | Harald Radi | 2003-03-03 | 1 | -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 more | Ilia Alshanetsky | 2003-02-12 | 1 | -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_param | Georg Richter | 2003-02-08 | 1 | -1/+1 | |
| | ||||||
* | Build fix. | Sebastian Bergmann | 2003-02-03 | 1 | -1/+1 | |
| | ||||||
* | extend the parameter parsing API by two functions | Harald Radi | 2003-02-02 | 1 | -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. | foobar | 2003-02-01 | 1 | -0/+2 | |
| | ||||||
* | Make add_property_ functions work via write_property handler | Stanislav Malyshev | 2003-01-14 | 1 | -17/+17 | |
| |