dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Using Phar Archives: Introduction> <Predefined Constants
[edit] Last updated: Fri, 28 Jun 2013

view this page in



add a note add a note User Contributed Notes Using Phar Archives - [2 notes]
up
2
gabriel at bumpt dot net
4 years ago
One should be aware that the bcompiler extension does not appear to work in a phar archive.

When parsing PHP files within a Phar archive, the engine seems to not decode the b-compiled files. Rather, it outputs the bytecode data, even if the bcompiler extension is enabled and loaded, and otherwise operating properly on stand-alone b-compiled PHP files.
up
-1
hckurniawan at gmail dot com
11 months ago
It seems that the stub of PHAR file is not being executed if you include a specific file from the PHAR file. The stub is only executed if you include the PHAR file.

Stub is *NOT* called:
include __DIR__ . '/somefile.phar/TestClass.php';

Stub is called, but individual files are *NOT* loaded:
include __DIR__ . '/somefile.phar';

 
show source | credits | stats | sitemap | contact | advertising | mirror sites