summaryrefslogtreecommitdiff
path: root/ext/reflection
Commit message (Collapse)AuthorAgeFilesLines
* Fix #74454: Wrong exception being thrown when using ReflectionMethodChristoph M. Becker2018-09-053-2/+27
| | | | | If zend_throw_exception_ex() already threw an exception, we should not throw again.
* Fixed bug #75231Nikita Popov2018-07-022-1/+26
| | | | The behavior is now consistent with ReflectionMethod.
* Fixed bug #76536 (PHP crashes with core dump when throwing exception in ↵Xinchen Hui2018-06-282-1/+21
| | | | error handler). (Laruence)
* year++Xinchen Hui2018-01-022-2/+2
|
* Merge branch 'PHP-7.0' into PHP-7.1Derick Rethans2017-08-161-0/+1
|\
| * Fixed stupid testDerick Rethans2017-08-161-0/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-07-271-0/+27
|\ \ | |/ | | | | | | * PHP-7.0: Fixed test
| * Fixed testXinchen Hui2017-07-271-0/+27
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-07-272-1/+40
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #74949 (null pointer dereference in _function_string)
| * Fixed bug #74949 (null pointer dereference in _function_string)Xinchen Hui2017-07-272-1/+40
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Xinchen Hui2017-05-312-1/+29
|\ \ | |/ | | | | | | | | | | | | * PHP-7.0: Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant) Conflicts: ext/reflection/php_reflection.c
| * Fixed bug #74673 (Segfault when cast Reflection object to string with ↵Xinchen Hui2017-05-312-2/+30
| | | | | | | | undefined constant)
* | Test ReflectionType support of iterableAndrea Faulds2017-04-291-0/+2
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-123-15/+4
|\ \ | |/
| * Revert "Fixed bug #74035"Nikita Popov2017-02-123-15/+4
| | | | | | | | This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb.
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-033-4/+15
|\ \ | |/
| * Fixed bug #74035andrewnester2017-02-033-4/+15
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-181-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Fix ce comparison
| * Fix ce comparisonThomas Punt2017-01-181-1/+1
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-042-2/+2
| |
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-042-2/+2
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-12-182-0/+28
|\ \ | |/
| * Fix bug #46103Nikita Popov2016-12-182-0/+28
| |
* | Intriduced ZEND_ACC_INHERITED class flag.Dmitry Stogov2016-11-011-1/+1
| | | | | | | | It's going to be helpful for static optimisations, when "parent" is not known yet.
* | Unwrap reference returns in cufa etcNikita Popov2016-09-301-0/+9
| |
* | Don't mark ReflectionType::__toString() as deprecated for nowNikita Popov2016-09-283-12/+6
| |
* | Revert ReflectionType::__toString() behavior + deprecateNikita Popov2016-09-286-23/+22
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2016-09-111-6/+0
|\ \ | |/
| * 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)
* | Implement \ArgumentCountError exceptionDavey Shafik2016-08-302-2/+2
| |
* | Revert "Do not prepend ? on nullables in ReflectionType::__toString()"Levi Morrison2016-08-233-6/+18
| | | | | | | | This reverts commit 8855a2ce76e8bfba1d2eea1345c765fde7a9a441.
* | call_user_func(_array): Don't abort on reference warningNikita Popov2016-08-231-4/+0
| | | | | | | | | | | | Change zend_call_function() to not abort the call if a non-reference is passed to a reference argument. The usual warning will still be thrown, but the call will proceed as usual.
* | Do not prepend ? on nullables in ReflectionType::__toString()Aaron Piotrowski2016-08-213-25/+6
| | | | | | | | Better BC with 7.0.
* | Revert "Append \ to class name returned from ReflectionType::__toString()"Aaron Piotrowski2016-08-204-15/+15
| | | | | | | | This reverts commit 20fdd47921f423728b409fd0ae0106dab9c34573.
* | Fix off-by-one in ReflectionType::__toString()Nikita Popov2016-08-201-4/+6
| | | | | | | | Review mistake...
* | Append \ to class name returned from ReflectionType::__toString()Aaron Piotrowski2016-08-165-15/+23
| |
* | ReflectionType improvementsAaron Piotrowski2016-08-115-26/+114
| | | | | | | | Added ReflectionNamedType and updated ReflectionType::__toString()
* | Implement #38992: invoke() and invokeArgs() static method calls should matchChristoph M. Becker2016-08-086-124/+79
| | | | | | | | | | | | | | | | | | | | | | | | We don't want ReflectionMethod::invoke() to simply ignore its first argument, if the method to invoke is a static method. Instead we match its ZPP with that of ReflectionMethod::invokeArgs(). Furthermore, we apply the DRY principle by factoring out the code to a common helper function to prevent inadvertent future divergence of the implementations of both methods. As can be seen from the necessity to adapt some test cases, this causes a BC break for some pathological cases. Therefore we apply this patch to PHP 7.1 only, which is still in beta phase.
* | Fixed bug #72661 (ReflectionType::__toString crashes with iterable)Xinchen Hui2016-07-242-0/+11
| |
* | Merge branch 'PHP-7.0'Nikita Popov2016-07-132-11/+50
|\ \ | |/
| * 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
| | |
* | | Merge branch 'throw-error-in-extensions'Aaron Piotrowski2016-07-051-10/+12
|\ \ \
| * | | Add missed return replacing bail outAaron Piotrowski2016-06-291-1/+1
| | | |
| * | | Replace zend_ce_error with NULL and replace more E_ERROR with thrown ErrorAaron Piotrowski2016-06-131-6/+6
| | | |
| * | | Merge branch 'master' into throw-error-in-extensionsAaron Piotrowski2016-06-1027-268/+1189
| |\ \ \
| * | | | Convert E_ERROR to thrown Error in extensionsAaron Piotrowski2015-07-051-10/+12
| | | | |
* | | | | Fixed compilation warningsDmitry Stogov2016-06-281-3/+1
| | | | |
* | | | | Fixed compilation warningsDmitry Stogov2016-06-221-1/+1
| | | | |