RE: [PHP-DEV] A misleading error message

2004-05-13 Thread Wez Furlong
The message is correct; Two is abstract since you haven't implemented a "real" version of bar(). --Wez. > With 5RC2 the following code produces a the fatal error > "Cannot instantiate > abstract class Two." In fact Two is not an abstract class, > so the wording > tripped me up for a minute. >

[PHP-DEV] A misleading error message

2004-05-13 Thread Rick Fletcher
With 5RC2 the following code produces a the fatal error "Cannot instantiate abstract class Two." In fact Two is not an abstract class, so the wording tripped me up for a minute. The error actually occurs because Two doesn't implement all of One's abstract methods. Could someone make a change to