|
|
|
@ -2508,7 +2508,7 @@ static inline void do_implement_interface(zend_class_entry *ce, zend_class_entry |
|
|
|
zend_error(E_CORE_ERROR, "Class %s could not implement interface %s", ce->name, iface->name); |
|
|
|
} |
|
|
|
if (ce == iface) { |
|
|
|
zend_error(E_ERROR, "Interface %s cannot not implement itself", ce->name); |
|
|
|
zend_error(E_ERROR, "Interface %s cannot implement itself", ce->name); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|