Skip to content

Instantly share code, notes, and snippets.

@AndreasJacobsen
Created February 14, 2015 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreasJacobsen/b0446796c48ea933da83 to your computer and use it in GitHub Desktop.
Save AndreasJacobsen/b0446796c48ea933da83 to your computer and use it in GitHub Desktop.
<?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