Consider the following code
if ( stripos($a,'something1')===0 || stripos($a,'something2')===0 ) { return ''; }
Is there a performance benefit for using in_array or does php stops testing if first condition evaluate to true ?
in_array
Aucun commentaire:
Enregistrer un commentaire