mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
use php_error_docref()
This commit is contained in:
parent
4bbe4c703c
commit
a1f7bb12f1
5 changed files with 19 additions and 19 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue