Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #74454: Wrong exception being thrown when using ReflectionMethod | Christoph M. Becker | 2018-09-05 | 3 | -2/+27 |
| | | | | | If zend_throw_exception_ex() already threw an exception, we should not throw again. | ||||
* | Fixed bug #75231 | Nikita Popov | 2018-07-02 | 2 | -1/+26 |
| | | | | The behavior is now consistent with ReflectionMethod. | ||||
* | Fixed bug #76536 (PHP crashes with core dump when throwing exception in ↵ | Xinchen Hui | 2018-06-28 | 2 | -1/+21 |
| | | | | error handler). (Laruence) | ||||
* | year++ | Xinchen Hui | 2018-01-02 | 2 | -2/+2 |
| | |||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Derick Rethans | 2017-08-16 | 1 | -0/+1 |
|\ | |||||
| * | Fixed stupid test | Derick Rethans | 2017-08-16 | 1 | -0/+1 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-07-27 | 1 | -0/+27 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed test | ||||
| * | Fixed test | Xinchen Hui | 2017-07-27 | 1 | -0/+27 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-07-27 | 2 | -1/+40 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed bug #74949 (null pointer dereference in _function_string) | ||||
| * | Fixed bug #74949 (null pointer dereference in _function_string) | Xinchen Hui | 2017-07-27 | 2 | -1/+40 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-05-31 | 2 | -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 Hui | 2017-05-31 | 2 | -2/+30 |
| | | | | | | | | undefined constant) | ||||
* | | Test ReflectionType support of iterable | Andrea Faulds | 2017-04-29 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-02-12 | 3 | -15/+4 |
|\ \ | |/ | |||||
| * | Revert "Fixed bug #74035" | Nikita Popov | 2017-02-12 | 3 | -15/+4 |
| | | | | | | | | This reverts commit 9ffc6ca62f53431a4b32b30cdda8180142f47cdb. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2017-02-03 | 3 | -4/+15 |
|\ \ | |/ | |||||
| * | Fixed bug #74035 | andrewnester | 2017-02-03 | 3 | -4/+15 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Joe Watkins | 2017-01-18 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fix ce comparison | ||||
| * | Fix ce comparison | Thomas Punt | 2017-01-18 | 1 | -1/+1 |
| | | |||||
| * | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 2 | -2/+2 |
| | | |||||
* | | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-04 | 2 | -2/+2 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Nikita Popov | 2016-12-18 | 2 | -0/+28 |
|\ \ | |/ | |||||
| * | Fix bug #46103 | Nikita Popov | 2016-12-18 | 2 | -0/+28 |
| | | |||||
* | | Intriduced ZEND_ACC_INHERITED class flag. | Dmitry Stogov | 2016-11-01 | 1 | -1/+1 |
| | | | | | | | | It's going to be helpful for static optimisations, when "parent" is not known yet. | ||||
* | | Unwrap reference returns in cufa etc | Nikita Popov | 2016-09-30 | 1 | -0/+9 |
| | | |||||
* | | Don't mark ReflectionType::__toString() as deprecated for now | Nikita Popov | 2016-09-28 | 3 | -12/+6 |
| | | |||||
* | | Revert ReflectionType::__toString() behavior + deprecate | Nikita Popov | 2016-09-28 | 6 | -23/+22 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Andrea Faulds | 2016-09-11 | 1 | -6/+0 |
|\ \ | |/ | |||||
| * | Remove zpp fallback code (always use Fast ZPP) | Andrea Faulds | 2016-09-11 | 1 | -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 Hui | 2016-08-15 | 2 | -0/+50 |
| | | | | | | | | returns NULL/NFC/UKNOWN) | ||||
* | | Implement \ArgumentCountError exception | Davey Shafik | 2016-08-30 | 2 | -2/+2 |
| | | |||||
* | | Revert "Do not prepend ? on nullables in ReflectionType::__toString()" | Levi Morrison | 2016-08-23 | 3 | -6/+18 |
| | | | | | | | | This reverts commit 8855a2ce76e8bfba1d2eea1345c765fde7a9a441. | ||||
* | | call_user_func(_array): Don't abort on reference warning | Nikita Popov | 2016-08-23 | 1 | -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 Piotrowski | 2016-08-21 | 3 | -25/+6 |
| | | | | | | | | Better BC with 7.0. | ||||
* | | Revert "Append \ to class name returned from ReflectionType::__toString()" | Aaron Piotrowski | 2016-08-20 | 4 | -15/+15 |
| | | | | | | | | This reverts commit 20fdd47921f423728b409fd0ae0106dab9c34573. | ||||
* | | Fix off-by-one in ReflectionType::__toString() | Nikita Popov | 2016-08-20 | 1 | -4/+6 |
| | | | | | | | | Review mistake... | ||||
* | | Append \ to class name returned from ReflectionType::__toString() | Aaron Piotrowski | 2016-08-16 | 5 | -15/+23 |
| | | |||||
* | | ReflectionType improvements | Aaron Piotrowski | 2016-08-11 | 5 | -26/+114 |
| | | | | | | | | Added ReflectionNamedType and updated ReflectionType::__toString() | ||||
* | | Implement #38992: invoke() and invokeArgs() static method calls should match | Christoph M. Becker | 2016-08-08 | 6 | -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 Hui | 2016-07-24 | 2 | -0/+11 |
| | | |||||
* | | Merge branch 'PHP-7.0' | Nikita Popov | 2016-07-13 | 2 | -11/+50 |
|\ \ | |/ | |||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Nikita Popov | 2016-07-13 | 2 | -5/+40 |
| |\ | | | | | | | | | | | | | Conflicts: ext/reflection/php_reflection.c | ||||
| | * | fix: bug72222 for PHP-5.6 reflection export of array consts | nikita2206 | 2016-07-13 | 2 | -11/+47 |
| | | | |||||
* | | | Merge branch 'throw-error-in-extensions' | Aaron Piotrowski | 2016-07-05 | 1 | -10/+12 |
|\ \ \ | |||||
| * | | | Add missed return replacing bail out | Aaron Piotrowski | 2016-06-29 | 1 | -1/+1 |
| | | | | |||||
| * | | | Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error | Aaron Piotrowski | 2016-06-13 | 1 | -6/+6 |
| | | | | |||||
| * | | | Merge branch 'master' into throw-error-in-extensions | Aaron Piotrowski | 2016-06-10 | 27 | -268/+1189 |
| |\ \ \ | |||||
| * | | | | Convert E_ERROR to thrown Error in extensions | Aaron Piotrowski | 2015-07-05 | 1 | -10/+12 |
| | | | | | |||||
* | | | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-28 | 1 | -3/+1 |
| | | | | | |||||
* | | | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 1 | -1/+1 |
| | | | | |