cvs: ZendEngine2 / zend.c

From: Date: Fri, 24 Nov 2006 11:36:40 +0000
Subject: cvs: ZendEngine2 / zend.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5426@lists.php.net to get a copy of this message
tony2001 Fri Nov 24 11:36:40 2006 UTC Modified files: /ZendEngine2 zend.c Log: initialize CG(literal_type) using ZEND_STR_TYPE macro add CG(literal_type) initialization in non-ZTS mode fixes backticks operator http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.c?r1=1.383&r2=1.384&diff_format=u Index: ZendEngine2/zend.c diff -u ZendEngine2/zend.c:1.383 ZendEngine2/zend.c:1.384 --- ZendEngine2/zend.c:1.383 Fri Nov 17 10:48:53 2006 +++ ZendEngine2/zend.c Fri Nov 24 11:36:40 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend.c,v 1.383 2006/11/17 10:48:53 dmitry Exp $ */ +/* $Id: zend.c,v 1.384 2006/11/24 11:36:40 tony2001 Exp $ */ #include "zend.h" #include "zend_extensions.h" @@ -668,6 +668,7 @@ CG(asp_tags) = 0; CG(short_tags) = 1; CG(extended_info) = 0; + CG(literal_type) = ZEND_STR_TYPE; } @@ -805,7 +806,7 @@ zend_set_default_compile_time_values(TSRMLS_C); CG(interactive) = 0; - CG(literal_type) = IS_STRING; + CG(literal_type) = ZEND_STR_TYPE; compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); zend_u_hash_init_ex(compiler_globals->auto_globals, global_auto_globals_table->nNumOfElements, NULL, NULL, 1, UG(unicode), 0);

« previous php.zend-engine.cvs (#5426) next »