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

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

 
/* some code here */ 
$source show_source(__FILE__true);

var_dump($source);
?>
"