121 - 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 121.php
- <?php
- class SimpleCalc
- {
- public static function add(float $one, float $two): float
- {return $one + $two;}
- public static function multiply(float $one, float $two): float
- {return $one * $two;}
- public static function substract(float $one, float $two): float
- {return $one - $two;}
- public static function divide(float $one, float $two): float
- {return round($one / $two, 2);}
- }
File Description
- 121
- PHP Code
- 29 Apr-2022
- 421 Bytes
You can Share it:
Latest PHP Pastes