Skip to content

Commit a1c5cc7

Browse files
committed
feat: change default value of jq.display_errors to 0
1 parent e5dedb0 commit a1c5cc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ static void *zend_object_alloc(size_t obj_size, zend_class_entry *class_type)
3131
#endif
3232

3333
ZEND_INI_BEGIN()
34-
STD_ZEND_INI_ENTRY("jq.display_errors", "1",
34+
STD_ZEND_INI_ENTRY("jq.display_errors", "0",
3535
ZEND_INI_ALL, OnUpdateBool, display_errors,
3636
zend_jq_globals, jq_globals)
3737
ZEND_INI_END()
@@ -691,7 +691,7 @@ static const zend_function_entry zend_jq_run_methods[] = {
691691

692692
static void zend_jq_init_globals(zend_jq_globals *jq_globals)
693693
{
694-
jq_globals->display_errors = 1;
694+
jq_globals->display_errors = 0;
695695
}
696696

697697
ZEND_MINIT_FUNCTION(jq)

0 commit comments

Comments
 (0)