Please answer this simple SPAM challenge: max(five, two)?
(Example: nine)

The Note You're Voting On

razvan_bc at yahoo dot com
8 months ago
/* This will give an error. Note the output
* above, which is before the header() call */

this example is pretty good BUT in time you use "exit" the parser will still work to decide what's happening next the "exit" 's action should do ('cause if you check the manual exit works in others situations too).
SO MY POINT IS : you should use :


'CAUSE all die function does is to stop the script ,there is no other place for interpretation and the scope you choose to break the action of your script is quickly DONE!!!

there are many situations  with others examples and the right choose for small parts of your scrips that make differences when you write your php framework at well!

Thanks Rasmus Lerdorf and his team to wrap off parts of unusual php functionality ,php 7 roolez!!!!!

<< Back to user notes page

To Top