Skip to content

Instantly share code, notes, and snippets.

@garoevans
Created February 19, 2014 13:42

Revisions

  1. garoevans created this gist Feb 19, 2014.
    19 changes: 19 additions & 0 deletions pj_example.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    //"file_foo.php"
    <?php
    include "file_bar.php";
    function foo1()
    {
    echo 'me';
    }
    function foo2()
    {
    bar();
    }

    //"file_bar.php"
    <?php
    include "file_foo.php";
    function bar()
    {
    foo1();
    }