mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
24 lines
482 B
PHP
24 lines
482 B
PHP
<?php
|
|
|
|
/**
|
|
* @generate-function-entries
|
|
* @generate-class-entries
|
|
*/
|
|
|
|
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_last_error(): int {}
|
|
|
|
function json_last_error_msg(): string {}
|
|
|
|
interface JsonSerializable
|
|
{
|
|
/** @return mixed */
|
|
public function jsonSerialize();
|
|
}
|
|
|
|
class JsonException extends Exception
|
|
{
|
|
}
|