original_string: public static function getValueForName($name)
      {
          foreach (self::getConstants() as $constant) {
              if ($constant['name'] === $name) {
                  return $constant['value'];
              }
          }
          return false;
      }
code: public static function getValueForName($name)
      {
          foreach (self::getConstants() as $constant) {
              if ($constant['name'] === $name) {
                  return $constant['value'];
              }
          }
          return false;
      }
code_tokens: public static function getValueForName ( $ name ) { foreach ( self :: getConstants ( ) as $ constant ) { if ( $ constant [ 'name' ] === $ name ) { return $ constant [ 'value' ] ; } } return false ; }
docstring: Get the descriptive value for the given name.
  
  @param int|string $name The name to get the value of a constant for.
  @return bool|string
docstring_tokens: Get the descriptive value for the given name .