summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index a263058951..2c38a1a34a 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -341,6 +341,7 @@ char *php_escape_shell_cmd(char *str) {
char *php_escape_shell_arg(char *str) {
int x, y, l;
char *cmd;
+ TSRMLS_FETCH();
y = 0;
l = strlen(str);