php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80526 Typo in the example
Submitted: 2020-12-17 12:11 UTC Modified: 2020-12-17 13:13 UTC
From: mark at swissknife dot nl Assigned: cmb (profile)
Status: Closed Package: Zip Related
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark at swissknife dot nl
New email:
PHP Version: OS:

 

 [2020-12-17 12:11 UTC] mark at swissknife dot nl
Description:
------------
---
From manual page: https://php.net/ziparchive.setmtimeindex
---
example nr. 1 has the following typo
"$zip->setMtimIndex(0, mktime(0,0,0,12,25,2019));"
this should instead be "setMtimeIndex"

the same problem occurs in https://www.php.net/manual/en/ziparchive.setmtimename.php


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-12-17 13:13 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: Documentation problem +Package: Zip Related -Assigned To: +Assigned To: cmb
 [2020-12-17 13:18 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=352117
Log: Fix #80526: Typo in the example

Closes GH-280.
 [2020-12-17 13:20 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=d9466fcf930c81ac1573effd5dcba1281904178d
Log: Fix #80526: Typo in the example
 [2020-12-17 13:20 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-12-18 09:56 UTC] mumumu@php.net
Automatic comment from SVN on behalf of mumumu
Revision: http://svn.php.net/viewvc/?view=revision&revision=352120
Log: Fix #80526: Typo in the example

Closes GH-280.
 [2020-12-18 10:00 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=bd45b12921469b65ee8b3a0a4c2c3b09d7a5edbf
Log: Fix #80526: Typo in the example
 [2020-12-30 11:58 UTC] nikic@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=f738e52a2faae3822c74c403aa28c3c5b23109a4
Log: Fix #80526: Typo in the example
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 06:01:32 2025 UTC