]> granicus.if.org Git - php/commitdiff
zend.assertions is not a boolean
authorRasmus Lerdorf <rasmus@php.net>
Tue, 6 Oct 2015 08:13:38 +0000 (17:13 +0900)
committerRasmus Lerdorf <rasmus@php.net>
Tue, 6 Oct 2015 08:15:05 +0000 (17:15 +0900)
Zend/zend.c

index 2934f4a0757da06f46a2db457f57c3f940ea97b3..27e807067f86d44f77a5cf9a31530767d88effc4 100644 (file)
@@ -129,7 +129,7 @@ static ZEND_INI_MH(OnUpdateAssertions) /* {{{ */
 
 ZEND_INI_BEGIN()
        ZEND_INI_ENTRY("error_reporting",                               NULL,           ZEND_INI_ALL,           OnUpdateErrorReporting)
-       STD_ZEND_INI_BOOLEAN("zend.assertions",                         "1",    ZEND_INI_ALL,       OnUpdateAssertions,           assertions,   zend_executor_globals,  executor_globals)
+       STD_ZEND_INI_ENTRY("zend.assertions",                           "1",    ZEND_INI_ALL,       OnUpdateAssertions,           assertions,   zend_executor_globals,  executor_globals)
        STD_ZEND_INI_BOOLEAN("zend.enable_gc",                          "1",    ZEND_INI_ALL,           OnUpdateGCEnabled,      gc_enabled,     zend_gc_globals,        gc_globals)
        STD_ZEND_INI_BOOLEAN("zend.multibyte", "0", ZEND_INI_PERDIR, OnUpdateBool, multibyte,      zend_compiler_globals, compiler_globals)
        ZEND_INI_ENTRY("zend.script_encoding",                  NULL,           ZEND_INI_ALL,           OnUpdateScriptEncoding)