summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2003-09-01 17:26:57 +0000
committerSebastian Bergmann <sebastian@php.net>2003-09-01 17:26:57 +0000
commit07ef05adb52388bcfe17f62da5a97207fae89571 (patch)
tree89958b1d1d0ae6adf28a35940767069418fb13f9 /Zend/zend_exceptions.c
parent2bbd11e6b5825dfbb70eb37dd212a1e618b6cdfc (diff)
downloadphp-git-07ef05adb52388bcfe17f62da5a97207fae89571.tar.gz
Revert what I think is an accidental commit by Marcus that slipped in at revision 1.23. Declaring getMessage() as final is a PITA, so I hope it will not come to that.
Diffstat (limited to 'Zend/zend_exceptions.c')
-rw-r--r--Zend/zend_exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_exceptions.c b/Zend/zend_exceptions.c
index db4617bf6e..4d6b6f5d81 100644
--- a/Zend/zend_exceptions.c
+++ b/Zend/zend_exceptions.c
@@ -333,7 +333,7 @@ ZEND_METHOD(exception, tostring)
*/
static zend_function_entry default_exception_functions[] = {
ZEND_ME(exception, __construct, NULL, 0)
- ZEND_ME(exception, getmessage, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
+ ZEND_ME(exception, getmessage, NULL, 0) /* non final for now */
ZEND_ME(exception, getcode, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getfile, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)
ZEND_ME(exception, getline, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_FINAL)