summaryrefslogtreecommitdiff
path: root/ext/json/json.stub.php
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-10-05 10:07:43 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2019-10-05 11:10:30 +0200
commit49b98b4d5cbce437d5bb93ddf71f24c5db2ff419 (patch)
treeebec8674238573ff6abf858571a388f25c0de2fe /ext/json/json.stub.php
parent505050728200e6446cc3ee81d7a2808d3575ea07 (diff)
downloadphp-git-49b98b4d5cbce437d5bb93ddf71f24c5db2ff419.tar.gz
Add arginfo stub for JsonSerializable
Diffstat (limited to 'ext/json/json.stub.php')
-rw-r--r--ext/json/json.stub.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/json/json.stub.php b/ext/json/json.stub.php
index 323cb6420d..6b00648461 100644
--- a/ext/json/json.stub.php
+++ b/ext/json/json.stub.php
@@ -9,3 +9,8 @@ function json_decode(string $json, ?bool $assoc = null, int $depth = 512, int $o
function json_last_error(): int {}
function json_last_error_msg(): string {}
+
+interface JsonSerializable
+{
+ public function jsonSerialize();
+}