Fixed wxInputStream::OnSysRead thanks to johannes from pecl. This functionality should be enough for loading images from phar files as described on issue #35.