play_ Posted February 20, 2008 Share Posted February 20, 2008 Any difference, performance-wise between if (whatever )) : endif same goes for while() : ... endwhile.. Link to comment https://forums.phpfreaks.com/topic/92147-if-statements/ Share on other sites More sharing options...
cooldude832 Posted February 20, 2008 Share Posted February 20, 2008 well its still going to run the test "whatever" to return true/false on each itteration. so any difference is small (+ or - time) However if you are writing stuff people could look at beside u then you should confirm to standards and use while loops, use proper tabbing etc. So often problems arise from nonconforming writing that is hard to decrypt. Link to comment https://forums.phpfreaks.com/topic/92147-if-statements/#findComment-471968 Share on other sites More sharing options...
play_ Posted February 21, 2008 Author Share Posted February 21, 2008 story of my life (@ work) thanks though. Link to comment https://forums.phpfreaks.com/topic/92147-if-statements/#findComment-472475 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.