json_encode

Returns the JSON representation of a value. Used for serializing PHP data structures to JSON format.

Parameters

main.php
PHP 8.4 | UTF-8
Ready
Line: 1, Column: 1

Return Values

Notes

Changelog

Related Functions

Decodes a JSON string into a PHP variable (object or array).

jsondecodeapi