Search by

dmitriy-zhukov / my-test-library

require-once

There is no license information available for the latest version (1.0.1) of this package.

test library 2

Package info

github.com/require-once/my-test-library

pkg:composer/dmitriy-zhukov/my-test-library

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2026-10-20 10:46 UTC

This package is auto-updated.

Last update: 2026-11-11 19:00:35 UTC


README

Сложение, вычитание, умножение и деление

Требования

  • PHP 7.4+

Установка

composer require dmitriy-zhukov/my-test-library

Использование

$calculator = new Calculator();
echo $calculator->sum(-1, 3));  // 2
echo $calculator->subtract(5, 10));  // -5
echo $calculator->multiply(-12, 12));  // 144
echo $calculator->divide(10, 4));  // 2.5