php-src/ext/json/json.stub.php
2019-08-10 16:04:30 +01:00

11 lines
299 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 {}