diff options
author | Marcus Boerger <helly@php.net> | 2002-08-25 18:45:02 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2002-08-25 18:45:02 +0000 |
commit | a1f7bb12f1cd3ba6bb50e1b749537095813d38b2 (patch) | |
tree | 2bb94edcc989a6658b96b691dc34615b6cc7aa89 /main/php_variables.c | |
parent | 4bbe4c703cd7b6070d7eddf5197b05b8ee0ab0f8 (diff) | |
download | php-git-a1f7bb12f1cd3ba6bb50e1b749537095813d38b2.tar.gz |
use php_error_docref()
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; |