fork download
  1. <?php
  2. $foo = 'Bacco';
  3.  
  4. echo <<<FOOBAR
  5. Hello $foo!\n
  6. FOOBAR;
  7.  
  8. echo <<<"FOOBAR"
  9. Hello $foo!\n
  10. FOOBAR;
  11.  
  12. echo <<<'FOOBAR'
  13. Hello $foo!\n
  14. FOOBAR;
  15.  
Success #stdin #stdout 0.03s 82880KB
stdin
Standard input is empty
stdout
Hello Bacco!
Hello Bacco!
Hello $foo!\n