Test(25_01_64) - 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 Test(25_01_64).php

  1. <?php
  2.        for($i=1;$i<=5;$i++){
  3.          if($i==1){
  4.            echo"*";   }    
  5.          else if($i==2){
  6.            echo"**";   }
  7.          else if($i==3){
  8.            echo"***";  } 
  9.          else if($i==4){
  10.            echo"****"; }
  11.          else if($i==5){
  12.            echo"*****";}  
  13.          else {
  14.            echo"Crazy Man";}
  15.            echo"\n";
  16.        }
  17.        
  18.  echo"hello";
  19. ?>
  20.  
  21.  
File Description
  • Test(25_01_64)
  • PHP Code
  • 25 Jan-2021
  • 387 Bytes
You can Share it: