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

  1. <?php
  2.     $a = rand(1000, 10000);
  3.     $b = rand(1000, 10000);
  4.     echo $a;
  5.     echo "<br>";
  6.     echo $b;
  7.     echo "<br>";
  8.     $c = max($a, $b);
  9.     $d = round($c, -2);
  10.     echo $d;
  11.  
File Description
  • 111
  • PHP Code
  • 29 Mar-2021
  • 181 Bytes
You can Share it: