original_string: public static function fd($object, $type = 'log')
      {
          $types = array('log', 'debug', 'info', 'warn', 'error', 'assert');
  
          if (!\in_array($type, $types, true)) {
              $type = 'log';
          }
  
          $data = json_encode($object);
  
          echo '<script type="text/javascript">console.' . $type . '(' . $data . ');</script>';
      }
code: public static function fd($object, $type = 'log')
      {
          $types = array('log', 'debug', 'info', 'warn', 'error', 'assert');
  
          if (!\in_array($type, $types, true)) {
              $type = 'log';
          }
  
          $data = json_encode($object);
  
          echo '<script type="text/javascript">console.' . $type . '(' . $data . ');</script>';
      }
code_tokens: public static function fd ( $ object , $ type = 'log' ) { $ types = array ( 'log' , 'debug' , 'info' , 'warn' , 'error' , 'assert' ) ; if ( ! \ in_array ( $ type , $ types , true ) ) { $ type = 'log' ; } $ data = json_encode ( $ object ) ; echo '<script type="text/javascript">console.' . $ type . '(' . $ data . ');</script>' ; }
docstring: Display a var dump in firebug console
  @param mixed $object Object to display
  @param string $type
docstring_tokens: Display a var dump in firebug console