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