* [misc] Compatible with built-in json function parameters.

This commit is contained in:
caoyanyi
2025-06-05 09:33:16 +08:00
parent 608ded830b
commit fa39ec0777
+2 -2
View File
@@ -1463,12 +1463,12 @@ if(!interface_exists('JsonSerializable'))
public function jsonSerialize();
}
function json_encode($data)
function json_encode($data, $flags = 0, $depth = 512)
{
return $data;
}
function json_decode($data)
function json_decode($data, $associative = null, $depth = 512, $flags = 0)
{
return $data;
}