Laba - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of Laba.php

  1. <?php
  2. $array = [1,2,4,5,15,18,20];
  3. $min = $array[0];
  4. $max = 0;
  5. for($i=0;$i<count($array); $i++); {
  6. if(min > $array[$i]{
  7. $min = $array[$i];}
  8. }
  9. for($i=0;i<count($array));
  10. echo $min
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
File Description
  • Laba
  • PHP Code
  • 20 Feb-2021
  • 197 Bytes
You can Share it: