summaryrefslogtreecommitdiff
path: root/ext/reflection
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #74673 (Segfault when cast Reflection object to string with ↵Xinchen Hui2017-05-312-2/+30
| | | | undefined constant)
* Revert "Fixed bug #74035"Nikita Popov2017-02-123-15/+4
| | | | This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
* Fixed bug #74035andrewnester2017-02-033-4/+15
|
* Fix ce comparisonThomas Punt2017-01-181-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-042-2/+2
|
* Fix bug #46103Nikita Popov2016-12-182-0/+28
|
* Remove zpp fallback code (always use Fast ZPP)Andrea Faulds2016-09-111-6/+0
| | | | | | | | | | | | | | | | Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds <ajf@ajf.me> Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds <ajf@ajf.me> Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code
* Fixed bug #72846 (getConstant for a array constant with constant values ↵Xinchen Hui2016-08-152-0/+50
| | | | returns NULL/NFC/UKNOWN)
* Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-07-132-5/+40
|\ | | | | | | | | Conflicts: ext/reflection/php_reflection.c
| * fix: bug72222 for PHP-5.6 reflection export of array constsnikita22062016-07-132-11/+47
| |
* | Fixed bug #72174Nikita Popov2016-05-103-2/+44
| | | | | | | | Also fixes a memory leak if ::getValue() is used with __get().
* | Fix bug #71767Grigorii Sokolik2016-03-111-0/+44
| |
* | 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
| |\ \ \ \