Fatal error: Uncaught Error: Object of class Foo could not be converted to string in /in/DTTR1:11
Stack trace:
#0 {main}
thrown in /in/DTTR1 on line 11
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Foo has a deprecated constructor in /in/DTTR1 on line 2
Fatal error: Uncaught Error: Object of class Foo could not be converted to string in /in/DTTR1:11
Stack trace:
#0 {main}
thrown in /in/DTTR1 on line 11
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Recoverable fatal error: Object of class Foo could not be converted to string in /in/DTTR1 on line 11
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Foo has a deprecated constructor in /in/DTTR1 on line 2
Recoverable fatal error: Object of class Foo could not be converted to string in /in/DTTR1 on line 11
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Foo has a deprecated constructor in /in/DTTR1 on line 2
Catchable fatal error: Object of class Foo could not be converted to string in /in/DTTR1 on line 11
Process exited with code 255.