A sample include file called add.php <?php function add( $x, $y ){ return $x + $y; } ?> <?php include_once('add.php'); include_once('add.php'); echo add(2, 2); ?>