Fatal error: Declaration of BetterClass::doSomething(BetterInterface $thing) must be compatible with RegularClass::doSomething(RegularInterface $thing) in /in/b79hn on line 16
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Warning: Declaration of BetterClass::doSomething(BetterInterface $thing) should be compatible with RegularClass::doSomething(RegularInterface $thing) in /in/b79hn on line 16
hello
Warning: Declaration of BetterClass::doSomething(BetterInterface $thing) should be compatible with RegularClass::doSomething(RegularInterface $thing) in /in/b79hn on line 19
hello
Strict Standards: Declaration of BetterClass::doSomething() should be compatible with RegularClass::doSomething(RegularInterface $thing) in /in/b79hn on line 19
hello
Strict Standards: Declaration of BetterClass::doSomething() should be compatible with that of RegularClass::doSomething() in /in/b79hn on line 19
hello
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING in /in/b79hn on line 3
Process exited with code 255.