Req #53639 [Opn->Asn]: command line PHAR
Edit report at http://bugs.php.net/bug.php?id=53639&edit=1
ID: 53639
Updated by: johannes@php.net
Reported by: bugzilla33 at gmail dot com
Summary: command line PHAR
-Status: Open
+Status: Assigned
Type: Feature/Change Request
-Package: PHAR related
+Package: CGI related
Operating System: win32
PHP Version: 5.3.4
-Assigned To:
+Assigned To: johannes
Block user comment: N
Private report: N
New Comment:
Might be interesting for CLI to support streams, not only phar.
As a work-around you should beable to do php -r 'include("phar://...");'
Previous Comments:
------------------------------------------------------------------------
[2011-01-02 11:58:30] bugzilla33 at gmail dot com
Description:
------------
PHARs do not work via command line
See http://docs.php.net/manual/en/phar.using.intro.php
No posted anything here on how to run script in PHAR from the command
line.
Test script:
---------------
Run cmd and go to PHP5 folder and try to run any PHAR file:
c:\PHP5>php.exe "phar://test.phar/script.php"
Could not open input file phar://test.phar/script.php
or may:
c:\PHP5>php.exe "test.phar/script.php"
Could not open input file test.phar/script.php
Expected result:
----------------
PHARs works via command line
Actual result:
--------------
PHARs do not work via command line
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53639&edit=1
Thread (4 messages)