What is the difference between "include()" and "virtual()" when incorporating CGI scripts in PHP?

The main difference between "include()" and "virtual()" when incorporating CGI scripts in PHP is that "include()" is used to include and execute a PHP script within the current script, while "virtual()" is used to execute a separate PHP script as if it were a standalone request. This means that "include()" is more suitable for modular code organization within the same script, while "virtual()" is better for executing external scripts independently.

<?php
// Using include() to include and execute a PHP script within the current script
include('path/to/script.php');

// Using virtual() to execute a separate PHP script as if it were a standalone request
virtual('path/to/script.php');
?>