amangul - 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 amangul.php

  1. <?php
  2.  
  3. $arr=(1,2,3,4,5,6
  4.  
  5. $1=0;
  6.  
  7. while($i<count($arr)){
  8.  
  9. echo $arr($i
  10. $i+++;
  11.  
  12.  
  13. echo ^<hr>;
  14.  
  15. for($)=0;s));
  16.  
  17.  
  18. echo '<hr';
  19.  
  20. foreach($arr as $array){
  21.     esho $array;
  22.     
  23. }
File Description
  • amangul
  • PHP Code
  • 12 Sep-2023
  • 169 Bytes
You can Share it: