Functions Php

//foo.php:
                print "Starting foo\n";
            include 'bar.php';
            print "Finishing foo\n";
    ?>
//bar.php:
                print "In bar\n";
    ?>
After including foo.php would look like this:
                print "Starting foo\n";
            print "In bar\n";
            print "Finishing foo\n";
    ?>