ฟังก์ชัน file_get_contents รับชื่อไฟล์ php และอ่านเนื้อหาไฟล์ข้อความแล้วแสดงบนคอนโซล get the contents, and echo it out.
<?php echo file_get_contents( "filename.php" ); ?>
เนื้อหาของ filename.php จะเป็นผลลัพธ์
ในโค้ดข้างต้น ฟังก์ชัน 'file_get_contents' ถูกเรียกโดยส่งชื่อไฟล์ php ผลลัพธ์จะเป็นเนื้อหาที่อยู่ในไฟล์ php