Bug #78915 [Opn->Fbk]: PHP 7.3.12-1

From: Date: Thu, 05 Dec 2019 14:36:03 +0000
Subject: Bug #78915 [Opn->Fbk]: PHP 7.3.12-1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-224074@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78915&edit=1

 ID:                 78915
 Updated by:         cmb@php.net
 Reported by:        arava dot box at gmail dot com
 Summary:            PHP 7.3.12-1
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Zip Related
 Operating System:   ubuntu 18.04
 PHP Version:        7.3.12
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

What's the bug you are reporting?  Is it that zip:// streams are
not seekable?  Or is it that this is not documented?


Previous Comments:
------------------------------------------------------------------------
[2019-12-05 13:54:11] arava dot box at gmail dot com

Description:
------------
---
From manual page: https://php.net/wrappers.compression
---


Test script:
---------------
$sourceHandle = new SplFileObject('zip://file.zip#content.txt', 'r');
//...
$sourceHandle->seek(PHP_INT_MAX);
$sourceHandle->rewind();


// SplFileObject::seek(): stream does not support seeking



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=78915&edit=1


Thread (7 messages)

« previous php.bugs (#224074) next »