Created
February 14, 2015 17:26
-
-
Save AndreasJacobsen/b0446796c48ea933da83 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$tallrekke = array(1,4,8,1,4,10,5,6,2,4,6); | |
/* | |
$mintse = 0; | |
foreach ($tallrekke as $tall){ | |
if ($tall < $minste){ | |
$minste = $tall; | |
} | |
} | |
*/ | |
$minste = 0; | |
foreach($tallrekke as $tall){ | |
} | |
$i = 0; | |
for($i=0; $x<=1; $x++){ | |
if($tall < 0){ | |
$i = $tall; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment