]> granicus.if.org Git - php/commitdiff
return false to be consistent
authorIlia Alshanetsky <ilia@ilia.ws>
Wed, 27 Feb 2013 18:54:56 +0000 (13:54 -0500)
committerIlia Alshanetsky <ilia@ilia.ws>
Wed, 27 Feb 2013 18:54:56 +0000 (13:54 -0500)
zend_accelerator_module.c

index ba989429a280e5241b22add24e9123eb2fc7cd78..1bf16e5035cb3f5ca4c972e2af456a2d12a9e9ab 100644 (file)
@@ -467,7 +467,7 @@ static ZEND_FUNCTION(accelerator_get_status)
        (void)ht; (void)return_value_ptr; (void)this_ptr; (void)return_value_used;
 
        if (zend_parse_parameters_none() == FAILURE) {
-               return;
+               RETURN_FALSE;
        }
        
        if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) {
@@ -526,7 +526,7 @@ static ZEND_FUNCTION(accelerator_get_configuration)
        (void)ht; (void)return_value_ptr; (void)this_ptr; (void)return_value_used;
 
        if (zend_parse_parameters_none() == FAILURE) {
-               return;
+               RETURN_FALSE;
        }
 
        array_init(return_value);
@@ -587,7 +587,7 @@ static ZEND_FUNCTION(accelerator_reset)
        (void)ht; (void)return_value_ptr; (void)this_ptr; (void)return_value_used;
 
        if (zend_parse_parameters_none() == FAILURE) {
-               return;
+               RETURN_FALSE;
        }
 
        if (!ZCG(enabled) || !accel_startup_ok || !ZCSG(accelerator_enabled)) {