mirror of
https://github.com/php/php-src.git
synced 2024-11-30 21:35:36 +08:00
MFB: int->zend_bool where possible
This commit is contained in:
parent
07b26e4e5f
commit
573f153e06
@ -1494,7 +1494,7 @@ PHP_FUNCTION(time)
|
||||
PHP_FUNCTION(localtime)
|
||||
{
|
||||
long timestamp = (long)time(NULL);
|
||||
int associative = 0;
|
||||
zend_bool associative = 0;
|
||||
timelib_tzinfo *tzi;
|
||||
timelib_time *ts;
|
||||
|
||||
|
@ -705,7 +705,7 @@ PHP_FUNCTION(libxml_set_streams_context)
|
||||
PHP_FUNCTION(libxml_use_internal_errors)
|
||||
{
|
||||
xmlStructuredErrorFunc current_handler;
|
||||
int use_errors=0, retval;
|
||||
zend_bool use_errors=0, retval;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &use_errors) == FAILURE) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user