knoeki commented on a Page, Channel name background  -  May 08, 2010

what about $exists or $isfile
could have done that, I'm sure I had a reason not to do so.

and you can replace == $null by adding "!" before the identifer
Not my style, sorry.

and remove the "()" around the condition it will make the code slower
I really doubt it matters much, and if it does, then stop using the dusty old 486 in your mums basement as your PC (:

I prefer my code to be readable over "fast", especially when there's no real significant speed gain... 1ms more or less is not going to kill you with something trivial as this.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.