summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-06-06 19:13:54 +0000
committerZeev Suraski <zeev@php.net>2000-06-06 19:13:54 +0000
commit98bf43f22903c3deb6e06942f93adff7c7af640e (patch)
tree67c7daa03aa71b057306c45e61d22ed5b6a7157f /Zend/zend.c
parent8e58cc501f78688669acbca358dba942e9e6ef4a (diff)
downloadphp-git-98bf43f22903c3deb6e06942f93adff7c7af640e.tar.gz
Enable asp_tags/short_tags/allow_call_time_pass_by_reference to work on a per-directory
basis as well
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index f59762a6b1..9cdf8a8083 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -258,6 +258,11 @@ static void compiler_globals_ctor(zend_compiler_globals *compiler_globals)
zend_hash_copy(compiler_globals->class_table, global_class_table, (copy_ctor_func_t) zend_class_add_ref, &tmp_class, sizeof(zend_class_entry));
compiler_globals->extended_info = 0;
+
+ /* default compile-time values */
+ compiler_globals->asp_tags = 0;
+ compiler_globals->short_tags = 1;
+ compiler_globals->allow_call_time_pass_reference = 1;
}