downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Utiliser les archives Phar : Introduction> <Constantes pré-définies
[edit] Last updated: Fri, 24 May 2013

view this page in



add a note add a note User Contributed Notes Utiliser les archives Phar - [2 notes]
up
1
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
10 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 | sitemap | contact | advertising | mirror sites