summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.5' into PHP-5.6Johannes Schlüter2014-10-041-1/+1
|\
| * Fix accidental edit in previous commitJohannes Schlüter2014-10-041-1/+1
| |
* | Merge branch 'PHP-5.5' into PHP-5.6Johannes Schlüter2014-10-041-2/+2
|\ \ | |/
| * Fix arginfoJohannes Schlüter2014-10-041-2/+2
| |
* | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2014-09-261-5/+20
|\ \ | |/ | | | | | | | | * PHP-5.5: NEWS Fixed bug #68103 Dupplicate entry in Reflection
| * Fixed bug #68103 Dupplicate entry in ReflectionRemi Collet2014-09-261-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ php -r '$r=new ReflectionExtension("pthreads"); print_r($r->getClassNames());' Array ( [0] => Threaded [1] => stackable [2] => Thread [3] => Worker [4] => Mutex [5] => Cond [6] => Collectable [7] => Pool ) In getClasses() output, it is possible to compare key (ex "stackable") with $obj->name (ex "Threaded") to detect class alias. ... [Threaded] => ReflectionClass Object ( [name] => Threaded ) [stackable] => ReflectionClass Object ( [name] => Threaded ) ...
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
* | 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 crash on self-referencing constant expression (part of a constant AST)Dmitry Stogov2014-07-241-2/+11
| |
* | Removed useless void* parameter and replaced with zend_bool on ↵Bob Weinand2014-04-111-3/+3
| | | | | | | | zval_update_constant* functions
* | Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2013-12-101-40/+26
|\ \ | |/ | | | | | | | | * PHP-5.5: NEWS Fixed Bug #66218 zend_register_functions breaks reflection
| * Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2013-12-101-40/+26
| |\ | | | | | | | | | | | | * PHP-5.4: Fixed Bug #66218 zend_register_functions breaks reflection
| | * Fixed Bug #66218 zend_register_functions breaks reflectionRemi Collet2013-12-101-40/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Functions registered using zend_register_functions instead of zend_module_entry.functions are not seen on reflection. Ex: additional_functions from api_module_entry. Ex: in CLI, dl, cli_set_process_title and cli_get_process_title Note: - also affects functions overrided in extension (should be be reported in extension, where overrided, not in original extension) - also allow extension to call zend_register_functions for various list (instead of having a single bug list)
* | | converted several switches to ifs and made more opcache friendlyBob Weinand2013-11-011-13/+4
| | |
* | | Working commit for constant scalar expressions (with constants).Bob Weinand2013-10-311-5/+13
| | | | | | | | | | | | Tests will follow.
* | | Implement variadic function syntaxNikita Popov2013-09-261-2/+31
|/ / | | | | | | As per RFC: https://wiki.php.net/rfc/variadics
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-211-1/+2
|\ \ | |/
| * Fix bug in reflectionClass relate to #64239Xinchen Hui2013-03-211-1/+2
| |
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Fix test related to change for #bug64007 and also fix in newInstanceArgsXinchen Hui2013-01-221-12/+19
| |
* | Fixed bug #64007 (There is an ability to create instance of Generator by hand).Xinchen Hui2013-01-191-8/+15
| | | | | | | | Use get_constrctor instead of access of the ce->constructor directly
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2012-11-271-1/+1
|\ \ | |/
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-11-271-1/+1
| |\
| | * Fixed Bug #63614 (Fatal error on Reflection)Xinchen Hui2012-11-271-1/+1
| | |
| | * Fixed bug that can not get default value of parameter if it's not `optional`Xinchen Hui2012-08-021-4/+0
| | |
* | | Merge branch 'PHP-5.4'Xinchen Hui2012-10-311-1/+1
|\ \ \ | |/ /
| * | Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves ↵Xinchen Hui2012-10-311-1/+1
| | | | | | | | | | | | traitnames)
* | | Implemented ReflectionFunction::isGenerator()Reeze Xia2012-09-021-0/+9
|/ /
* | - Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing ↵Felipe Pena2012-08-221-2/+4
| | | | | | | | trait methods as private)
* | Fixed bug that can not get default value of parameter if it's not `optional`Xinchen Hui2012-08-021-6/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-08-011-3/+1
|\ \ | |/
| * Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result)Xinchen Hui2012-08-011-3/+1
| |
| * Fix #62432 ReflectionMethod random corrupt memory on high concurrentJohannes Schlüter2012-06-271-1/+1
| | | | | | | | | | This fixes the same issue in multiple extensions. This isn't needed in later branches as 5.4 introduced object_properties_init()
* | Merge branch 'pull-request/96' into PHP-5.4Stanislav Malyshev2012-07-141-12/+103
|\ \ | | | | | | | | | | | | * pull-request/96: Implemented FR #61602 Allow access to name of constant used as default value
| * | Implemented FR #61602 Allow access to name of constant used as default valueReeze Xia2012-05-311-12/+103
| | | | | | | | | | | | | | | This is an improved commit for FR #61602, this fixed the previous commit 054f3e3's C99 compiler compatibility issue
* | | Merge branch 'PHP-5.3' into PHP-5.4Felipe Pena2012-06-231-5/+3
|\ \ \ | | |/ | |/| | | | | | | * PHP-5.3: - Improved fix for #62384
| * | - Improved fix for #62384Felipe Pena2012-06-231-5/+3
| | |
* | | Merge branch 'PHP-5.3' into PHP-5.4Felipe Pena2012-06-221-0/+10
|\ \ \ | |/ / | | | | | | | | | * PHP-5.3: - Fixed bug #62384 (Attempting to invoke a Closure more than once causes segfaul)
| * | - Fixed bug #62384 (Attempting to invoke a Closure more than once causes ↵Felipe Pena2012-06-221-0/+10
| | | | | | | | | | | | segfaul)
* | | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-06-011-1/+2
|\ \ \ | |/ / | | / | |/ |/| * PHP-5.3: Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with constant)
| * Fixed Bug #62202 (ReflectionParameter::getDefaultValue() memory leaks with ↵Xinchen Hui2012-06-011-1/+2
| | | | | | | | constant)
| * Fix typo while resolving conflictsXinchen Hui2012-05-231-1/+1
| |
| * Revert "Implemented FR #61602 Allow access to name of constant used as ↵Xinchen Hui2012-05-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | default value" This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74. See: http://news.php.net/php.cvs/69137 and the author confirmed. Will commit later after the author fixed this then make a new PR. Conflicts: ext/reflection/php_reflection.c
* | Revert "Implemented FR #61602 Allow access to name of constant used as ↵Xinchen Hui2012-05-231-84/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | default value" This reverts commit 054f3e3ce5af13c2c3a6ccd54f7dc3e2f6cd4f74. See: http://news.php.net/php.cvs/69137 and the author confirmed. Will commit later after the author fixed this then make a new PR. Conflicts: ext/reflection/php_reflection.c
* | Fixed CODING_STANDARD and move parameter parse codereeze2012-04-041-15/+19
| |