summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - Provide appropriate way to destroy internal zval's.Marcus Boerger2003-08-241-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 Suraski2003-08-241-3/+0
|
* Allow NULL, tooMarcus Boerger2003-08-241-0/+3
|
* Fix fn_flags handlingMarcus Boerger2003-08-241-1/+3
|
* Add property read code and use that in default exception classMarcus Boerger2003-08-241-0/+17
|
* Internal classes can now have default properties.Marcus Boerger2003-08-231-3/+80
|
* - Flag ctor/dtor methodsMarcus Boerger2003-08-231-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 doMarcus Boerger2003-08-211-1/+1
|
* Paramspec 'O' / zend_parse_method_params(): only if given check the class typeMarcus Boerger2003-08-211-1/+5
|
* Improve trackingZeev Suraski2003-08-181-1/+1
|
* - Show class names in error messages when dealing with methodsMarcus Boerger2003-08-171-5/+11
| | | | | - Mark class as abstract if it gets an abstract method
* Simplify abstract method declarationMarcus Boerger2003-08-161-1/+1
|
* - Show classes in case of methodsMarcus Boerger2003-08-131-4/+11
| | | | | - Using sprintf here was a bad idea
* Ensure functions have a valid access levelZeev Suraski2003-08-031-0/+3
|
* Default to publicZeev Suraski2003-08-031-1/+5
|
* Not needed, will be copied from ptr->flags laterMarcus Boerger2003-08-031-1/+0
|
* ntroduce infrastructure for supplying information about arguments,Zeev Suraski2003-08-031-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 theZeev Suraski2003-08-031-1/+0
| | | | | elements of zend_internal_function
* Initialize all struct members: Necessary for reflectionMarcus Boerger2003-08-021-0/+1
|
* fix usage of instanceof here tooWez Furlong2003-08-021-3/+4
|
* better fix...Wez Furlong2003-08-011-3/+6
|
* Fix "O" format for zend_parse_parametersWez Furlong2003-08-011-2/+2
|
* Use instanceof_function()Zeev Suraski2003-07-311-20/+4
|
* Add exec_finished() callback for modules - this is the last place where theZeev Suraski2003-07-301-1/+2
| | | | | modules may touch the symbol table reliably
* - WSAndi Gutmans2003-07-121-9/+9
|
* - Add support for Z in zend_parse_parameters(). It will allow the extensionAndi Gutmans2003-07-111-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 baseZeev Suraski2003-07-071-27/+31
|
* Fix bugZeev Suraski2003-07-071-1/+1
|
* add convenience functions or adding class properties. Ok'd for commit by Andi.George Schlossnagle2003-07-061-0/+45
|
* Fix bug #19859 - allow fast_call_user_function to support __callStanislav Malyshev2003-07-031-2/+8
|
* - ZE coding style requires if ( instead of if(Andi Gutmans2003-06-301-2/+2
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* Support 'self' and 'parent' in call_user_func()Stanislav Malyshev2003-06-091-1/+6
|
* rm namespace leftoversStanislav Malyshev2003-06-041-23/+0
|
* MEGA-patch: namespaces are R.I.P.Stanislav Malyshev2003-06-021-85/+13
|
* Make use optimized string loweringMarcus Boerger2003-05-211-8/+7
|
* Make zend_str_tolower_copy() a copy function (like stccpy).Marcus Boerger2003-05-211-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 Hughes2003-05-211-6/+3
|
* Fix namespace issue: Only CG is needed hereMarcus Boerger2003-05-041-3/+3
|
* Allow functions in internal namespaces (for example factories)Marcus Boerger2003-05-041-13/+23
|
* Change get_class() so that it returns qualified names for namespacedStanislav Malyshev2003-04-211-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 Zmievski2003-04-081-1/+1
| | | | | but with the same great taste zend_register_internal_ns_class().
* Fix namespace issuesStanislav Malyshev2003-04-041-5/+9
|
* Patch from Timm Friede for when EG(active_namespace) is NULL initially.Andrei Zmievski2003-04-031-3/+7
|
* Initialize all relevant zend_class_entry fields to avoid accidentalAndrei Zmievski2003-04-031-1/+0
| | | | | crashes.
* - Add zend_register_internal_namespace() API function.Andrei Zmievski2003-04-021-1/+53
| | | | | - Add zend_register_internal_class_in_ns() API function.
* Initial support for enforcing prototype of abstract/interface method ↵Zeev Suraski2003-03-291-0/+1
| | | | implementations
* Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().Sebastian Bergmann2003-03-261-7/+6
|
* Eliminate TSRMLS_FETCH() calls in zend_objects_new() and ↵Sebastian Bergmann2003-03-261-2/+2
| | | | zend_objects_get_address().
* Lowercase the function name when used as key in the function name. TheAndrei Zmievski2003-03-191-1/+9
| | | | | original case is still preserved in zend_function structure.