svn: /phpdoc/ja/trunk/reference/zip/ziparchive/ setmtimeindex.xml

[email protected] (Yoshinari Takaoka) Fri, 18 Dec 2020 09:56:07 +0000
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Fri, 18 Dec 2020 09:56:07 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=352120

Log:
Fix #80526: Typo in the example

Closes GH-280.

Bug: https://bugs.php.net/80526 (Closed) Typo in the example
      
Changed paths:
    U   phpdoc/ja/trunk/reference/zip/ziparchive/setmtimeindex.xml

Modified: phpdoc/ja/trunk/reference/zip/ziparchive/setmtimeindex.xml
===================================================================
--- phpdoc/ja/trunk/reference/zip/ziparchive/setmtimeindex.xml	2020-12-18 06:32:34 UTC (rev 352119)
+++ phpdoc/ja/trunk/reference/zip/ziparchive/setmtimeindex.xml	2020-12-18 09:56:07 UTC (rev 352120)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350084 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 352117 Maintainer: mumumu Status: ready -->
 <!-- Credits: mumumu -->

 <refentry xml:id="ziparchive.setmtimeindex" xmlns="http://docbook.org/ns/docbook">
@@ -73,7 +73,7 @@
 $zip = new ZipArchive();
 if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) {
     $zip->addFile('text.txt');
-    $zip->setMtimIndex(0, mktime(0,0,0,12,25,2019));
+    $zip->setMtimeIndex(0, mktime(0,0,0,12,25,2019));
     $zip->close();
     echo "Ok\n";
 } else {