diff options
author | Anatol Belski <ab@php.net> | 2013-12-14 20:46:43 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-12-14 20:46:43 +0100 |
commit | 509a67d28f792a2a11f86a3aca4a5ac820d2f747 (patch) | |
tree | 66cba47f5730439d10f7e629e2ba6d1fa8e69a67 | |
parent | 47a0722b9f0c5dd038bd14571d9e19cc02c6e9fc (diff) | |
parent | 68a73ce3c449622f729bae257d1ed42e54a1a839 (diff) | |
download | php-git-509a67d28f792a2a11f86a3aca4a5ac820d2f747.tar.gz |
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
fixed parameter order for zend_throw_exception_ex call
Fix doc (svn -> git)
-rw-r--r-- | CODING_STANDARDS | 4 | ||||
-rw-r--r-- | ext/snmp/snmp.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/CODING_STANDARDS b/CODING_STANDARDS index 5ceacdc4dc..7a0562e6ca 100644 --- a/CODING_STANDARDS +++ b/CODING_STANDARDS @@ -59,8 +59,8 @@ Exceptions: you're calling. 7. When commenting out code using a #if statement, do NOT use 0 only. Instead - use "<svn username here>_0". For example, #if FOO_0, where FOO is your - svn user foo. This allows easier tracking of why code was commented out, + use "<git username here>_0". For example, #if FOO_0, where FOO is your + git user foo. This allows easier tracking of why code was commented out, especially in bundled libraries. 8. Do not define functions that are not available. For instance, if a diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 4e2510afc8..217606aee3 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -533,7 +533,7 @@ static void php_snmp_error(zval *object, const char *docref TSRMLS_DC, int type, } if (object && (snmp_object->exceptions_enabled & type)) { - zend_throw_exception_ex(php_snmp_exception_ce, type, snmp_object->snmp_errstr TSRMLS_CC); + zend_throw_exception_ex(php_snmp_exception_ce, type TSRMLS_CC, snmp_object->snmp_errstr); } else { va_start(args, format); php_verror(docref, "", E_WARNING, format, args TSRMLS_CC); |