Skip to content

Commit 509a67d

Browse files
committed
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)
2 parents 47a0722 + 68a73ce commit 509a67d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CODING_STANDARDS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ Exceptions:
5959
you're calling.
6060

6161
7. When commenting out code using a #if statement, do NOT use 0 only. Instead
62-
use "<svn username here>_0". For example, #if FOO_0, where FOO is your
63-
svn user foo. This allows easier tracking of why code was commented out,
62+
use "<git username here>_0". For example, #if FOO_0, where FOO is your
63+
git user foo. This allows easier tracking of why code was commented out,
6464
especially in bundled libraries.
6565

6666
8. Do not define functions that are not available. For instance, if a

ext/snmp/snmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ static void php_snmp_error(zval *object, const char *docref TSRMLS_DC, int type,
533533
}
534534

535535
if (object && (snmp_object->exceptions_enabled & type)) {
536-
zend_throw_exception_ex(php_snmp_exception_ce, type, snmp_object->snmp_errstr TSRMLS_CC);
536+
zend_throw_exception_ex(php_snmp_exception_ce, type TSRMLS_CC, snmp_object->snmp_errstr);
537537
} else {
538538
va_start(args, format);
539539
php_verror(docref, "", E_WARNING, format, args TSRMLS_CC);

0 commit comments

Comments
 (0)