> -----Original Message----- > From: Gustavo Lopes [mailto:glo...@nebm.ist.utl.pt] [...] > For instance, see > > http://lxr.php.net/opengrok/xref/PHP_TRUNK/ext/phar/phar.c#3364 > > which has: > > file_handle->handle.stream.handle = phar; > > and *phar is of type phar_archive_data, which is not a php_stream (or an > augmentation thereof).
Thank you, Gustavo! Is Dmitry on the internals mailing list? I was talking with Pierre yesterday, and there was some question about whether there was some distinction between streams that were created as a result of zend_compile_file versus just those files that were called by calling zend_stream_open_function. Does the phar extension make any distinction between when streams are opened? Or, is it by virtue of only handling files that only end with extensions that aren't compiled that it's skipping the code in php_cgi!main()? Thx! --E.