summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Expand Interface C API.Marcus Boerger2003-10-221-16/+29
| | | | | | In short: zend_class_entry->interface_gets_implemented() allows to modify the class entry of a class when an interface gets implemented.
* Add oo support function zend_class_implements()Marcus Boerger2003-10-151-0/+20
|
* Fixed bug #24766 (strange result array from unpack())Moriyoshi Koizumi2003-10-031-10/+10
|
* Add missing checkMarcus Boerger2003-09-181-0/+4
|
* Tests show updating consts must happen once at runtime (revert optimization).Marcus Boerger2003-09-041-2/+1
| | | | | Add tests for static properties.
* Fix handling of static properties initialized to arraysMarcus Boerger2003-09-031-7/+9
|
* Fix static properties.Marcus Boerger2003-09-031-1/+0
| | | | | | | | | # # There's only an errormessage missing which i'll wommit as soon as i find out # how to do it best. But besides that damn message everything works now and all # inheritance rules apply. #
* Allow redeclaring of protected properties as public (for internal classes).Marcus Boerger2003-09-021-0/+8
| | | | | | # See http://news.php.net/article.php?group=php.zend-engine.cvs&article=1737 # for the part not fixed (e.g. property redeclaration of userland classes)
* Currently we cannot support static ctor/dtorMarcus Boerger2003-09-021-0/+6
|
* - Add zend_merge_properties() which is designed to serve *_fetch_object().Marcus Boerger2003-08-291-0/+38
| | | | | | | | | - 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. #
* Add missing checkMarcus Boerger2003-08-241-9/+11
|
* Fix memory source of string duplication for non internal propertiesMarcus Boerger2003-08-241-1/+2
|
* - 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
|