original_string: protected function getXsltUriFromFilename($filename)
      {
          // Windows requires an additional / after the scheme. If not provided then errno 22 (I/O Error: Invalid
          // Argument) will be raised. Thanks to @FnTmLV for finding the cause. See issue #284 for more information.
          // An exception to the above is when running from a Phar file; in this case the stream is handled as if on
          // linux; see issue #713 for more information on this exception.
          if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' && ! \Phar::running()) {
              $filename = '/' . $filename;
          }
  
          return 'file://' . $filename;
      }
code: protected function getXsltUriFromFilename($filename)
      {
          // Windows requires an additional / after the scheme. If not provided then errno 22 (I/O Error: Invalid
          // Argument) will be raised. Thanks to @FnTmLV for finding the cause. See issue #284 for more information.
          // An exception to the above is when running from a Phar file; in this case the stream is handled as if on
          // linux; see issue #713 for more information on this exception.
          if (strtoupper(substr(PHP_OS, 0, 3)) == 'WIN' && ! \Phar::running()) {
              $filename = '/' . $filename;
          }
  
          return 'file://' . $filename;
      }
code_tokens: protected function getXsltUriFromFilename ( $ filename ) { // Windows requires an additional / after the scheme. If not provided then errno 22 (I/O Error: Invalid // Argument) will be raised. Thanks to @FnTmLV for finding the cause. See issue #284 for more information. // An exception to the above is when running from a Phar file; in this case the stream is handled as if on // linux; see issue #713 for more information on this exception. if ( strtoupper ( substr ( PHP_OS , 0 , 3 ) ) == 'WIN' && ! \ Phar :: running ( ) ) { $ filename = '/' . $ filename ; } return 'file://' . $ filename ; }
docstring: Takes the filename and converts it into a correct URI for XSLTProcessor.
  
  @param string $filename
  
  @return string
docstring_tokens: Takes the filename and converts it into a correct URI for XSLTProcessor .