summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2002-08-25 18:45:02 +0000
committerMarcus Boerger <helly@php.net>2002-08-25 18:45:02 +0000
commita1f7bb12f1cd3ba6bb50e1b749537095813d38b2 (patch)
tree2bb94edcc989a6658b96b691dc34615b6cc7aa89 /main/php_variables.c
parent4bbe4c703cd7b6070d7eddf5197b05b8ee0ab0f8 (diff)
downloadphp-git-a1f7bb12f1cd3ba6bb50e1b749537095813d38b2.tar.gz
use php_error_docref()
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
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;