You get paid for this?
Spotted in some high-priced "expert"'s code:
switch ($retcode) { case -1: case -3: if ($retcode==-1) log("SOME_CODE", "SOME MSG"); else log("SOME_OTHER_CODE", "SOME OTHER MSG"); ...
Spotted in some high-priced "expert"'s code:
switch ($retcode) { case -1: case -3: if ($retcode==-1) log("SOME_CODE", "SOME MSG"); else log("SOME_OTHER_CODE", "SOME OTHER MSG"); ...