I have a question about the efficiency of an if statement... Say you have the following statement,
if ( $i == 6 && eregi ( "foo" , $bar ) ) { } And the first portion ( $i == 6 ) IS NOT true, does PHP even attempt to run the regular expression? Just wondering. Thanks, John --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php