Accessing my test.php in a local server environment, and chrome will not load the page.
<?php
virtual('./database_functions.php');
echo "<!DOCTYPE html>";
echo "<body>";
echo "<p>Hello World"</p>;
echo "</body>";
echo "</html>";
?>
Accessing my test.php in a local server environment, and chrome will not load the page.
<?php
virtual('./database_functions.php');
echo "<!DOCTYPE html>";
echo "<body>";
echo "<p>Hello World"</p>;
echo "</body>";
echo "</html>";
?>
Running the script from command line php I get:
PHP Fatal error: Call to undefined function virtual() in /var/www/test.php on line 2
This simply illustrates a new question.
Google searching reveals that include/require/require_once is recommended, however, I'd like to understand why virtual is being problematic.
It's not so much getting the right answer as understanding why virtual() is being problematic.
EDIT: Blame Dreamweaver. Explained by @aynber