note 22570 deleted from language.basic-syntax.instruction-separation by nlopess
| From: | nlopess@php.net | Date: | Sun, 22 Feb 2004 09:57:37 +0000 |
| Subject: | note 22570 deleted from language.basic-syntax.instruction-separation by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-65521@lists.php.net to get a copy of this message | ||
Note Submitter: stlawson@sbcglobal.net
----
My philosophy is to always add the semi-colon to the last statement (the one just before the
'?>'). That way, if more PHP code is ever inserted there, it won't break the
script if the new author forgets to add the semi-colon. I call this 'Defensive
Programming'.