For example, suppose i have this very simple function
    $a = 1;
    $b = 2;
    function Sum()
{
    global $a, $b;
    $b = $a + $b;
}
    Sum();
    echo $b;
This normally would output 3 directly. But is it possible to make php show the operations being done, like 3 = 1 + 2? (similar to a console.log) Thanks!
 
     
    