We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
json_encode
1 parent 881b821 commit 5d01f7eCopy full SHA for 5d01f7e
docs/component/json.md
@@ -13,7 +13,7 @@
13
#### `Functions`
14
15
- [decode](./../../src/Psl/Json/decode.php#L22)
16
-- [encode](./../../src/Psl/Json/encode.php#L25)
+- [encode](./../../src/Psl/Json/encode.php#L27)
17
- [typed](./../../src/Psl/Json/typed.php#L20)
18
19
src/Psl/Json/encode.php
@@ -21,6 +21,8 @@
21
* @pure
22
*
23
* @throws Exception\EncodeException If an error occurred.
24
+ *
25
+ * @return non-empty-string
26
*/
27
function encode(mixed $value, bool $pretty = false, int $flags = 0): string
28
{
0 commit comments