E: me@sabisin.com | T: +49.151.68651209

PHP Debug to console

Simple helper to debug to the console

@param  Array, String $data
@return String

function debug_to_console( $data ) {
   if ( is_array( $data ) )
      $output = "";
   else
      $output = "";
    echo $output;
}

debug_to_console( "Test" );

Leave a Reply