- Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
- Fatal error: Uncaught Error: Call to undefined method a::test() in /in/YTBIb:12
Stack trace:
#0 {main}
thrown in /in/YTBIb on line 12
Process exited with code 255.
<?php
class a {
function t($str)
{
echo "\nHi: $str";
var_dump(debug_backtrace());
}
}
(new a)->test('bla');