mirror of
https://github.com/php/doc-es.git
synced 2026-04-25 08:08:27 +02:00
8b87a9ce51
- Remove extra refsect1 sections not present in doc-en - Fix methodsynopsis signatures (parameter names, types, void tags) - Add missing refsynopsisdiv deprecation warnings - Fix section ordering to match doc-en
69 lines
1.9 KiB
XML
69 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 811ad2ca065f6f5b92a911bba9d736e744e4682c Maintainer: PhilDaiguille Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
|
|
<refentry xml:id="function.json-last-error-msg" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>json_last_error_msg</refname>
|
|
<refpurpose>Devuelve el mensaje del último error ocurrido durante la llamada a la función json_validate(), json_encode() o json_decode()</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>json_last_error_msg</methodname>
|
|
<void/>
|
|
</methodsynopsis>
|
|
<para>
|
|
Devuelve el string de error del último llamado a <function>json_validate</function>, <function>json_encode</function> o <function>json_decode</function>,
|
|
que no haya especificado <constant>JSON_THROW_ON_ERROR</constant>.
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
&no.function.parameters;
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Devuelve el mensaje de error en caso de éxito, o
|
|
<literal>"No error"</literal> si no ha ocurrido ningún error,
|
|
&return.falseforfailure;.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>json_last_error</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|