#3 - 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 #3.php

  1. <?php
  2. $var = 1;
  3. $var += 12;
  4. $var -= 14;
  5. $var *= 5;
  6. $var /= 7;
  7. $var++;
  8. $var--;
  9. echo $var;
  10. ?>
File Description
  • #3
  • PHP Code
  • 16 May-2022
  • 91 Bytes
You can Share it: