Re: [PHP] Re: Stupid newbie question = Why don't I need a ; after this line?

2004-01-27 Thread -{ Rene Brehmer }-
I always use them ... but it's mainly 'cause if I ever need to expand the
code, I won't have to remember to add them ... it's for the same reason I
always use the braces '{ ... }' even though the short form would work just
as well in many cases ... 

I tend to expand my code alot with time (as I make it more advanced), and
recycle it across multiple projects ... it's simply easier if all the
thingies are there already, as it produces far less errors when copy/pasting
from file to file

Rene

Fate would have it, that on Tue, 27 Jan 2004 09:56:02 -0600, Paul wrote:

>Thanks guys. Duhhh. I was taught to always put ;'s and any dev software that
>writes it's own code does the same. I also remember adding them because I
>was getting error's at some point, perhaps PHP3.
>
>Is it considered better practice to use them? Otherwise I've been wasting
>keystrokes. I only noticed this when I was going over some code.

-- 
Rene Brehmer
aka Metalbunny

http://metalbunny.net/
References, tools, and other useful stuff...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Stupid newbie question = Why don't I need a ; after this line?

2004-01-27 Thread Paul
Thanks guys. Duhhh. I was taught to always put ;'s and any dev software that
writes it's own code does the same. I also remember adding them because I
was getting error's at some point, perhaps PHP3.

Is it considered better practice to use them? Otherwise I've been wasting
keystrokes. I only noticed this when I was going over some code.




"Paul" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for any advice.
>
> Can anyone tell me why I do not get any errors with ( no ; after _id'] )
>
> 
>
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php