summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'master' of git.php.net:php-srcAnatol Belski2014-08-171-16/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # By Tjerk Meesters # Via Tjerk Meesters * 'master' of git.php.net:php-src: Fixes missing Reflector interface constraints being enforced by the engine
| * | | Fixes missing Reflector interface constraints being enforced by the engineTjerk Meesters2014-08-161-16/+6
| | | |
* | | | fix some cases with fast zppAnatol Belski2014-08-161-5/+5
| | | |
* | | | fix macros in the 5 basic extensionsAnatol Belski2014-08-161-42/+42
|/ / /
* | | cleanupDmitry Stogov2014-08-131-15/+5
| | |
* | | Merge branch 'master' into phpngDmitry Stogov2014-08-041-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (46 commits) PHP_INT_MIN and _MAX tests NEWS and UPGRADING Added PHP_INT_MIN Fix wrong lenght size Bug #51096 - Remove unnecessary ? for first/last day of Moved streams related functions to xp_ssl.c Remove duplicate NEWS Update NEWS Update NEWS Update NEWS BFN BFN Fixed bug #67715 (php-milter does not build and crashes randomly). We need to turn off any strict mode here for this warning to show up Disable restrictions regarding arrays in constants at run-time. For the discussion around it, see the thread on the mailing list: http://www.mail-archive.com/internals@lists.php.net/msg68245.html Revert "Fix bug #67064 in a BC safe way" Updated NEWS for #67693 Updated NEWS for #67693 Fixed bug #67693 - incorrect push to the empty array add missing entry to NEWS ... Conflicts: Zend/tests/errmsg_040.phpt Zend/tests/ns_059.phpt Zend/zend_language_parser.y Zend/zend_vm_def.h ext/openssl/openssl.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_directory.c ext/spl/spl_iterators.c ext/sqlite3/sqlite3.c ext/standard/array.c
| * | update the exception message to better match the actual checkFerenc Kovacs2014-07-301-1/+1
| | |
| * | ReflectionClass::newInstanceWithoutConstructor() should be allowed to ↵Ferenc Kovacs2014-07-301-2/+2
| | | | | | | | | | | | instantiate every class except those internal classes with a final __construct()
* | | Fixed getDefaultProperties (it should not return reference)Xinchen Hui2014-07-311-6/+3
| | |
* | | Merge branch 'master' into phpngDmitry Stogov2014-07-241-2/+11
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Removed second zval_copy_ctor() Fixed crash on self-referencing constant expression (part of a constant AST) Fixed support for constant arrays in context of "const" statement (Zend/tests/constant_expressions_arrays.phpt failed when opcache.protect_memort was set) Conflicts: Zend/zend_ast.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/reflection/php_reflection.c
| * | Fixed crash on self-referencing constant expression (part of a constant AST)Dmitry Stogov2014-07-241-2/+11
| | |
* | | Fast parameter parsing APIDmitry Stogov2014-07-111-0/+8
| | | | | | | | | | | | | | | | | | This API is experemental. It may be changed or removed. It should be used only for really often used functions. (Keep the original parsing code and wrap usage with #ifndef FAST_ZPP)
* | | Refactored run_time_cache usage in object handlersDmitry Stogov2014-07-071-5/+5
| | |
* | | Avoid useles constants updateDmitry Stogov2014-06-161-1/+1
| | |
* | | Use new zend_hash APIDmitry Stogov2014-05-281-17/+18
| | |
* | | Make they are in the same style of Z_ISREFXinchen Hui2014-05-031-9/+9
| | |
* | | Split IS_BOOL into IS_FALSE and IS_TRUEDmitry Stogov2014-04-301-6/+4
| | |
* | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-3/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | Removed useless void* parameter and replaced with zend_bool on ↵Bob Weinand2014-04-111-3/+3
| | | | | | | | | | | | zval_update_constant* functions
* | | Fixed compilation warningsDmitry Stogov2014-04-221-6/+7
| | |
* | | Convert zval_get_string() into "fast path" macro and "slow path" functionDmitry Stogov2014-04-211-1/+1
| | |
* | | Use zval_get_string in a few more placesNikita Popov2014-04-211-21/+8
| | |
* | | Use zval_get_string in print_zval and propagate TSRMLSNikita Popov2014-04-211-1/+1
| | |
* | | CleanupDmitry Stogov2014-04-211-5/+0
| | |
* | | Moved zend_literal->cache_slot right into zval.Dmitry Stogov2014-04-171-6/+6
| | | | | | | | | | | | | | | | | | | | | It should be accessed using Z_CACHE_SLOT() macro. zend_literal structure is removed. API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly. Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.
* | | op_array->function_name, op_array->doc_comments and op_array->filename may ↵Dmitry Stogov2014-04-161-3/+6
| | | | | | | | | | | | be kept in opcache SHM
* | | Fixed reference countingDmitry Stogov2014-04-161-19/+29
| | |
* | | Cleanup (2-nd round)Dmitry Stogov2014-04-151-8/+3
| | |
* | | Cleanup (1-st round)Dmitry Stogov2014-04-151-14/+14
| | |
* | | Fixed interface constants inheritance.Dmitry Stogov2014-04-141-1/+1
| | | | | | | | | | | | | | | Now we use IS_REFERENCE for inhereted class constants. I might miss some edje cases.
* | | Fix ZTS buildNikita Popov2014-04-091-6/+6
| | | | | | | | | | | | | | | This only makes it compile, it doesn't actually work, presumably because interned strings are assumed in some places.
* | | Fixed destruction of objects and iterators on unclean request shutdown and ↵Dmitry Stogov2014-04-091-2/+1
| | | | | | | | | | | | | | | | | | GC (few cases are still unfixed). Now we destroy objects it two steps. At first - object properties of all objects and only then the objects their selves.
* | | Constant duplication optimizationDmitry Stogov2014-04-041-2/+2
| | | | | | | | | | | | Argument receiving optimization
* | | Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵Dmitry Stogov2014-04-031-4/+4
| | | | | | | | | | | | candidate for GC, etc)
* | | Changed data layout to allow more efficient operationsDmitry Stogov2014-04-021-2/+2
| | |
* | | Avoid unnecessry reallocationsDmitry Stogov2014-04-011-17/+11
| | |
* | | Use STR_COPY() instead of STR_DUP() where possibleDmitry Stogov2014-04-011-1/+1
| | |
* | | STR_DUP() doesn't duplicate interned strings anymore. In case new string is ↵Dmitry Stogov2014-04-011-2/+1
| | | | | | | | | | | | required STR_INIT() or STR_ALLOC() should be used.
* | | Refactored data structures to keep zend_object* instead of a whole zval in ↵Dmitry Stogov2014-03-281-32/+28
| | | | | | | | | | | | some places
* | | Refactored IS_INDIRECT usage for CV and object properties to support ↵Dmitry Stogov2014-03-261-16/+23
| | | | | | | | | | | | HashTable resizing
* | | Refactored GC (incomplete)Dmitry Stogov2014-03-191-0/+1
| | |
* | | Fixed function name comparationXinchen Hui2014-03-171-1/+1
| | |
* | | Fixed add_ref asseration failXinchen Hui2014-03-171-1/+1
| | |
* | | Refactor reflection_object to fix bug after default_properties changedXinchen Hui2014-03-171-26/+32
| | |
* | | Fixed NULL pointer dereferenceXinchen Hui2014-03-171-1/+5
| | |
* | | Handle interned strings as non-refcounted scalarsDmitry Stogov2014-03-051-1/+1
| | |
* | | Arguments taken by internal functions using zend_parse_parameters() with "+" ↵Dmitry Stogov2014-03-051-21/+0
| | | | | | | | | | | | and "*" specifications must not be deallocated anymore.
* | | Fixied calling object closures from internal functionsDmitry Stogov2014-03-051-7/+7
| | |
* | | Use zend_string to avoid memleakXinchen Hui2014-03-021-22/+34
| | |
* | | Fixed wrong condition (introduced by previous ci)Xinchen Hui2014-03-021-1/+1
| | |