summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Set the params in the structMarcus Boerger2003-09-011-0/+2
|
* Don't repeat first const count(consts) timeMarcus Boerger2003-08-311-1/+1
|
* Beautify outputMarcus Boerger2003-08-311-5/+7
|
* Add reflection_parameters, patch by Timm FriebeMarcus Boerger2003-08-311-70/+352
|
* Check whether we may access tat unionMarcus Boerger2003-08-311-1/+1
|
* Using zend_spprintf should be faster hereMarcus Boerger2003-08-311-9/+10
|
* - Calling abstract methods should be a error for consistency reason.Marcus Boerger2003-08-301-1/+1
| | | | | - So in reflection_api we use the reflection_exception again.
* fci.function_table & fci.function_name are not needed since we use ↵Marcus Boerger2003-08-301-10/+4
| | | | zend_fcall_info_cache
* Be preciseMarcus Boerger2003-08-301-2/+12
|
* Actually using fcc would be a good ideaMarcus Boerger2003-08-301-1/+1
|
* - Use zend_fcall_info_cache in invoke() to improve speed.Marcus Boerger2003-08-291-3/+13
| | | | | # This also fixes the problem with calling static methods.
* Nuke unused variableMarcus Boerger2003-08-271-1/+0
| | | | | # I should have taken Timm's patch
* Fix reflection_class::newInstance()Marcus Boerger2003-08-271-13/+9
|
* Don't identify alias'ed functionsMarcus Boerger2003-08-241-11/+0
|
* Add dedicated reflection_exceptionMarcus Boerger2003-08-241-10/+14
|
* Make invoke() workMarcus Boerger2003-08-241-20/+9
|
* zend_parse_parameters 'O' works the way we need hereMarcus Boerger2003-08-241-15/+2
|
* Not neededMarcus Boerger2003-08-241-10/+0
|
* - Add Reflection_Function::isAliasMarcus Boerger2003-08-241-160/+185
| | | | | | - Use ZEND_ME/ZEND_METHOD - Fix static entries
* Allow zend_throw_exception() to also set the exception codeMarcus Boerger2003-08-231-1/+1
|
* Show ctor/dtor information and those don't return anythingMarcus Boerger2003-08-231-1/+7
|
* Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'Marcus Boerger2003-08-211-24/+1
| | | | | to provide an easy way to throw exceptions for extension developers.
* Fix warningsMarcus Boerger2003-08-171-3/+0
|
* Simplify abstract method declarationMarcus Boerger2003-08-161-7/+1
|
* Try to put an end to the endless number of call_user_function variants.Zeev Suraski2003-08-051-25/+44
| | | | | | | | | | | | | | | | | | | | 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)
* Add function/method parameter reflectionMarcus Boerger2003-08-041-0/+35
|
* ntroduce infrastructure for supplying information about arguments,Zeev Suraski2003-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Show interfacesMarcus Boerger2003-08-021-1/+8
|
* Fix segfault. Patch by Timm Friebe <thekid@thekid.de>.Sebastian Bergmann2003-07-231-1/+1
|
* should nt hereGeorge Schlossnagle2003-07-201-0/+1
|
* Fix warnings and whitespace in outputMarcus Boerger2003-07-201-30/+29
|
* Add support for instances in Reflection_Class.Marcus Boerger2003-07-201-12/+22
| | | | | # Thanks to Timm for the fast patch contained reply to my help request :-)))
* removed references to smart_str, replaced with private string managementGeorge Schlossnagle2003-07-201-175/+157
| | | | | | function. When snprintf is integrated into the engine, string_printf should be altered to use that.
* more of Timm's implementation.George Schlossnagle2003-07-201-262/+879
|
* 2 * TSRMLS_FETCH() -> 1 * TSRMLS_DCSebastian Bergmann2003-07-041-4/+2
|
* ws fixGeorge Schlossnagle2003-07-041-2/+2
|
* win build fixes (Rob Richards)George Schlossnagle2003-07-031-0/+2
|
* can't forget AndreiGeorge Schlossnagle2003-07-031-0/+1
|
* more of Timm's patches, and mod authors line to give credit where credit is due.George Schlossnagle2003-07-031-11/+1030
|
* Timm Friebe's patches for code celanup and additional functions.George Schlossnagle2003-07-011-243/+217
|
* ZTS fixes.Sebastian Bergmann2003-07-011-4/+4
|
* more incremental changes. add anything that needs a class factory.George Schlossnagle2003-07-011-1/+72
|
* all the easy parts of Reflection_ClassGeorge Schlossnagle2003-07-011-7/+260
|
* - ZE coding style requires if ( instead of if(Andi Gutmans2003-06-301-22/+22
|
* ZTS fixes. Remove unused local variables.Sebastian Bergmann2003-06-301-12/+11
|
* added support for Reflection_Function, the first part ofGeorge Schlossnagle2003-06-301-0/+348
the reflection api