<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moriyoshi</author_name>
  <author_url>https://blog.hatena.ne.jp/moriyoshi/</author_url>
  <blog_title>moriyoshiの日記</blog_title>
  <blog_url>https://moriyoshi.hatenablog.com/</blog_url>
  <categories>
    <anon>php</anon>
    <anon>weirdness</anon>
  </categories>
  <description>「PHPのsort関数は相当おかしい」のどこがオヤジギャグなのか一目で気づかなかった人は、PHPを今後使わないことを検討してください (俺含む)。さて、なんか「なんでこれが『SORT_REGULAR』なの?」「The language developed only by retards」とか「これがデフォルトってPHPおかしくね?」とかいう意見が散見されますが…。そもそも組み込みの比較演算子で推移律が成り立ってないのだし、SORT_REGULARはその挙動に忠実に従ってるだけ。そもそも、こんな挙動みんな知ってて使ってるでしょ日常的に?だからsort関数がおかしいわけじゃないよ! PHPがおかし…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmoriyoshi.hatenablog.com%2Fentry%2F20090228%2F1235805875&quot; title=&quot;SORT_REGULARはまあREGULARであってる - moriyoshiの日記&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>2009-02-28 16:24:35</published>
  <title>SORT_REGULARはまあREGULARであってる</title>
  <type>rich</type>
  <url>https://moriyoshi.hatenablog.com/entry/20090228/1235805875</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
