<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gontora</author_name>
  <author_url>https://blog.hatena.ne.jp/gontora/</author_url>
  <blog_title>MEMO REC</blog_title>
  <blog_url>https://gontora.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミング-PHP</anon>
  </categories>
  <description>phpのsleep関数は秒単位での停止が可能ですが、 0.5秒など1秒以下の停止をしたい場合の関数をメモします。 1秒以下（マイクロ秒単位）のsleepをする場合 1秒以下(ナノ秒単位)のsleepをする場合 1秒以下（マイクロ秒単位）のsleepをする場合 usleep()：マイクロ秒（1秒/100万）単位での停止 #0.5秒停止：引数としてマイクロ秒数を渡す usleep(500000); 1秒以下(ナノ秒単位)のsleepをする場合 time_nanosleep()：秒及びナノ秒（1秒/10億）単位での停止 #0.5秒停止：第一引数に秒数、第二引数にナノ秒数を渡す time_nanosl…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgontora.hatenadiary.com%2Fentry%2F2018%2F08%2F08%2F085846&quot; title=&quot;【PHP】0.5秒など1秒以下(ミリ秒/ナノ秒)のsleep - MEMO REC&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-08 08:58:46</published>
  <title>【PHP】0.5秒など1秒以下(ミリ秒/ナノ秒)のsleep</title>
  <type>rich</type>
  <url>https://gontora.hatenadiary.com/entry/2018/08/08/085846</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
