PHP Programming quiz, level Advanced, question 12
| Question: | If you try to print out the contents of a variable that hasn't had a value assigned to it ... |
| Answer 1: | nothing will be printed, unless you have set the error reporting level to 15; if you have, you'll get a warning message This was the CORRECT answer |
| Answer 2: | a warning message will be printed, but the script will continue |
| Answer 3: | an error will be flagged, and the script will terminate |
| Answer 4: | The script will run and the user won't realise there's a problem, but an email will be sent to the webmaster to alert him |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|