summaryrefslogtreecommitdiff
path: root/ext/snmp
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-07-03 09:45:03 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-07-03 09:45:03 -0500
commited1b64877d82af71bc64a48bf914046640e8a270 (patch)
tree914694f44a90a8a76656e76f3fe0c89fdbd25b89 /ext/snmp
parenta812a74c2e60a0ba080057067a7634e4da3f2b9b (diff)
downloadphp-git-ed1b64877d82af71bc64a48bf914046640e8a270.tar.gz
Switch position of ce in exception ce variable names
Diffstat (limited to 'ext/snmp')
-rw-r--r--ext/snmp/snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index 08917ae917..92b7732e67 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -1820,7 +1820,7 @@ PHP_METHOD(snmp, __construct)
case SNMP_VERSION_3:
break;
default:
- zend_throw_exception(zend_exception_ce, "Unknown SNMP protocol version", 0);
+ zend_throw_exception(zend_ce_exception, "Unknown SNMP protocol version", 0);
return;
}
@@ -2419,7 +2419,7 @@ PHP_MINIT_FUNCTION(snmp)
#ifdef HAVE_SPL
php_snmp_exception_ce = zend_register_internal_class_ex(&cex, spl_ce_RuntimeException);
#else
- php_snmp_exception_ce = zend_register_internal_class_ex(&cex, zend_exception_ce);
+ php_snmp_exception_ce = zend_register_internal_class_ex(&cex, zend_ce_exception);
#endif
return SUCCESS;