Skip to content

Commit caf9049

Browse files
committed
The third argument to define() wasn't working right, fixed
1 parent 0b8ea28 commit caf9049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_builtin_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ ZEND_FUNCTION(define)
364364

365365
c.value = **val;
366366
zval_copy_ctor(&c.value);
367-
c.flags = case_sensitive | ~CONST_PERSISTENT; /* non persistent */
367+
c.flags = case_sensitive; /* non persistent */
368368
c.name = zend_strndup((*var)->value.str.val, (*var)->value.str.len);
369369
c.name_len = (*var)->value.str.len+1;
370370
zend_register_constant(&c ELS_CC);

0 commit comments

Comments
 (0)