Documentation

CoaleseEqualTokenEmulator extends TokenEmulator
in package

Table of Contents

emulate()  : array<string|int, mixed>
getPhpVersion()  : string
isEmulationNeeded()  : bool
reverseEmulate()  : array<string|int, mixed>

Methods

emulate()

public emulate(string $code, array<string|int, mixed> $tokens) : array<string|int, mixed>
Parameters
$code : string
$tokens : array<string|int, mixed>
Return values
array<string|int, mixed>

isEmulationNeeded()

public isEmulationNeeded(string $code) : bool
Parameters
$code : string
Return values
bool

reverseEmulate()

public reverseEmulate(string $code, array<string|int, mixed> $tokens) : array<string|int, mixed>
Parameters
$code : string
$tokens : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results