<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>potatocco</author_name>
  <author_url>https://blog.hatena.ne.jp/potatocco/</author_url>
  <blog_title>はかなしごと［六畳半神話］</blog_title>
  <blog_url>https://potatocco.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>php</anon>
    <anon>初心者</anon>
    <anon>set_time_limit</anon>
    <anon>不具合</anon>
    <anon>エラー</anon>
    <anon>FatalError</anon>
  </categories>
  <description>こんにちは。 また詰まったのでメモ。 解釈はあっていないかもなので参考程度に。 エラーというか不具合？の内容 TwitterAPIを使って検索するときに、検索に時間がかかる場合を回避するため set_time_limit(50); と指定して、FatalErrorが出たらリダイレクトする、という処理を書いています。ローカルの開発環境ではリダイレクトがうまくいくのですが、 レンタルサーバーの環境ではうまくいかず、けっこうはまっていました。 不具合の理由 set_time_limit() は、Windows環境なら想像通りの挙動をしてくれるが、 それ以外だと注意が必要？ということでした。 私のロー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotatocco.hateblo.jp%2Fentry%2F2022%2F05%2F18%2F142116&quot; title=&quot;［PHP］ PHPのset_time_limit() #備忘録 - はかなしごと［六畳半神話］&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>2022-05-18 14:21:16</published>
  <title>［PHP］ PHPのset_time_limit() #備忘録</title>
  <type>rich</type>
  <url>https://potatocco.hateblo.jp/entry/2022/05/18/142116</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
