--TEST-- Test function show_source() by calling it with its expected arguments and php output, more test for highlight_file() --CREDITS-- Francesco Fullone ff@ideato.it #PHPTestFest Cesena Italia on 2009-06-20 --FILE-- --EXPECT-- *** Test by calling method or function with its expected arguments and php output *** baz <?php
echo "*** Test by calling method or function with its expected arguments and php output ***\n";
$foo 'bar';
$baz "something ".$foo."\n";

if ( 
$foo == 'bar' )
{
  
$baz "baz\n";
}

 
/* some code here */
echo $baz;
show_source(__FILE__);
echo 
$foo;
?>
bar