diff options
author | Dmitry Stogov <dmitry@zend.com> | 2014-07-08 16:40:26 +0400 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2014-07-08 16:40:26 +0400 |
commit | 3ad4a8a5fa06149e4df3b6b4f7d258d90b4abd5d (patch) | |
tree | 18bb1d35760b3d30e5b5899ed6c5b7c033a342d1 /ext/intl/timezone | |
parent | 7edb66c4ae8851e6365dbbe4f97c5fe81ec5d358 (diff) | |
download | php-git-3ad4a8a5fa06149e4df3b6b4f7d258d90b4abd5d.tar.gz |
Separate argument passed by reference
Diffstat (limited to 'ext/intl/timezone')
-rw-r--r-- | ext/intl/timezone/timezone_methods.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/timezone/timezone_methods.cpp b/ext/intl/timezone/timezone_methods.cpp index 2b1bcfab92..a8332dbf7e 100644 --- a/ext/intl/timezone/timezone_methods.cpp +++ b/ext/intl/timezone/timezone_methods.cpp @@ -469,7 +469,7 @@ U_CFUNC PHP_FUNCTION(intltz_get_offset) TIMEZONE_METHOD_INIT_VARS; if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), - "Odbzz", &object, TimeZone_ce_ptr, &date, &local, &rawOffsetArg, + "Odbz/z/", &object, TimeZone_ce_ptr, &date, &local, &rawOffsetArg, &dstOffsetArg) == FAILURE) { intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR, "intltz_get_offset: bad arguments", 0 TSRMLS_CC); |