original_string: public static function getMemoryUsage()
      {
          $memory = false;
          if (function_exists('xdebug_memory_usage')) {
              $memory = xdebug_memory_usage();
          } elseif (function_exists('memory_get_usage')) {
              $memory = memory_get_usage();
          }
          if ($memory === false) {
              return "Memory usage function not found.";
          }
          $usage = number_format(round($memory / 1024 / 1024, 2), 2);
          return "$usage Mb";
      }
code: public static function getMemoryUsage()
      {
          $memory = false;
          if (function_exists('xdebug_memory_usage')) {
              $memory = xdebug_memory_usage();
          } elseif (function_exists('memory_get_usage')) {
              $memory = memory_get_usage();
          }
          if ($memory === false) {
              return "Memory usage function not found.";
          }
          $usage = number_format(round($memory / 1024 / 1024, 2), 2);
          return "$usage Mb";
      }
code_tokens: public static function getMemoryUsage ( ) { $ memory = false ; if ( function_exists ( 'xdebug_memory_usage' ) ) { $ memory = xdebug_memory_usage ( ) ; } elseif ( function_exists ( 'memory_get_usage' ) ) { $ memory = memory_get_usage ( ) ; } if ( $ memory === false ) { return "Memory usage function not found." ; } $ usage = number_format ( round ( $ memory / 1024 / 1024 , 2 ) , 2 ) ; return "$usage Mb" ; }
docstring: Returns memory usage
  
  @return string
docstring_tokens: Returns memory usage