mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
5322de1ba8
Closes GH-5351
19 lines
414 B
PHP
19 lines
414 B
PHP
<?php
|
|
|
|
/** @generate-function-entries */
|
|
|
|
function json_encode($value, int $options = 0, int $depth = 512): string|false {}
|
|
|
|
/** @return mixed */
|
|
function json_decode(string $json, ?bool $assoc = null, int $depth = 512, int $options = 0) {}
|
|
|
|
function json_last_error(): int {}
|
|
|
|
function json_last_error_msg(): string {}
|
|
|
|
interface JsonSerializable
|
|
{
|
|
/** @return mixed */
|
|
public function jsonSerialize();
|
|
}
|