<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>opll_inaka</author_name>
  <author_url>https://blog.hatena.ne.jp/opll_inaka/</author_url>
  <blog_title>独学者Fossa</blog_title>
  <blog_url>https://fossa-hobby.hatenablog.com/</blog_url>
  <categories>
    <anon>Free</anon>
  </categories>
  <description>まえがき UIKitのlessファイルをscssに変換するCLI Applicationを作成して、気づいた事があります。 文字列を置き換える為に、lessファイルをfile()関数で読み込んで、配列で処理しています。[^1] @useから始まる文４行分を、約１０００行あるファイルの先頭に追加する必要がありました。 配列を追加する場合、array_merge()関数があります。 他にも、array_push()関数など、結果的に同じような処理が出来る方法がないか、調べてみました。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffossa-hobby.hatenablog.com%2Fentry%2F2025%2F05%2F26%2F000000&quot; title=&quot;PHP array_merge() - 独学者Fossa&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/155078915/1602976959285797</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-05-26 00:00:00</published>
  <title>PHP array_merge()</title>
  <type>rich</type>
  <url>https://fossa-hobby.hatenablog.com/entry/2025/05/26/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
