Initial commit

This commit is contained in:
JoseluCross
2017-09-17 18:28:06 +02:00
commit 92dd9181cf
14 changed files with 2021 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{
"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"
}