summaryrefslogtreecommitdiff
path: root/ext/standard/datetime.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/datetime.c')
-rw-r--r--ext/standard/datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c
index e94f1a3bc6..e48c20e1f8 100644
--- a/ext/standard/datetime.c
+++ b/ext/standard/datetime.c
@@ -652,7 +652,7 @@ char *php_std_date(time_t t)
{
struct tm *tm1, tmbuf;
char *str;
- PLS_FETCH();
+ TSRMLS_FETCH();
tm1 = php_gmtime_r(&t, &tmbuf);
str = emalloc(81);