summaryrefslogtreecommitdiff
path: root/ext/mbstring/mbregex.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mbstring/mbregex.c')
-rw-r--r--ext/mbstring/mbregex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mbstring/mbregex.c b/ext/mbstring/mbregex.c
index 912d2ada08..26348242db 100644
--- a/ext/mbstring/mbregex.c
+++ b/ext/mbstring/mbregex.c
@@ -305,6 +305,7 @@ init_syntax_once()
static int done = 0;
char *s = emalloc(10240), *sp;
int ch;
+ TSRMLS_FETCH();
if (done)
return;