svn: /phpdoc/ja/trunk/reference/var/functions/ serialize.xml

From: Date: Wed, 02 Dec 2020 00:25:58 +0000
Subject: svn: /phpdoc/ja/trunk/reference/var/functions/ serialize.xml
Groups: php.doc.ja 
Request: Send a blank email to doc-ja+get-5886@lists.php.net to get a copy of this message
mumumu Wed, 02 Dec 2020 00:25:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351837 Log: Fix #80453: Documentation example error Actually, this example should better be rewritten to something simpler or at least something relevant. However, the unserialize() page has the counter example, so we postpone that, and apply an odd fix instead. Bug: https://bugs.php.net/80453 (Closed) Documentation example error Changed paths: U phpdoc/ja/trunk/reference/var/functions/serialize.xml Modified: phpdoc/ja/trunk/reference/var/functions/serialize.xml =================================================================== --- phpdoc/ja/trunk/reference/var/functions/serialize.xml 2020-12-02 00:22:57 UTC (rev 351836) +++ phpdoc/ja/trunk/reference/var/functions/serialize.xml 2020-12-02 00:25:58 UTC (rev 351837) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 349590 Maintainer: hirokawa Status: ready --> +<!-- EN-Revision: 351823 Maintainer: hirokawa Status: ready --> <!-- CREDITS: takagi,mumumu --> <refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -96,7 +96,7 @@ if (!odbc_execute($stmt, $sqldata)) { $stmt = odbc_prepare($conn, "INSERT INTO sessions (id, data) VALUES(?, ?)"); - if (!odbc_execute($stmt, $sqldata)) { + if (!odbc_execute($stmt, array_reverse($sqldata))) { /* 何か問題があったようです.. */ } }

« previous php.doc.ja (#5886) next »