original_string: protected static function _replaceConstants($value)
      {
          foreach (self::_getConstants() as $constant) {
              if (strstr($value, $constant)) {
                  $value = str_replace($constant, constant($constant), $value);
              }
          }
          return $value;
      }
code: protected static function _replaceConstants($value)
      {
          foreach (self::_getConstants() as $constant) {
              if (strstr($value, $constant)) {
                  $value = str_replace($constant, constant($constant), $value);
              }
          }
          return $value;
      }
code_tokens: protected static function _replaceConstants ( $ value ) { foreach ( self :: _getConstants ( ) as $ constant ) { if ( strstr ( $ value , $ constant ) ) { $ value = str_replace ( $ constant , constant ( $ constant ) , $ value ) ; } } return $ value ; }
docstring: Replace any constants referenced in a string with their values
  
  @param  string $value
  @return string
docstring_tokens: Replace any constants referenced in a string with their values