- Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.21, 8.3.0 - 8.3.9
- Fatal error: Declaration of C::foo() must be compatible with T::foo(): string in /in/02d4a on line 28
Process exited with code 255. - Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
- Fatal error: Uncaught TypeError: Return value of D::bar() must be of the type string, int returned in /in/02d4a:7
Stack trace:
#0 /in/02d4a(51): D->bar()
#1 {main}
thrown in /in/02d4a on line 7
Process exited with code 255. - Output for 7.1.0 - 7.1.20, 7.2.0 - 7.2.33
- Fatal error: Uncaught TypeError: Return value of D::bar() must be of the type string, integer returned in /in/02d4a:7
Stack trace:
#0 /in/02d4a(51): D->bar()
#1 {main}
thrown in /in/02d4a on line 7
Process exited with code 255.