René's URL Explorer Experiment


Title: PHP: json_last_error - Manual

X Title: PHP: json_last_error - Manual

Open Graph Description: Returns the last error occurred

X Description: Returns the last error occurred

X: @official_php

direct link

Domain: php.net

DescriptionReturns the last error occurred
twitter:cardsummary_large_image
twitter:creator@official_php
twitter:image:srchttps://www.php.net/images/meta-image.png
Nonehttps://www.php.net/images/meta-image.png
og:imagehttps://www.php.net/images/meta-image.png

Links:

update page nowhttps://php.net/x-myracloud-5958a2bbbed300a9b9ac631223924e0b/1768236908.14
https://php.net/
Downloads https://php.net/downloads.php
Documentation https://php.net/docs.php
Get Involved https://php.net/get-involved.php
Help https://php.net/support.php
https://php.net/releases/8.5/index.php
https://php.net/lookup-form.php
https://php.net/menu.php
Getting Startedhttps://php.net/manual/en/getting-started.php
Introductionhttps://php.net/manual/en/introduction.php
A simple tutorialhttps://php.net/manual/en/tutorial.php
Language Referencehttps://php.net/manual/en/langref.php
Basic syntaxhttps://php.net/manual/en/language.basic-syntax.php
Typeshttps://php.net/manual/en/language.types.php
Variableshttps://php.net/manual/en/language.variables.php
Constantshttps://php.net/manual/en/language.constants.php
Expressionshttps://php.net/manual/en/language.expressions.php
Operatorshttps://php.net/manual/en/language.operators.php
Control Structureshttps://php.net/manual/en/language.control-structures.php
Functionshttps://php.net/manual/en/language.functions.php
Classes and Objectshttps://php.net/manual/en/language.oop5.php
Namespaceshttps://php.net/manual/en/language.namespaces.php
Enumerationshttps://php.net/manual/en/language.enumerations.php
Errorshttps://php.net/manual/en/language.errors.php
Exceptionshttps://php.net/manual/en/language.exceptions.php
Fibershttps://php.net/manual/en/language.fibers.php
Generatorshttps://php.net/manual/en/language.generators.php
Attributeshttps://php.net/manual/en/language.attributes.php
References Explainedhttps://php.net/manual/en/language.references.php
Predefined Variableshttps://php.net/manual/en/reserved.variables.php
Predefined Exceptionshttps://php.net/manual/en/reserved.exceptions.php
Predefined Interfaces and Classeshttps://php.net/manual/en/reserved.interfaces.php
Predefined Attributeshttps://php.net/manual/en/reserved.attributes.php
Context options and parametershttps://php.net/manual/en/context.php
Supported Protocols and Wrappershttps://php.net/manual/en/wrappers.php
Securityhttps://php.net/manual/en/security.php
Introductionhttps://php.net/manual/en/security.intro.php
General considerationshttps://php.net/manual/en/security.general.php
Installed as CGI binaryhttps://php.net/manual/en/security.cgi-bin.php
Installed as an Apache modulehttps://php.net/manual/en/security.apache.php
Session Securityhttps://php.net/manual/en/security.sessions.php
Filesystem Securityhttps://php.net/manual/en/security.filesystem.php
Database Securityhttps://php.net/manual/en/security.database.php
Error Reportinghttps://php.net/manual/en/security.errors.php
User Submitted Datahttps://php.net/manual/en/security.variables.php
Hiding PHPhttps://php.net/manual/en/security.hiding.php
Keeping Currenthttps://php.net/manual/en/security.current.php
Featureshttps://php.net/manual/en/features.php
HTTP authentication with PHPhttps://php.net/manual/en/features.http-auth.php
Cookieshttps://php.net/manual/en/features.cookies.php
Sessionshttps://php.net/manual/en/features.sessions.php
Handling file uploadshttps://php.net/manual/en/features.file-upload.php
Using remote fileshttps://php.net/manual/en/features.remote-files.php
Connection handlinghttps://php.net/manual/en/features.connection-handling.php
Persistent Database Connectionshttps://php.net/manual/en/features.persistent-connections.php
Command line usagehttps://php.net/manual/en/features.commandline.php
Garbage Collectionhttps://php.net/manual/en/features.gc.php
DTrace Dynamic Tracinghttps://php.net/manual/en/features.dtrace.php
Function Referencehttps://php.net/manual/en/funcref.php
Affecting PHP's Behaviourhttps://php.net/manual/en/refs.basic.php.php
Audio Formats Manipulationhttps://php.net/manual/en/refs.utilspec.audio.php
Authentication Serviceshttps://php.net/manual/en/refs.remote.auth.php
Command Line Specific Extensionshttps://php.net/manual/en/refs.utilspec.cmdline.php
Compression and Archive Extensionshttps://php.net/manual/en/refs.compression.php
Cryptography Extensionshttps://php.net/manual/en/refs.crypto.php
Database Extensionshttps://php.net/manual/en/refs.database.php
Date and Time Related Extensionshttps://php.net/manual/en/refs.calendar.php
File System Related Extensionshttps://php.net/manual/en/refs.fileprocess.file.php
Human Language and Character Encoding Supporthttps://php.net/manual/en/refs.international.php
Image Processing and Generationhttps://php.net/manual/en/refs.utilspec.image.php
Mail Related Extensionshttps://php.net/manual/en/refs.remote.mail.php
Mathematical Extensionshttps://php.net/manual/en/refs.math.php
Non-Text MIME Outputhttps://php.net/manual/en/refs.utilspec.nontext.php
Process Control Extensionshttps://php.net/manual/en/refs.fileprocess.process.php
Other Basic Extensionshttps://php.net/manual/en/refs.basic.other.php
Other Serviceshttps://php.net/manual/en/refs.remote.other.php
Search Engine Extensionshttps://php.net/manual/en/refs.search.php
Server Specific Extensionshttps://php.net/manual/en/refs.utilspec.server.php
Session Extensionshttps://php.net/manual/en/refs.basic.session.php
Text Processinghttps://php.net/manual/en/refs.basic.text.php
Variable and Type Related Extensionshttps://php.net/manual/en/refs.basic.vartype.php
Web Serviceshttps://php.net/manual/en/refs.webservice.php
Windows Only Extensionshttps://php.net/manual/en/refs.utilspec.windows.php
XML Manipulationhttps://php.net/manual/en/refs.xml.php
GUI Extensionshttps://php.net/manual/en/refs.ui.php
json_last_error_msg » https://php.net/function.json-last-error-msg.php
« json_encode https://php.net/function.json-encode.php
PHP Manualhttps://php.net/index.php
Function Referencehttps://php.net/funcref.php
Other Basic Extensionshttps://php.net/refs.basic.other.php
JSONhttps://php.net/book.json.php
JSON Functionshttps://php.net/ref.json.php
inthttps://php.net/language.types.integer.php
JSON_THROW_ON_ERRORhttps://php.net/json.constants.php#constant.json-throw-on-error
JSON_ERROR_NONEhttps://php.net/json.constants.php#constant.json-error-none
JSON_ERROR_DEPTHhttps://php.net/json.constants.php#constant.json-error-depth
JSON_ERROR_STATE_MISMATCHhttps://php.net/json.constants.php#constant.json-error-state-mismatch
JSON_ERROR_CTRL_CHARhttps://php.net/json.constants.php#constant.json-error-ctrl-char
JSON_ERROR_SYNTAXhttps://php.net/json.constants.php#constant.json-error-syntax
JSON_ERROR_UTF8https://php.net/json.constants.php#constant.json-error-utf8
JSON_ERROR_RECURSIONhttps://php.net/json.constants.php#constant.json-error-recursion
JSON_ERROR_INF_OR_NANhttps://php.net/json.constants.php#constant.json-error-inf-or-nan
NANhttps://php.net/language.types.float.php#language.types.float.nan
NANhttps://php.net/math.constants.php#constant.nan
INFhttps://php.net/function.is-infinite.php
INFhttps://php.net/math.constants.php#constant.inf
JSON_ERROR_UNSUPPORTED_TYPEhttps://php.net/json.constants.php#constant.json-error-unsupported-type
JSON_ERROR_INVALID_PROPERTY_NAMEhttps://php.net/json.constants.php#constant.json-error-invalid-property-name
JSON_ERROR_UTF16https://php.net/json.constants.php#constant.json-error-utf16
json_encode()https://php.net/function.json-encode.php
JSON_THROW_ON_ERRORhttps://php.net/json.constants.php#constant.json-throw-on-error
json_last_error_msg()https://php.net/function.json-last-error-msg.php
json_decode()https://php.net/function.json-decode.php
json_encode()https://php.net/function.json-encode.php
Learn How To Improve This Pagehttps://github.com/php/doc-base/blob/master/README.md
Submit a Pull Requesthttps://github.com/php/doc-en/blob/master/reference/json/functions/json-last-error.xml
Report a Bughttps://github.com/php/doc-en/issues/new?body=From%20manual%20page:%20https:%2F%2Fphp.net%2Ffunction.json-last-error%0A%0A---
+add a notehttps://php.net/manual/add-note.php?sect=function.json-last-error&repo=en&redirect=https://www.php.net/manual/en/function.json-last-error.php
uphttps://php.net/manual/vote-note.php?id=106644&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=106644&page=function.json-last-error&vote=down
jimmetry at gmail dot comhttps://php.net/function.json-last-error.php#106644
https://php.net/function.json-last-error.php#106644
uphttps://php.net/manual/vote-note.php?id=115980&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=115980&page=function.json-last-error&vote=down
praveenscience at gmail dot comhttps://php.net/function.json-last-error.php#115980
https://php.net/function.json-last-error.php#115980
uphttps://php.net/manual/vote-note.php?id=118165&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=118165&page=function.json-last-error&vote=down
hemono at gmail dot comhttps://php.net/function.json-last-error.php#118165
https://php.net/function.json-last-error.php#118165
uphttps://php.net/manual/vote-note.php?id=121233&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=121233&page=function.json-last-error&vote=down
msxcms at bmforum dot comhttps://php.net/function.json-last-error.php#121233
https://php.net/function.json-last-error.php#121233
uphttps://php.net/manual/vote-note.php?id=119958&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=119958&page=function.json-last-error&vote=down
George Dimitriadishttps://php.net/function.json-last-error.php#119958
https://php.net/function.json-last-error.php#119958
uphttps://php.net/manual/vote-note.php?id=114264&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=114264&page=function.json-last-error&vote=down
williamprogphp at yahoo dot com dot brhttps://php.net/function.json-last-error.php#114264
https://php.net/function.json-last-error.php#114264
uphttps://php.net/manual/vote-note.php?id=129811&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=129811&page=function.json-last-error&vote=down
greaties at ghvernuft dot nlhttps://php.net/function.json-last-error.php#129811
https://php.net/function.json-last-error.php#129811
uphttps://php.net/manual/vote-note.php?id=122551&page=function.json-last-error&vote=up
downhttps://php.net/manual/vote-note.php?id=122551&page=function.json-last-error&vote=down
wedge at atlanteans dot nethttps://php.net/function.json-last-error.php#122551
https://php.net/function.json-last-error.php#122551
+add a notehttps://php.net/manual/add-note.php?sect=function.json-last-error&repo=en&redirect=https://www.php.net/manual/en/function.json-last-error.php
JSON Functionshttps://php.net/ref.json.php
json_​decodehttps://php.net/function.json-decode.php
json_​encodehttps://php.net/function.json-encode.php
json_​last_​errorhttps://php.net/function.json-last-error.php
json_​last_​error_​msghttps://php.net/function.json-last-error-msg.php
json_​validatehttps://php.net/function.json-validate.php
Copyright © 2001-2026 The PHP Documentation Grouphttps://php.net/manual/en/copyright.php
My PHP.nethttps://php.net/my.php
Contacthttps://php.net/contact.php
Other PHP.net siteshttps://php.net/sites.php
Privacy policyhttps://php.net/privacy.php
javascript:;

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.