--TEST-- Test function show_source() by calling it with its expected arguments, 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 ***
<?php
echo "*** Test by calling method or function with its expected arguments ***\n";
$foo = 'bar';
$baz = "something ".$foo."\n";
if ( $foo == 'bar' )
{
$baz = 'baz';
}
/* some code here */
show_source(__FILE__);
?>