[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/symfony/finder/Comparator/ -> NumberComparator.php (summary)

(no description)

File Size: 79 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

NumberComparator:: (1 method):
  __construct()


Class: NumberComparator  - X-Ref

NumberComparator compiles a simple comparison to an anonymous
subroutine, which you can call with a value to be tested again.

Now this would be very pointless, if NumberCompare didn't understand
magnitudes.

The target value may use magnitudes of kilobytes (k, ki),
megabytes (m, mi), or gigabytes (g, gi).  Those suffixed
with an i use the appropriate 2**n version in accordance with the
IEC standard: http://physics.nist.gov/cuu/Units/binary.html

Based on the Perl Number::Compare module.

__construct($test)   X-Ref

param: string|int $test A comparison string or an integer



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1