difference in these queries
Posted: Thu Oct 13, 2011 5:45 pm
Hi,
I was just wondering what is the difference between these 2 queries (if any)
I was just wondering what is the difference between these 2 queries (if any)
if(isset($_GET['a']) && (strlen($_GET['a'])) == 32 && (ctype_alnum($_GET['a']))) { //****** AND ********// if(isset($_GET['a']) && strlen($_GET['a']) == 32 && ctype_alnum($_GET['a'])) {I normally use the bottom kind but was just playing with some code and noticed it was still valid with the brackets around each condition too. Do they differ at all in execution?