dgbnfgn - 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 dgbnfgn.php
- <?php
- class matematica {
- public static function sumar($num1,$num2){
- $suma=$num1+$num2;
- return $suma;
- }
- public static function restar($num1,$num2){
- $resta=$num1-$num2;
- return $resta;
- }
- public static function multiplicar($num1,$num2){
- $multi=$num1*$num2;
- return $multi;
- }
- public static function dividir($num1,$num2){
- $divi=$num1/$num2;
- return $divi;
- }
- }
- ?>