Just curious to what the difference is between these. When I code, I like to tear mods apart to see how they work and basically create mine off of what I learned from breaking it down. But I saw this and it had me wondering, lol.
THIS is what I use in my modifications:
PHP Code:
{
print_no_permission();
}
Then today, I saw this while breaking one down
PHP Code:
{
print_no_permission();
exit;
}
What's the difference? Obviously besides the
exit;, but does it change anything different? Which is the proper way (First or second one)?