I have a code snippet as follows
echo "calling require";
require ('../includes/functions/database.php');
echo 'require called';
my code echoes the first command and prints "Calling required."
as soon as it hits require function my code breaks and does not execute any further, as a result I don't get to print the last echo "require called"
What could be the possible reason?