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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 11:01:32 2024 UTC