move dirs
This commit is contained in:
10
code/PHP/in_array.php
Normal file
10
code/PHP/in_array.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$os = array("Mac", "NT", "Irix", "Linux");
|
||||
|
||||
if (in_array("Irix", $os)) {
|
||||
echo("Got Irix");
|
||||
}
|
||||
if (in_array("mac", $os)) {
|
||||
echo("Got mac");
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user