\Raven_Compat

Summary

Methods
Properties
Constants
gethostname()
_gethostname()
hash_hmac()
_hash_hmac()
json_encode()
_json_encode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_json_encode_lowlevel()
No private properties found
N/A

Methods

gethostname()

gethostname() 

_gethostname()

_gethostname() 

hash_hmac()

hash_hmac(  $algo,   $data,   $key,   $raw_output = false) 

Parameters

$algo
$data
$key
$raw_output

_hash_hmac()

_hash_hmac(string  $algo, string  $data, string  $key, boolean  $raw_output = false) : string

Implementation from 'KC Cloyd'.

Parameters

string $algo

Name of selected hashing algorithm

string $data

Message to be hashed

string $key

Shared secret key used for generating the HMAC variant of the message digest

boolean $raw_output

Must be binary

Returns

string

json_encode()

json_encode(mixed  $value, integer  $options, integer  $depth = 512) : string

Note that we discard the options given to be compatible with PHP < 5.3

Parameters

mixed $value
integer $options
integer $depth

Set the maximum depth

Returns

string

_json_encode()

_json_encode(mixed  $value, integer  $depth = 513) : string|false

Parameters

mixed $value
integer $depth

Set the maximum depth

Returns

string|false

_json_encode_lowlevel()

_json_encode_lowlevel(mixed  $value, integer  $depth) : string|false

Implementation taken from http://www.mike-griffiths.co.uk/php-json_encode-alternative/

Parameters

mixed $value
integer $depth

Set the maximum depth

Returns

string|false