diff options
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index 1550de02aa..6da7575410 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -155,7 +155,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra } else { ip = strchr(ip, ']'); if (!ip) { - php_error(E_WARNING, "Missing ] in %s variable", var); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Missing ] in %s variable", var); return; } *ip = 0; |