One Hat Cyber Team
Your IP :
3.133.106.206
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
globify.live
/
fns
/
curl
/
View File Name :
Encoder.php
<?php declare(strict_types=1); namespace Curl; class Encoder { /** * Encode JSON * * Wrap json_encode() to throw error when the value being encoded fails. * * @access public * @param $value * @param $options * @param $depth * * @return string * @throws \ErrorException */ public static function encodeJson() { $args = func_get_args(); $value = call_user_func_array('json_encode', $args); if (json_last_error() !== JSON_ERROR_NONE) { $error_message = 'json_encode error: ' . json_last_error_msg(); throw new \ErrorException($error_message); } return $value; } }