function(v,n){n=(n==null)?0:n;var m=this.length;for(var i=n;i<m;i++)if(this[i]==v)return i;return-1}

PHP Cheat Sheet

Syndicate content