php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58310 Phar does not compile with PHP 5.2.0
Submitted: 2008-08-12 14:01 UTC Modified: 2008-08-27 14:38 UTC
From: soenke at jimdo dot com Assigned:
Status: Closed Package: phar (PECL)
PHP Version: 5.2.0 OS: Debian Etch
Private report: No CVE-ID: None
 [2008-08-12 14:01 UTC] soenke at jimdo dot com
Description:
------------
The manual [1] states that phar can be compiled against 5.2.0.

I did not get it managed because of missing include/ext/spl/ directory.

Please refer to the debian bug reported I created earlier:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494754

Maybe it's only a documentation bug :)

Thanks!

 [1] http://de.php.net/manual/en/phar.setup.php


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-12 14:51 UTC] steph dot fox at virgin dot net
Hi,

I really don't think we should be supporting anything pre-5.2.1 at this point anyway, given that 5.2.0 is the last PHP version incapable of supporting PHP 6 code. Thanks to that, the 'run anywhere' code in the default Phar won't run under 5.2.0 but will run under 5.2.1. So as far as that goes, this is indeed a documentation bug.

Are you in a position to confirm whether there is a problem compiling Phar against PHP 5.2.1?

Thanks!
 [2008-08-13 18:23 UTC] soenke at jimdo dot com
Hi,

I'm sorry I only tested it with 5.2.0 as I initially thought it's a debian bug. I would guess it works since the version in which include/ext/spl has been added.
 [2008-08-27 14:38 UTC] steph dot fox at virgin dot net
To be frank, I would call omitting ext/spl from a PHP distribution a bug, but it's not impossible to do that with 5.2.0. SPL has been a core extension since before PHP 5.0.0.

Anyway - I'm closing this bug report now, since it doesn't appear to have anything to do with Phar at all!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 18:01:28 2024 UTC