PHP mod_korean extension Reference
  • Introduction
  • Installation
  • APIs
    • Check Functions
      • check_filename_lib
      • check_htmltbale_lib
      • check_uristr_lib
      • get_microtime_lib
      • human_fsize_lib
      • is_email_lib
      • is_hangul_lib
      • is_iis_lib
      • is_url_lib
      • is_windows_lib
      • buildno_lib
      • version_lib
    • Filesystem Functions
      • filelist_lib
      • getfile_lib
      • getfiletype_lib
      • putfile_lib
      • readfile_lib
      • pcregrep_lib
    • HTML Functions
      • agentinfo_lib
      • autolink_lib
      • get_hostname_lib
      • movepage_lib
      • perror_lib
      • pnotice_lib
    • Charset Functions
      • ncrencode_lib
      • ncrdecode_lib
      • uniencode_lib
      • unidecode_lib
      • utf8encode_lib
      • utf8decode_lib
      • substr_lib
      • postposition_lib
    • Image Functions
      • imgresize_lib
    • Mail Functions
      • mailsource_lib
      • sockmail_lib
Powered by GitBook
On this page
  • Proto type
  • Description
  • Arguments
  • Example
  • See also

Was this helpful?

  1. APIs
  2. Check Functions

get_microtime_lib

Previouscheck_uristr_libNexthuman_fsize_lib

Last updated 5 years ago

Was this helpful?

Proto type

int get_microtime_lib (int start, int end)

Description

php 의 microtime 을 이용하여 얻어지는 값을 비교하여 경과 시간을 밀리초로 구하는 함수

Arguments

  • (int) start - 시작 micro seconds. PHP function으로 구할 수 있다.

  • (int) end - 종료 micro senconds.

Example

<?php
$time1 = microtime();

blah_blah ();

$time2 = microtime();

$time = get_microtime_lib ($time1, $time2);
# print 0.01 sec
echo "$time sec";
?>

See also

None

microtime