Only the "file://" and "phar://" streams are supported by opcache. Integrating user defined streams is not realizable that way.