3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { function t($str) { echo "\nHi: $str"; var_dump(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS)); } } (new a)->t('bla');
Output for 8.1.0 - 8.1.29, 8.2.0 - 8.2.20, 8.3.0 - 8.3.8
Hi: blaarray(1) { [0]=> array(5) { ["file"]=> string(9) "/in/kSCIC" ["line"]=> int(12) ["function"]=> string(1) "t" ["class"]=> string(1) "a" ["type"]=> string(2) "->" } }

preferences:
71.31 ms | 403 KiB | 65 Q