php-src/ext/json/json.stub.php
Máté Kocsis 9fbb411e52
Review parameter names in ext/json
Closes GH-6236
2020-09-30 10:10:27 +02:00

17 lines
408 B
PHP

<?php
/** @generate-function-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();
}