class BasicFilters

Methods

static mixed
json(string $response, bool $assoc = false, int $depth = 512, int $options)

Filter that checks for valid json and decodes it as directed

static mixed
simpleXml(string $response, string $className = 'SimpleXMLElement', int $options, string $ns = '', bool $isPrefix = false)

Filter that checks for valid XML and loads it as directed

Details

at line line 16
static mixed json(string $response, bool $assoc = false, int $depth = 512, int $options)

Filter that checks for valid json and decodes it as directed

Parameters

string $response
bool $assoc
int $depth
int $options

Return Value

mixed

at line line 43
static mixed simpleXml(string $response, string $className = 'SimpleXMLElement', int $options, string $ns = '', bool $isPrefix = false)

Filter that checks for valid XML and loads it as directed

Parameters

string $response
string $className
int $options
string $ns
bool $isPrefix

Return Value

mixed