X7ROOT File Manager
Current Path:
/home/gfecatvj/4abetter.us/wp-content/plugins/backuply/lib/Curl
home
/
gfecatvj
/
4abetter.us
/
wp-content
/
plugins
/
backuply
/
lib
/
Curl
/
📁
..
📄
ArrayUtil.php
(3.54 KB)
📄
CaseInsensitiveArray.php
(5.55 KB)
📄
Curl.php
(49.86 KB)
📄
Decoder.php
(897 B)
📄
Encoder.php
(681 B)
📄
MultiCurl.php
(29.41 KB)
📄
StringUtil.php
(1.63 KB)
📄
Url.php
(11.39 KB)
Editing: Decoder.php
<?php namespace Curl; class Decoder { /** * Decode JSON * * @access public * @param $json * @param $assoc * @param $depth * @param $options */ public static function decodeJson() { $args = func_get_args(); $response = call_user_func_array('json_decode', $args); if ($response === null) { $response = $args['0']; } return $response; } /** * Decode XML * * @access public * @param $data * @param $class_name * @param $options * @param $ns * @param $is_prefix */ public static function decodeXml() { $args = func_get_args(); $response = @call_user_func_array('simplexml_load_string', $args); if ($response === false) { $response = $args['0']; } return $response; } }
Upload File
Create Folder