php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80187 pack and unpack wrong return type
Submitted: 2020-10-05 07:52 UTC Modified: 2020-10-05 10:16 UTC
From: demonchaux dot stephane at gmail dot com Assigned: cmb (profile)
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS:
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: demonchaux dot stephane at gmail dot com
New email:
PHP Version: OS:

 

 [2020-10-05 07:52 UTC] demonchaux dot stephane at gmail dot com
Description:
------------
---
From manual page: https://php.net/function.pack
---

Both pack and unpack function can return false but phpdoc say it cant.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-10-05 10:16 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2020-10-05 10:24 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=a532689f9ff143372e7f682d4e9106faf3304204
Log: Fix #80187: pack and unpack wrong return type
 [2020-10-05 10:24 UTC] phpdocbot@php.net
-Status: Verified +Status: Closed
 [2020-10-05 17:00 UTC] phpdocbot@php.net
Automatic comment on behalf of mumumu
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=50e0460788051e7c588c69cdaf4748a11759af3a
Log: Fix #80187: pack and unpack wrong return type
 [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=0bb15faf59136dbb367c7969c98c422fd30e21cf
Log: Fix #80187: pack and unpack wrong return type
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 19:00:01 2026 UTC