summaryrefslogtreecommitdiff
path: root/ext/reflection
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.0' of https://github.com/php/php-src into PHP-7.0Joe Watkins2016-01-202-2/+2
|\
| * Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-012-2/+2
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-012-2/+2
| | |
* | | fix ReflectionClass::__toString doc block omittedJoe Watkins2016-01-201-1/+1
|/ /
* | Remove useless checkXinchen Hui2015-12-091-34/+3
| |
* | Fixed bug #71018 (ReflectionProperty::setValue() behavior changed)Xinchen Hui2015-12-043-23/+51
| |
* | Fixed testXinchen Hui2015-11-271-1/+1
| |
* | Fixed bug #70982 (setStaticPropertyValue behaviors inconsistently with 5.6)Xinchen Hui2015-11-272-0/+23
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-11-241-0/+10
|\ \ | |/
| * Fixed bug #70960 (ReflectionFunction for array_unique returns wrong number ↵Xinchen Hui2015-11-241-0/+10
| | | | | | | | of parameters)
* | Merge branch 'PHP-5.6' into PHP-7.0Xinchen Hui2015-11-231-0/+44
|\ \ | |/
| * Add bug #70957 and #70958 releated test in refectionXinchen Hui2015-11-231-0/+44
| |
| * Fixed the third one of (segfault in gc_remove_from_buffer())Xinchen Hui2015-10-031-9/+15
| | | | | | | | | | This one maybe only used in debug mode, so no bug report and no test script provided
| * Fixed bug #70631 (Another Segfault in gc_remove_from_buffer())Xinchen Hui2015-10-031-1/+29
| |
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-01-311-0/+18
| |\ | | | | | | | | | | | | * PHP-5.5: Added test and possible fix for https://bugs.php.net/bug.php?id=67068
| | * Added test and possible fix for https://bugs.php.net/bug.php?id=67068Danack2015-01-311-0/+18
| | |
| | * Bump yearXinchen Hui2015-01-152-2/+2
| | |
| * | bump yearXinchen Hui2015-01-152-2/+2
| | |
* | | Fixed typo in reflection phptJames Titcumb2015-11-071-1/+1
| | |
* | | IndentsXinchen Hui2015-10-231-120/+120
| | |
* | | Fix boolean conversion warningsc9s2015-10-231-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: The compiler complains and raised some warnings about boolean conversion: warning: address of 'ce->constants_table' will always evaluate to 'true' [-Wpointer-bool-conversion] Since the address of 'HashTable' will always evaluate to true. the condition should be removed. The scope is kept for local variables. Platform: OS X 10.11 Compiler: Apple LLVM version 7.0.0 (clang-700.0.72) Target: x86_64-apple-darwin15.0.0 Thread model: posix
* | | Do not create a fake Closure for real ClosuresBob Weinand2015-10-141-1/+6
| | | | | | | | | | | | That is solved by just returning the Closure as is, which is safe due to Closures being immutable objects
* | | Move the tests to proper placeXinchen Hui2015-10-142-0/+0
| | |
* | | Forbid "fake" closure rebindingDmitry Stogov2015-10-121-3/+3
| | |
* | | Fixed bug #70674 (ReflectionFunction::getClosure() leaks memory when used ↵Dmitry Stogov2015-10-091-0/+8
| | | | | | | | | | | | for internal functions)
* | | Fix bug #70650Márcio Almada2015-10-071-0/+41
| | |
* | | Add test for ReflectionMethod::getPrototype_basic()marcosptf2015-09-021-0/+29
| | |
* | | Fix bogus traces with ReflectionGenerator::getTrace()Bob Weinand2015-08-203-2/+63
| | |
* | | Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.Dmitry Stogov2015-08-131-1/+1
| | | | | | | | | | | | | | | | | | This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c. Now explicit type casting may be required on call site. This may break some C extension code, but it shoulfn't be a problem to add explicit casting.
* | | Don't leak generator cycle in ReflectionGenerator testNikita Popov2015-07-031-1/+1
| | | | | | | | | | | | This is tracked by bug #69989.
* | | Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-1/+1
| | |
* | | Change zend_exception_get_default() to zend_exception_ceAaron Piotrowski2015-07-031-1/+1
| | |
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-107/+107
| | | | | | | | | | | | semantick changes).
* | | Fix more proto commentsRasmus Lerdorf2015-06-231-2/+2
| | |
* | | Merge branch 'pull-request/1284'Anatol Belski2015-06-1715-25/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/1284: Rename interface macros Fix typo in UPGRADING Move definition of Throwable to zend_exceptions.h/c Check for zend_ce_throwable instead Fix some missed tests Add Throwable tests Fix previous exception type check Updated UPGRADING with RFC link Changed AssertionException to AssertionError Update exception error messages Throwable method signatures. Update exception names in tests after formatting changes. Merge exception formatting changes. Make zend_get_exception_base static. Fix a few missed tests. Fix handler double copy. Updated tests to reflect exception class changes. Remodel exceptions based on Throwable interface
| * | | Changed AssertionException to AssertionErrorAaron Piotrowski2015-06-141-1/+1
| | | |
| * | | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-06-145-15/+417
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt
| * \ \ \ Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-181-1/+1
| |\ \ \ \
| * | | | | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-177-7/+7
| | | | | |
| * | | | | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-1714-20/+24
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-171-1/+1
| |\ \ \ \ \ \
| * | | | | | | Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-1613-23/+23
| | | | | | | |
* | | | | | | | Drop now superflous check for VIA_TRAMPOLINENikita Popov2015-06-161-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is not handled by USE_ARG_INFO.
* | | | | | | | Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class ↵Dmitry Stogov2015-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name) (onr more problem)
* | | | | | | | Complete fix for problems related to bug #69802Dmitry Stogov2015-06-161-13/+17
| | | | | | | |
* | | | | | | | Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class name)Dmitry Stogov2015-06-151-2/+6
| | | | | | | |
* | | | | | | | Rmoved opcache.load_comments.Dmitry Stogov2015-06-1510-10/+0
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Get rid of more ZVAL_ZVAL() macrosDmitry Stogov2015-06-121-4/+7
| | | | | | |
* | | | | | | Avoid zval duplication in ZVAL_ZVAL() macro (it was necessary only in few ↵Dmitry Stogov2015-06-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | places). Switch from ZVAL_ZVAL() to simpler macros where possible (it makes sense to review remaining places)
* | | | | | | Reflection support for type hints and return typesMatteo Beccati2015-06-086-113/+312
| | | | | | |