note 34667 added to language.basic-syntax.instruction-separation

From: Date: Sun, 03 Aug 2003 09:49:48 +0000
Subject: note 34667 added to language.basic-syntax.instruction-separation
Groups: php.notes 
Request: Send a blank email to php-notes+get-53234@lists.php.net to get a copy of this message
I highly agree with the "Defensive Programming", all though if you want to add another PHP code and do not want to put a semicolon (;), then you can still do it and you can leave out the semicolon, but then when you want to add on a code, just simply direct a semicolon to the PHP scripting. Then of course once you add that semicolon, you can continue on with the scripting you need to add into that PHP space, but once you finish that added PHP script, then simply leave without a semicolon. This little maneuver I do all the time is called "Simple Adding", which the name truly expresses the function it does. Try it and it will be easier to move around and function with add-ons. ---- Manual Page -- http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34667 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34667&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34667&report=yes

« previous php.notes (#53234) next »