original_string: private function checkType($var)
      {
          switch (gettype($var)) {
              case "resource":
                  $this->varIsResource($var);
                  break;
              case "object":
                  $this->varIsObject($var);
                  break;
              case "array":
                  $this->varIsArray($var);
                  break;
              case "NULL":
                  $this->varIsNULL();
                  break;
              case "boolean":
                  $this->varIsBoolean($var);
                  break;
              default:
                  $var = ($var == "") ? "[empty string]" : $var;
                  echo "<table cellspacing=0><tr>\n<td>" . $var . "</td>\n</tr>\n</table>\n";
                  break;
          }
      }
code: private function checkType($var)
      {
          switch (gettype($var)) {
              case "resource":
                  $this->varIsResource($var);
                  break;
              case "object":
                  $this->varIsObject($var);
                  break;
              case "array":
                  $this->varIsArray($var);
                  break;
              case "NULL":
                  $this->varIsNULL();
                  break;
              case "boolean":
                  $this->varIsBoolean($var);
                  break;
              default:
                  $var = ($var == "") ? "[empty string]" : $var;
                  echo "<table cellspacing=0><tr>\n<td>" . $var . "</td>\n</tr>\n</table>\n";
                  break;
          }
      }
code_tokens: private function checkType ( $ var ) { switch ( gettype ( $ var ) ) { case "resource" : $ this -> varIsResource ( $ var ) ; break ; case "object" : $ this -> varIsObject ( $ var ) ; break ; case "array" : $ this -> varIsArray ( $ var ) ; break ; case "NULL" : $ this -> varIsNULL ( ) ; break ; case "boolean" : $ this -> varIsBoolean ( $ var ) ; break ; default : $ var = ( $ var == "" ) ? "[empty string]" : $ var ; echo "<table cellspacing=0><tr>\n<td>" . $ var . "</td>\n</tr>\n</table>\n" ; break ; } }
docstring: check variable type
docstring_tokens: check variable type