{ "visual": "in_array($search,$array[,type])", "description": "It searches in a Array for a string \n Type is optional and its for searching exact pattern (true) or not (nothing)", "parameters" : { "$search": "What you want to find", "$array": "The array for search", "$type": "Exact pattern or not" }, "example": [ "$os = array(\"Windows\",\"Linux\",\"Mac\");", "if (in_array(\"Win\",$os)){", " echo \"Encontrado Win en os\";", "}" ], "output": "Encontrado Win en os" }