]> granicus.if.org Git - php/commitdiff
MFH: fixed #31987 zend-multibyte in ZTS.
authorRui Hirokawa <hirokawa@php.net>
Sat, 19 Feb 2005 14:36:07 +0000 (14:36 +0000)
committerRui Hirokawa <hirokawa@php.net>
Sat, 19 Feb 2005 14:36:07 +0000 (14:36 +0000)
Zend/zend_language_scanner.l

index d2a2c1db5b6c314f2d6e94e7e50ca56399f7f6be..d6f17a211189d5402b3266d64e03dfe133682fda 100644 (file)
@@ -134,6 +134,10 @@ void startup_scanner(TSRMLS_D)
        SCNG(script_org_size) = 0;
        SCNG(script_filtered) = NULL;
        SCNG(script_filtered_size) = 0;
+       SCNG(input_filter) = NULL;
+       SCNG(output_filter) = NULL;
+       SCNG(script_encoding) = NULL;
+       SCNG(internal_encoding) = NULL;
 #endif /* ZEND_MULTIBYTE */
 }
 
@@ -159,6 +163,12 @@ void shutdown_scanner(TSRMLS_D)
                efree(SCNG(script_filtered));
                SCNG(script_filtered) = NULL;
        }
+       SCNG(script_org_size) = 0;
+       SCNG(script_filtered_size) = 0;
+       SCNG(input_filter) = NULL;
+       SCNG(output_filter) = NULL;
+       SCNG(script_encoding) = NULL;
+       SCNG(internal_encoding) = NULL;
 #endif /* ZEND_MULTIBYTE */
 }
 END_EXTERN_C()