class MemoryLimit

Methods

static float
toMegabytes(float|string $limit)

Convert megabytes or a percentage of PHP's memory limit to megabytes.

Details

at line 12
static float toMegabytes(float|string $limit)

Convert megabytes or a percentage of PHP's memory limit to megabytes.

Parameters

float|string $limit

Return Value

float