What are the differences between using "include" and "require" functions in PHP to call external scripts?
When including external scripts in PHP, the main difference between using "include" and "require" functions is how they handle errors. "Include" will only produce a warning if the file is not found or cannot be included, allowing the script to continue executing. On the other hand, "require" will produce a fatal error and halt script execution if the file is not found or cannot be included.
// Using include function
include 'external_script.php';
// Using require function
require 'external_script.php';