Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - Provide appropriate way to destroy internal zval's. | Marcus Boerger | 2003-08-24 | 1 | -0/+25 | |
| | | | | | | - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor. | |||||
* | Use ""'s if you want empty strings. We want to crash on errors. | Zeev Suraski | 2003-08-24 | 1 | -3/+0 | |
| | ||||||
* | Allow NULL, too | Marcus Boerger | 2003-08-24 | 1 | -0/+3 | |
| | ||||||
* | Fix fn_flags handling | Marcus Boerger | 2003-08-24 | 1 | -1/+3 | |
| | ||||||
* | Add property read code and use that in default exception class | Marcus Boerger | 2003-08-24 | 1 | -0/+17 | |
| | ||||||
* | Internal classes can now have default properties. | Marcus Boerger | 2003-08-23 | 1 | -3/+80 | |
| | ||||||
* | - Flag ctor/dtor methods | Marcus Boerger | 2003-08-23 | 1 | -0/+6 | |
| | | | | | | | | - Use this to prevent memleaks when an exception gets thrown in ctors. # I added the dtor flags for consistency, atm a compareable check in # isn't necessary for destruction. But anyway i'll use this for the # Relection API too. | |||||
* | If ce not given than any object would do | Marcus Boerger | 2003-08-21 | 1 | -1/+1 | |
| | ||||||
* | Paramspec 'O' / zend_parse_method_params(): only if given check the class type | Marcus Boerger | 2003-08-21 | 1 | -1/+5 | |
| | ||||||
* | Improve tracking | Zeev Suraski | 2003-08-18 | 1 | -1/+1 | |
| | ||||||
* | - Show class names in error messages when dealing with methods | Marcus Boerger | 2003-08-17 | 1 | -5/+11 | |
| | | | | | - Mark class as abstract if it gets an abstract method | |||||
* | Simplify abstract method declaration | Marcus Boerger | 2003-08-16 | 1 | -1/+1 | |
| | ||||||
* | - Show classes in case of methods | Marcus Boerger | 2003-08-13 | 1 | -4/+11 | |
| | | | | | - Using sprintf here was a bad idea | |||||
* | Ensure functions have a valid access level | Zeev Suraski | 2003-08-03 | 1 | -0/+3 | |
| | ||||||
* | Default to public | Zeev Suraski | 2003-08-03 | 1 | -1/+5 | |
| | ||||||
* | Not needed, will be copied from ptr->flags later | Marcus Boerger | 2003-08-03 | 1 | -1/+0 | |
| | ||||||
* | ntroduce infrastructure for supplying information about arguments, | Zeev Suraski | 2003-08-03 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | No need for this initialization - this function initializes all of the | Zeev Suraski | 2003-08-03 | 1 | -1/+0 | |
| | | | | | elements of zend_internal_function | |||||
* | Initialize all struct members: Necessary for reflection | Marcus Boerger | 2003-08-02 | 1 | -0/+1 | |
| | ||||||
* | fix usage of instanceof here too | Wez Furlong | 2003-08-02 | 1 | -3/+4 | |
| | ||||||
* | better fix... | Wez Furlong | 2003-08-01 | 1 | -3/+6 | |
| | ||||||
* | Fix "O" format for zend_parse_parameters | Wez Furlong | 2003-08-01 | 1 | -2/+2 | |
| | ||||||
* | Use instanceof_function() | Zeev Suraski | 2003-07-31 | 1 | -20/+4 | |
| | ||||||
* | Add exec_finished() callback for modules - this is the last place where the | Zeev Suraski | 2003-07-30 | 1 | -1/+2 | |
| | | | | | modules may touch the symbol table reliably | |||||
* | - WS | Andi Gutmans | 2003-07-12 | 1 | -9/+9 | |
| | ||||||
* | - Add support for Z in zend_parse_parameters(). It will allow the extension | Andi Gutmans | 2003-07-11 | 1 | -2/+11 | |
| | | | | | | | - to retreive the zval **, thus allowing it to use the convert_to_*_ex() - family of functions to do type conversions without effecting the value in - the engine itself. (Josh Fuhs <fuhs@purdue.edu>) | |||||
* | Rework zend_do_declare_property and related code into one code base | Zeev Suraski | 2003-07-07 | 1 | -27/+31 | |
| | ||||||
* | Fix bug | Zeev Suraski | 2003-07-07 | 1 | -1/+1 | |
| | ||||||
* | add convenience functions or adding class properties. Ok'd for commit by Andi. | George Schlossnagle | 2003-07-06 | 1 | -0/+45 | |
| | ||||||
* | Fix bug #19859 - allow fast_call_user_function to support __call | Stanislav Malyshev | 2003-07-03 | 1 | -2/+8 | |
| | ||||||
* | - ZE coding style requires if ( instead of if( | Andi Gutmans | 2003-06-30 | 1 | -2/+2 | |
| | ||||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -1/+1 | |
| | ||||||
* | Support 'self' and 'parent' in call_user_func() | Stanislav Malyshev | 2003-06-09 | 1 | -1/+6 | |
| | ||||||
* | rm namespace leftovers | Stanislav Malyshev | 2003-06-04 | 1 | -23/+0 | |
| | ||||||
* | MEGA-patch: namespaces are R.I.P. | Stanislav Malyshev | 2003-06-02 | 1 | -85/+13 | |
| | ||||||
* | Make use optimized string lowering | Marcus Boerger | 2003-05-21 | 1 | -8/+7 | |
| | ||||||
* | Make zend_str_tolower_copy() a copy function (like stccpy). | Marcus Boerger | 2003-05-21 | 1 | -3/+3 | |
| | | | | | | | | Supply a dup version (like estrdup). Fix tolower() handling. # Havin copy and dup allows to use the faster version even with # memory not allocated by emalloc. | |||||
* | use zend_str_tolower_copy() | Sterling Hughes | 2003-05-21 | 1 | -6/+3 | |
| | ||||||
* | Fix namespace issue: Only CG is needed here | Marcus Boerger | 2003-05-04 | 1 | -3/+3 | |
| | ||||||
* | Allow functions in internal namespaces (for example factories) | Marcus Boerger | 2003-05-04 | 1 | -13/+23 | |
| | ||||||
* | Change get_class() so that it returns qualified names for namespaced | Stanislav Malyshev | 2003-04-21 | 1 | -0/+23 | |
| | | | | | | | | | | | | 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(). | |||||
* | Fix namespace issues | Stanislav Malyshev | 2003-04-04 | 1 | -5/+9 | |
| | ||||||
* | Patch from Timm Friede for when EG(active_namespace) is NULL initially. | Andrei Zmievski | 2003-04-03 | 1 | -3/+7 | |
| | ||||||
* | Initialize all relevant zend_class_entry fields to avoid accidental | Andrei Zmievski | 2003-04-03 | 1 | -1/+0 | |
| | | | | | crashes. | |||||
* | - Add zend_register_internal_namespace() API function. | Andrei Zmievski | 2003-04-02 | 1 | -1/+53 | |
| | | | | | - Add zend_register_internal_class_in_ns() API function. | |||||
* | Initial support for enforcing prototype of abstract/interface method ↵ | Zeev Suraski | 2003-03-29 | 1 | -0/+1 | |
| | | | | implementations | |||||
* | Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry(). | Sebastian Bergmann | 2003-03-26 | 1 | -7/+6 | |
| | ||||||
* | Eliminate TSRMLS_FETCH() calls in zend_objects_new() and ↵ | Sebastian Bergmann | 2003-03-26 | 1 | -2/+2 | |
| | | | | zend_objects_get_address(). | |||||
* | Lowercase the function name when used as key in the function name. The | Andrei Zmievski | 2003-03-19 | 1 | -1/+9 | |
| | | | | | original case is still preserved in zend_function structure. |