title: Call function after function return
body: <p>i have the folowing situation:
  I have a function "foo" and want the the foo-return the function bar sould be call. Here a little example what i mean:</p>
  
  <pre><code>function foo() {
       echo "FOO";
       return "1";
  }
  function bar() {
      echo "BAR";
  }
  echo foo();
  </code></pre>
  
  <p>And the output should be display this</p>
  
  <blockquote>
    <p>FOO<br>
    1<br>
    BAR</p>
  </blockquote>
  
  <p>All this in PHP!!!
  Have anyone a idea how to can realise this WITHOUT call <code>bar()</code> in after each <code>foo()</code>?</p>