HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/php/83/src/ext/json/json.stub.php
<?php

/** @generate-class-entries */

/**
 * @var int
 * @cvalue PHP_JSON_HEX_TAG
 */
const JSON_HEX_TAG = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_HEX_AMP
 */
const JSON_HEX_AMP = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_HEX_APOS
 */
const JSON_HEX_APOS = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_HEX_QUOT
 */
const JSON_HEX_QUOT = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_FORCE_OBJECT
 */
const JSON_FORCE_OBJECT = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_NUMERIC_CHECK
 */
const JSON_NUMERIC_CHECK = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_UNESCAPED_SLASHES
 */
const JSON_UNESCAPED_SLASHES = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_PRETTY_PRINT
 */
const JSON_PRETTY_PRINT = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_UNESCAPED_UNICODE
 */
const JSON_UNESCAPED_UNICODE = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_PARTIAL_OUTPUT_ON_ERROR
 */
const JSON_PARTIAL_OUTPUT_ON_ERROR = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_PRESERVE_ZERO_FRACTION
 */
const JSON_PRESERVE_ZERO_FRACTION = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_UNESCAPED_LINE_TERMINATORS
 */
const JSON_UNESCAPED_LINE_TERMINATORS = UNKNOWN;

/**
 * @var int
 * @cvalue PHP_JSON_OBJECT_AS_ARRAY
 */
const JSON_OBJECT_AS_ARRAY = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_BIGINT_AS_STRING
 */
const JSON_BIGINT_AS_STRING = UNKNOWN;

/**
 * @var int
 * @cvalue PHP_JSON_INVALID_UTF8_IGNORE
 */
const JSON_INVALID_UTF8_IGNORE = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_INVALID_UTF8_SUBSTITUTE
 */
const JSON_INVALID_UTF8_SUBSTITUTE = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_THROW_ON_ERROR
 */
const JSON_THROW_ON_ERROR = UNKNOWN;

/**
 * @var int
 * @cvalue PHP_JSON_ERROR_NONE
 */
const JSON_ERROR_NONE = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_DEPTH
 */
const JSON_ERROR_DEPTH = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_STATE_MISMATCH
 */
const JSON_ERROR_STATE_MISMATCH = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_CTRL_CHAR
 */
const JSON_ERROR_CTRL_CHAR = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_SYNTAX
 */
const JSON_ERROR_SYNTAX = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_UTF8
 */
const JSON_ERROR_UTF8 = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_RECURSION
 */
const JSON_ERROR_RECURSION = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_INF_OR_NAN
 */
const JSON_ERROR_INF_OR_NAN = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_UNSUPPORTED_TYPE
 */
const JSON_ERROR_UNSUPPORTED_TYPE = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_INVALID_PROPERTY_NAME
 */
const JSON_ERROR_INVALID_PROPERTY_NAME = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_UTF16
 */
const JSON_ERROR_UTF16 = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_JSON_ERROR_NON_BACKED_ENUM
 */
const JSON_ERROR_NON_BACKED_ENUM = UNKNOWN;

/** @refcount 1 */
function json_encode(mixed $value, int $flags = 0, int $depth = 512): string|false {}

function json_decode(string $json, ?bool $associative = null, int $depth = 512, int $flags = 0): mixed {}

function json_validate(string $json, int $depth = 512, int $flags = 0): bool {}

function json_last_error(): int {}

/** @refcount 1 */
function json_last_error_msg(): string {}

interface JsonSerializable
{
    /** @tentative-return-type */
    public function jsonSerialize(): mixed;
}

class JsonException extends Exception
{
}