PHP die() May 23, 2012 Pramod T P Its an alias of the exit() and prints a message and exits the current script Example <?php $fp = fopen(“test.xml”,”r”) or die(“Failed”); ?>