<?php

class Calculator
{
    public static function sumar($a, $b)
    {
        return $a + $b;
    }
    public static function restar($a, $b)
    {
        return $a - $b;
    }
    public static function multiplicar($a, $b)
    {
        return $a * $b;
    }
    public static function dividir($a, $b)
    {
        return $a / $b;
    }
}
echo Calculator::sumar(6, 2) . "<br />";
echo Calculator::restar(6, 2) . "<br />";
echo Calculator::multiplicar(6, 2) . "<br />";
echo Calculator::dividir(7, 2) . "<br />";