@@ -804,7 +804,7 @@ PHP_INI_BEGIN()
804804 STD_PHP_INI_ENTRY_EX ("display_errors" , "1" , PHP_INI_ALL , OnUpdateDisplayErrors , display_errors , php_core_globals , core_globals , display_errors_mode )
805805 STD_PHP_INI_BOOLEAN ("display_startup_errors" , "1" , PHP_INI_ALL , OnUpdateBool , display_startup_errors , php_core_globals , core_globals )
806806 STD_PHP_INI_BOOLEAN ("enable_dl" , "1" , PHP_INI_SYSTEM , OnUpdateBool , enable_dl , php_core_globals , core_globals )
807- STD_PHP_INI_BOOLEAN ("error_ignore_args " , "0 " , PHP_INI_ALL , OnUpdateBool , error_ignore_args , php_core_globals , core_globals )
807+ STD_PHP_INI_BOOLEAN ("error_include_args " , "1 " , PHP_INI_ALL , OnUpdateBool , error_include_args , php_core_globals , core_globals )
808808 STD_PHP_INI_BOOLEAN ("expose_php" , "1" , PHP_INI_SYSTEM , OnUpdateBool , expose_php , php_core_globals , core_globals )
809809 STD_PHP_INI_ENTRY ("docref_root" , "" , PHP_INI_ALL , OnUpdateString , docref_root , php_core_globals , core_globals )
810810 STD_PHP_INI_ENTRY ("docref_ext" , "" , PHP_INI_ALL , OnUpdateString , docref_ext , php_core_globals , core_globals )
@@ -1137,7 +1137,7 @@ PHPAPI ZEND_COLD void php_verror(const char *docref, const char *params, int typ
11371137 /* if we still have memory then format the origin */
11381138 if (is_function ) {
11391139 zend_string * dynamic_params = NULL ;
1140- if (PG (error_ignore_args ) == false ) {
1140+ if (PG (error_include_args ) ) {
11411141 dynamic_params = zend_trace_current_function_args_string ();
11421142 }
11431143 origin_len = spprintf (& origin , 0 , "%s%s%s(%s)" , class_name , space , function , dynamic_params ? ZSTR_VAL (dynamic_params ) : params );
0 commit comments