mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Replace zend_bool uses with bool
We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
This commit is contained in:
parent
e2c8ab7c33
commit
3e01f5afb1
368 changed files with 2001 additions and 2001 deletions
|
@ -224,7 +224,7 @@ U_CFUNC PHP_FUNCTION(intltz_create_time_zone_id_enumeration)
|
|||
size_t region_len = 0;
|
||||
int32_t offset,
|
||||
*offsetp = NULL;
|
||||
zend_bool arg3isnull = 1;
|
||||
bool arg3isnull = 1;
|
||||
|
||||
intl_error_reset(NULL);
|
||||
|
||||
|
@ -411,7 +411,7 @@ U_CFUNC PHP_FUNCTION(intltz_use_daylight_time)
|
|||
U_CFUNC PHP_FUNCTION(intltz_get_offset)
|
||||
{
|
||||
double date;
|
||||
zend_bool local;
|
||||
bool local;
|
||||
zval *rawOffsetArg,
|
||||
*dstOffsetArg;
|
||||
int32_t rawOffset,
|
||||
|
@ -484,7 +484,7 @@ static const TimeZone::EDisplayType display_types[] = {
|
|||
|
||||
U_CFUNC PHP_FUNCTION(intltz_get_display_name)
|
||||
{
|
||||
zend_bool daylight = 0;
|
||||
bool daylight = 0;
|
||||
zend_long display_type = TimeZone::LONG;
|
||||
const char *locale_str = NULL;
|
||||
size_t dummy = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue