diff options
author | Remi Collet <remi@php.net> | 2017-06-15 15:38:03 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2017-06-15 15:38:03 +0200 |
commit | fdfc5c1b3dbc9c8030ff8019ef9bf66d9f46d2d8 (patch) | |
tree | b6b57fbf6226f3266d90b0cf061b14b9bd093e9e /sapi/cli/php_cli.c | |
parent | 76db01d9ff213aec3f5f0e532c67c6ea8c4b5751 (diff) | |
download | php-git-fdfc5c1b3dbc9c8030ff8019ef9bf66d9f46d2d8.tar.gz |
code de-duplication in ReflectionType::__toString and ReflectionNamedType::getName
This code duplication introduce an inconsistency in displayed type name
- bool (reflection) vs boolean
- int (reflection) vs integer
And reflection already use zend_get_type_by_const in other methods...
Inconsistenty is kept for BC reason.
Could be fixed in 8.0
Diffstat (limited to 'sapi/cli/php_cli.c')
0 files changed, 0 insertions, 0 deletions