original_string: public static function getCurrentArch(): string
      {
          $arch = php_uname('m');
  
          if ($arch === "x86_64") {
              $arch = "amd64";
          } elseif ($arch === "i386") {
              $arch = "386";
          } else {
              // TODO: Whats here?
              printf('ERROR: Unexpected, please contact the maintainer or provide a pull request :)%s', PHP_EOL);
              exit(1);
          }
  
          return $arch;
      }
code: public static function getCurrentArch(): string
      {
          $arch = php_uname('m');
  
          if ($arch === "x86_64") {
              $arch = "amd64";
          } elseif ($arch === "i386") {
              $arch = "386";
          } else {
              // TODO: Whats here?
              printf('ERROR: Unexpected, please contact the maintainer or provide a pull request :)%s', PHP_EOL);
              exit(1);
          }
  
          return $arch;
      }
code_tokens: public static function getCurrentArch ( ) : string { $ arch = php_uname ( 'm' ) ; if ( $ arch === "x86_64" ) { $ arch = "amd64" ; } elseif ( $ arch === "i386" ) { $ arch = "386" ; } else { // TODO: Whats here? printf ( 'ERROR: Unexpected, please contact the maintainer or provide a pull request :)%s' , PHP_EOL ) ; exit ( 1 ) ; } return $ arch ; }
docstring: Returns the architecture of the current machine
docstring_tokens: Returns the architecture of the current machine