PDA

View Full Version : Speedy Code Ness...


merk
Sat 8th Sep '01, 10:46pm
Looking through a few vbulletin files, i see

if(isset($action)==0) {

Would it not be easier to

if(!isset($action)) { ?

Not that it makes that much difference i guess ;)

tubedogg
Sun 9th Sep '01, 12:30am
It might have to do with backward compatibility for older versions of PHP, not sure...

merk
Sun 9th Sep '01, 12:42am
Thats a point, never thought about that, not that i support backward compatibility in my scripts ;)