private function decodeCheckVersion($dataValid, $assocValid, $depthValid, $optionsValid)
    {
        //In 5.4 add options param
        if(version_compare(PHP_VERSION, '5.4.0') >= 0)
        {
            return json_decode($dataValid, $assocValid, $depthValid, $optionsValid);
        }

        return json_decode($dataValid, $assocValid, $depthValid);
    }