1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Files
archived-php-src/ext/json/json.stub.php
2019-10-05 11:10:30 +02:00

17 lines
368 B
PHP

<?php
/** @return string|false */
function json_encode($value, int $options = 0, int $depth = 512) {}
/** @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
{
public function jsonSerialize();
}