mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
MFB: int->zend_bool where possible
This commit is contained in:
parent
07b26e4e5f
commit
573f153e06
2 changed files with 2 additions and 2 deletions
|
@ -1494,7 +1494,7 @@ PHP_FUNCTION(time)
|
||||||
PHP_FUNCTION(localtime)
|
PHP_FUNCTION(localtime)
|
||||||
{
|
{
|
||||||
long timestamp = (long)time(NULL);
|
long timestamp = (long)time(NULL);
|
||||||
int associative = 0;
|
zend_bool associative = 0;
|
||||||
timelib_tzinfo *tzi;
|
timelib_tzinfo *tzi;
|
||||||
timelib_time *ts;
|
timelib_time *ts;
|
||||||
|
|
||||||
|
|
|
@ -705,7 +705,7 @@ PHP_FUNCTION(libxml_set_streams_context)
|
||||||
PHP_FUNCTION(libxml_use_internal_errors)
|
PHP_FUNCTION(libxml_use_internal_errors)
|
||||||
{
|
{
|
||||||
xmlStructuredErrorFunc current_handler;
|
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) {
|
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &use_errors) == FAILURE) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue