1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00

Add missing constant to json-last-error

Include JSON_ERROR_NON_BACKED_ENUM in json-last-error
This commit is contained in:
John Charman
2026-01-30 13:23:06 +00:00
committed by Christian Weiske
parent 6bb90d24b2
commit 058ea1e842

View File

@@ -100,6 +100,11 @@
<entry>Malformed UTF-16 characters, possibly incorrectly encoded</entry>
<entry></entry>
</row>
<row>
<entry><constant>JSON_ERROR_NON_BACKED_ENUM</constant></entry>
<entry>Value contains a non-backed enum which cannot be serialized. Available as of PHP 8.1.0.</entry>
<entry></entry>
</row>
</tbody>
</tgroup>
</table>