11 - 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.
Result of php executing
Full code of 11.php
- <! Doctype html/>
- <html>
- <body>
- <?php
- $txt = "Hello World!";
- $x = 5;
- $y = 10.5;
- echo $txt;
- echo "<br>";
- echo $x;
- echo "<br>";
- echo $y;
- echo "<br>";
- $sum = $x + $y;
- echo "amount = ".$sum;
- echo "<br>";
- $SQRT = $x * $y ;
- echo "multiply = ".$SQRT;
- $div = $x / $y;
- echo "<br>";
- echo "division = ".$div;
- ?>
- </body>
- </html>
File Description
- 11
- PHP Code
- 14 Jun-2021
- 320 Bytes
You can Share it:
Latest PHP Pastes