use php_error_docref()

This commit is contained in:
Marcus Boerger 2002-08-25 18:45:02 +00:00
parent 4bbe4c703c
commit a1f7bb12f1
5 changed files with 19 additions and 19 deletions

View file

@ -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;