original_string: public function escapeForPo(string $string): string
      {
          if ($string[0]=='"' || $string[0]=="'") {
              $string = substr($string, 1, -1);
          }
          $string = str_replace("\r\n", "\n", $string);
          $string = stripcslashes($string);
          return addcslashes($string, "\0..\37\"");
      }
code: public function escapeForPo(string $string): string
      {
          if ($string[0]=='"' || $string[0]=="'") {
              $string = substr($string, 1, -1);
          }
          $string = str_replace("\r\n", "\n", $string);
          $string = stripcslashes($string);
          return addcslashes($string, "\0..\37\"");
      }
code_tokens: public function escapeForPo ( string $ string ) : string { if ( $ string [ 0 ] == '"' || $ string [ 0 ] == "'" ) { $ string = substr ( $ string , 1 , - 1 ) ; } $ string = str_replace ( "\r\n" , "\n" , $ string ) ; $ string = stripcslashes ( $ string ) ; return addcslashes ( $ string , "\0..\37\"" ) ; }
docstring: Prepare a string from tokenized output for use in a po file. Remove any
  surrounding quotes, escape control characters and double quotes.
  
  @param string $string raw string (T_STRING) identified by php token_get_all
  
  @return string
docstring_tokens: Prepare a string from tokenized output for use in a po file . Remove any surrounding quotes escape control characters and double quotes .