summaryrefslogtreecommitdiff
path: root/ext/standard/html.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2019-07-13 02:05:17 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-07-13 02:05:17 +0200
commit1c1de0c41a74b4deadd11cb18f00f115db0568ec (patch)
tree21bf6e0bb1993a0dd7bb304a3abca026cc7ab7a8 /ext/standard/html.c
parent33994ebd95c3c42b0dca4e0f161692ecee7d741b (diff)
downloadphp-git-1c1de0c41a74b4deadd11cb18f00f115db0568ec.tar.gz
Convert all php_error_docref0 to php_error_docref
Closes GH-4394
Diffstat (limited to 'ext/standard/html.c')
-rw-r--r--ext/standard/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/html.c b/ext/standard/html.c
index 0de4679788..a724338e4a 100644
--- a/ext/standard/html.c
+++ b/ext/standard/html.c
@@ -1187,7 +1187,7 @@ PHPAPI zend_string *php_escape_html_entities_ex(unsigned char *old, size_t oldle
if (all) { /* replace with all named entities */
if (CHARSET_PARTIAL_SUPPORT(charset)) {
- php_error_docref0(NULL, E_STRICT, "Only basic entities "
+ php_error_docref(NULL, E_STRICT, "Only basic entities "
"substitution is supported for multi-byte encodings other than UTF-8; "
"functionality is equivalent to htmlspecialchars");
}