class Str

Methods

static string
random(int $length = 16)

Generate a more truly "random" alpha-numeric string.

static string
quickRandom(int $length = 16)

Generate a "random" alpha-numeric string.

static 
convertLineFeed($value, $lf = "\n")

No description

Details

at line 36
static string random(int $length = 16)

Generate a more truly "random" alpha-numeric string.

Parameters

int $length

Return Value

string

Exceptions

RuntimeException

at line 61
static string quickRandom(int $length = 16)

Generate a "random" alpha-numeric string.

Should not be considered sufficient for cryptography, etc.

Parameters

int $length

Return Value

string

at line 69
static convertLineFeed($value, $lf = "\n")

Parameters

$value
$lf