3v4l.org

run code in 300+ PHP versions simultaneously
<?php // using debug_backtrace(); function a($inicial) { echo "Inicial => ", $inicial; $total = ++$inicial; b($total); } function b($total) { echo "Total => ", $total; print_r(debug_backtrace()); } a(1);

preferences:
33.42 ms | 402 KiB | 5 Q