Comment on Code that will only execute onceparentComments−leepowers12yWith short open tags enabled the example can be simplified further as <?unlink(__FILE__);−MattBearman12yIt's been a couple of years since I programmed in PHP, but I'm pretty sure if it's the EOF you don't even need the final semicolon, so: <?unlink(__FILE__)−dylz12yShort tags (other than echo <?=) are no longer on by d efault
Comments
With short open tags enabled the example can be simplified further as <?unlink(__FILE__);
It's been a couple of years since I programmed in PHP, but I'm pretty sure if it's the EOF you don't even need the final semicolon, so:
Short tags (other than echo <?=) are no longer on by d efault