summaryrefslogtreecommitdiff
path: root/ext/intl/timezone/timezone_class.cpp
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/intl/timezone/timezone_class.cpp
parent33994ebd95c3c42b0dca4e0f161692ecee7d741b (diff)
downloadphp-git-1c1de0c41a74b4deadd11cb18f00f115db0568ec.tar.gz
Convert all php_error_docref0 to php_error_docref
Closes GH-4394
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r--ext/intl/timezone/timezone_class.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp
index 695cc7d3ea..b261f81f81 100644
--- a/ext/intl/timezone/timezone_class.cpp
+++ b/ext/intl/timezone/timezone_class.cpp
@@ -505,7 +505,7 @@ U_CFUNC void timezone_register_IntlTimeZone_class(void)
TimeZone_ce_ptr = zend_register_internal_class(&ce);
if (!TimeZone_ce_ptr) {
//can't happen now without bigger problems before
- php_error_docref0(NULL, E_ERROR,
+ php_error_docref(NULL, E_ERROR,
"IntlTimeZone: class registration has failed.");
return;
}