Commit:    23daa95d10ddc91ad8b4d846d8aadb0ad9748cc1
Author:    Ilia Alshanetsky <i...@ilia.ws>         Wed, 27 Feb 2013 13:54:56 
-0500
Parents:   0039f160f259dc230fa1979a3fd1c01248b309ad
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=23daa95d10ddc91ad8b4d846d8aadb0ad9748cc1

Log:
return false to be consistent

Changed paths:
  M  zend_accelerator_module.c


Diff:
diff --git a/zend_accelerator_module.c b/zend_accelerator_module.c
index ba98942..1bf16e5 100644
--- a/zend_accelerator_module.c
+++ b/zend_accelerator_module.c
@@ -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)) {


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to