original_string: public static function getIcuVersion()
      {
          if (false === self::$icuVersion) {
              if (!self::isExtensionLoaded()) {
                  self::$icuVersion = self::getIcuStubVersion();
              } elseif (\defined('INTL_ICU_VERSION')) {
                  self::$icuVersion = INTL_ICU_VERSION;
              } else {
                  try {
                      $reflector = new \ReflectionExtension('intl');
                      ob_start();
                      $reflector->info();
                      $output = strip_tags(ob_get_clean());
                      preg_match('/^ICU version (?:=>)?(.*)$/m', $output, $matches);
  
                      self::$icuVersion = trim($matches[1]);
                  } catch (\ReflectionException $e) {
                      self::$icuVersion = null;
                  }
              }
          }
  
          return self::$icuVersion;
      }
code: public static function getIcuVersion()
      {
          if (false === self::$icuVersion) {
              if (!self::isExtensionLoaded()) {
                  self::$icuVersion = self::getIcuStubVersion();
              } elseif (\defined('INTL_ICU_VERSION')) {
                  self::$icuVersion = INTL_ICU_VERSION;
              } else {
                  try {
                      $reflector = new \ReflectionExtension('intl');
                      ob_start();
                      $reflector->info();
                      $output = strip_tags(ob_get_clean());
                      preg_match('/^ICU version (?:=>)?(.*)$/m', $output, $matches);
  
                      self::$icuVersion = trim($matches[1]);
                  } catch (\ReflectionException $e) {
                      self::$icuVersion = null;
                  }
              }
          }
  
          return self::$icuVersion;
      }
code_tokens: public static function getIcuVersion ( ) { if ( false === self :: $ icuVersion ) { if ( ! self :: isExtensionLoaded ( ) ) { self :: $ icuVersion = self :: getIcuStubVersion ( ) ; } elseif ( \ defined ( 'INTL_ICU_VERSION' ) ) { self :: $ icuVersion = INTL_ICU_VERSION ; } else { try { $ reflector = new \ ReflectionExtension ( 'intl' ) ; ob_start ( ) ; $ reflector -> info ( ) ; $ output = strip_tags ( ob_get_clean ( ) ) ; preg_match ( '/^ICU version (?:=>)?(.*)$/m' , $ output , $ matches ) ; self :: $ icuVersion = trim ( $ matches [ 1 ] ) ; } catch ( \ ReflectionException $ e ) { self :: $ icuVersion = null ; } } } return self :: $ icuVersion ; }
docstring: Returns the version of the installed ICU library.
  
  @return string|null The ICU version or NULL if it could not be determined
docstring_tokens: Returns the version of the installed ICU library .