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

  1. <?php
  2.   $n1 = 3;
  3.   $n2 = 2;
  4.   echo "A soma vale". ($n1+$n2);
  5.   echo "A subtração vale".($n1-$n2);
  6.   echo "A multiplicação vale". ($n1*$n2);
  7.   echo "A divisão vale". ($n1/$n2);
  8.   echo " O módulo vale". ($n1%$n2);
  9. ?>
  10.  
File Description
  • gui3d.php
  • PHP Code
  • 12 Oct-2021
  • 221 Bytes
You can Share it: