{"id":3581,"date":"2026-10-24T09:54:58","date_gmt":"2026-10-24T00:54:58","guid":{"rendered":"https:\/\/qol-kk.com\/wp2\/?p=3581"},"modified":"2026-10-24T09:54:58","modified_gmt":"2026-10-24T00:54:58","slug":"20260914-00mu0krn","status":"publish","type":"post","link":"https:\/\/qol-kk.com\/wp2\/blog\/2026\/10\/24\/20260914-00mu0krn\/","title":{"rendered":"Twig \u3068 Smarty\u3001PHP\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u306e\u9078\u3073\u65b9\u3092\u8003\u3048\u308b"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>PHP \u3067\u30d3\u30e5\u30fc\u3092\u7d44\u307f\u7acb\u3066\u308b\u3068\u304d\u3001\u751f\u306e PHP \u3092\u57cb\u3081\u8fbc\u3080\u65b9\u5f0f\u306e\u307b\u304b\u306b\u3001\u5c02\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u3092\u4f7f\u3046\u9078\u629e\u80a2\u304c\u3042\u308a\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u306e\u304c <strong>Twig<\/strong> \u3068 <strong>Smarty<\/strong> \u3067\u3059\u3002\u3069\u3061\u3089\u3082\u300c\u30ed\u30b8\u30c3\u30af\u3068\u30d3\u30e5\u30fc\u3092\u5206\u96e2\u3059\u308b\u300d\u3068\u3044\u3046\u540c\u3058\u76ee\u7684\u3092\u6301\u3061\u306a\u304c\u3089\u3001\u8a2d\u8a08\u601d\u60f3\u30fb\u8a18\u6cd5\u30fb\u5b9f\u884c\u30e2\u30c7\u30eb\u306b\u306f\u3063\u304d\u308a\u3057\u305f\u9055\u3044\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u516c\u958b\u60c5\u5831\u306b\u57fa\u3065\u3044\u3066\u4e21\u8005\u306e\u7279\u5fb4\u3092\u6574\u7406\u3057\u3001\u300c\u65b0\u898f\u306a\u3089 Twig\u3001\u65e2\u5b58\u8cc7\u7523\u304c\u3042\u308b\u306a\u3089 Smarty\u300d\u3068\u3044\u3046\u7d50\u8ad6\u306b\u81f3\u308b\u307e\u3067\u306e\u5224\u65ad\u8ef8\u3092\u8003\u5bdf\u3057\u307e\u3059\u3002<\/p>\n<h2>\u306a\u305c\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u3092\u4f7f\u3046\u306e\u304b<\/h2>\n<p>\u751f PHP \u3067\u3082\u30d3\u30e5\u30fc\u306f\u66f8\u3051\u307e\u3059\u304c\u3001\u5c02\u7528\u30a8\u30f3\u30b8\u30f3\u3092\u631f\u3080\u7406\u7531\u306f\u4e3b\u306b3\u3064\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u30ed\u30b8\u30c3\u30af\u3068\u30d3\u30e5\u30fc\u306e\u5206\u96e2<\/strong> \u2014 \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u3067\u3067\u304d\u308b\u3053\u3068\u3092\u5236\u9650\u3057\u3001\u8cac\u52d9\u3092\u660e\u78ba\u306b\u3059\u308b<\/li>\n<li><strong>\u5b89\u5168\u306a\u51fa\u529b<\/strong> \u2014 \u81ea\u52d5\u30a8\u30b9\u30b1\u30fc\u30d7\u306a\u3069\u3067 XSS \u3092\u9632\u304e\u3084\u3059\u304f\u3059\u308b<\/li>\n<li><strong>\u518d\u5229\u7528\u6027<\/strong> \u2014 \u7d99\u627f\u30fb\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30fb\u30d6\u30ed\u30c3\u30af\u3067\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5171\u901a\u5316\u3059\u308b<\/li>\n<\/ol>\n<p>Twig \u3068 Smarty \u306f\u3069\u3061\u3089\u3082\u3053\u306e\u76ee\u7684\u3092\u6e80\u305f\u3057\u307e\u3059\u304c\u3001\u529b\u70b9\u304c\u9055\u3044\u307e\u3059\u3002<\/p>\n<h2>\u8a2d\u8a08\u601d\u60f3\u306e\u9055\u3044<\/h2>\n<h3>Twig \uff1a \u5b89\u5168\u306a\u30c7\u30d5\u30a9\u30eb\u30c8\u3068\u5236\u9650\u3055\u308c\u305f\u8868\u73fe\u529b<\/h3>\n<ul>\n<li>\u51fa\u529b\u306e<strong>\u81ea\u52d5\u30a8\u30b9\u30b1\u30fc\u30d7\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9<\/strong><\/li>\n<li>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306e\u30ed\u30b8\u30c3\u30af\u3092\u610f\u56f3\u7684\u306b\u5236\u9650\u3057\u3001\u30ed\u30b8\u30c3\u30af\u306e\u6df7\u5165\u3092\u9632\u3050<\/li>\n<li>\u30b5\u30f3\u30c9\u30dc\u30c3\u30af\u30b9\u6a5f\u80fd\u3067\u30e6\u30fc\u30b6\u30fc\u63d0\u4f9b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5b89\u5168\u306b\u5b9f\u884c\u3067\u304d\u308b<\/li>\n<li>Symfony \u306e\u6a19\u6e96\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u3067\u3042\u308a\u3001\u5358\u4f53\u3067\u3082\u5229\u7528\u53ef\u80fd<\/li>\n<\/ul>\n<h3>Smarty \uff1a \u67d4\u8edf\u3055\u3068\u6b74\u53f2\u3042\u308b\u8cc7\u7523<\/h3>\n<ul>\n<li>\u9577\u3044\u6b74\u53f2\u3068\u8c4a\u5bcc\u306a\u63a1\u7528\u5b9f\u7e3e\uff08\u7279\u306b\u30ec\u30ac\u30b7\u30fc PHP \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff09<\/li>\n<li>\u6210\u719f\u3057\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u6a5f\u69cb\u3067\u72ec\u81ea\u306e\u4fee\u98fe\u5b50\u30fb\u95a2\u6570\u3092\u8ffd\u52a0\u3057\u3084\u3059\u3044<\/li>\n<li>\u7d44\u307f\u8fbc\u307f\u306e\u51fa\u529b\u30ad\u30e3\u30c3\u30b7\u30e5\u6a5f\u69cb<\/li>\n<li><code>{$var}<\/code> \u7cfb\u306e\u3001PHP \u7d4c\u9a13\u8005\u306b\u99b4\u67d3\u307f\u3084\u3059\u3044\u8a18\u6cd5<\/li>\n<\/ul>\n<h2>\u8a18\u6cd5\u306e\u6bd4\u8f03<\/h2>\n<h3>\u5909\u6570\u51fa\u529b\u3068\u30a8\u30b9\u30b1\u30fc\u30d7<\/h3>\n<pre class=\"lang:default decode:true\">{# Twig: \u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u81ea\u52d5\u30a8\u30b9\u30b1\u30fc\u30d7\u3055\u308c\u308b #}\n&lt;p&gt;{{ user.name }}&lt;\/p&gt;\n&lt;p&gt;{{ content|raw }}&lt;\/p&gt;  {# \u660e\u793a\u7684\u306b\u30a8\u30b9\u30b1\u30fc\u30d7\u3092\u5916\u3059 #}\n&lt;p&gt;{{ title|upper|trim }}&lt;\/p&gt;  {# \u30d5\u30a3\u30eb\u30bf\u306e\u30c1\u30a7\u30fc\u30f3 #}<\/pre>\n<pre class=\"lang:default decode:true\">{* Smarty: \u4fee\u98fe\u5b50\u3067\u660e\u793a\u3059\u308b\u306e\u304c\u57fa\u672c *}\n&lt;p&gt;{$user.name|escape}&lt;\/p&gt;\n&lt;p&gt;{$title|upper|trim}&lt;\/p&gt;<\/pre>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u304c<strong>\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u6271\u3044<\/strong>\u3067\u3059\u3002Twig \u306f\u300c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5b89\u5168\u3001\u5fc5\u8981\u306a\u3068\u304d\u3060\u3051\u5916\u3059\u300d\u3002Smarty \u306f\u300c\u5fc5\u8981\u306a\u7b87\u6240\u3067\u660e\u793a\u7684\u306b\u30a8\u30b9\u30b1\u30fc\u30d7\u3059\u308b\u300d\uff08\u8a2d\u5b9a\u3067\u6709\u52b9\u5316\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\uff09\u3002XSS \u5bfe\u7b56\u306e\u521d\u671f\u5b89\u5168\u5ea6\u3067\u306f Twig \u306b\u5206\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>\u5236\u5fa1\u69cb\u6587<\/h3>\n<pre class=\"lang:default decode:true\">{% for item in items %}\n  &lt;li&gt;{{ item.label }}&lt;\/li&gt;\n{% else %}\n  &lt;li&gt;\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093&lt;\/li&gt;\n{% endfor %}<\/pre>\n<pre class=\"lang:default decode:true\">{foreach $items as $item}\n  &lt;li&gt;{$item.label}&lt;\/li&gt;\n{foreachelse}\n  &lt;li&gt;\u30c7\u30fc\u30bf\u304c\u3042\u308a\u307e\u305b\u3093&lt;\/li&gt;\n{\/foreach}<\/pre>\n<h3>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u7d99\u627f<\/h3>\n<pre class=\"lang:default decode:true\">{# base.html.twig #}\n&lt;html&gt;\n  &lt;body&gt;{% block content %}{% endblock %}&lt;\/body&gt;\n&lt;\/html&gt;\n\n{# page.html.twig #}\n{% extends \"base.html.twig\" %}\n{% block content %}&lt;h1&gt;\u30da\u30fc\u30b8\u5185\u5bb9&lt;\/h1&gt;{% endblock %}<\/pre>\n<p>Smarty \u3082 3.x \u4ee5\u964d\u3067 <code>{extends}<\/code> \/ <code>{block}<\/code> \u306b\u3088\u308b\u7d99\u627f\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u62e1\u5f35\u6027\u306e\u6bd4\u8f03<\/h2>\n<p>Twig\uff08Extension \u30af\u30e9\u30b9\uff09:<\/p>\n<pre class=\"lang:default decode:true\">use Twig\\Extension\\AbstractExtension;\nuse Twig\\TwigFilter;\n\nclass AppExtension extends AbstractExtension\n{\n    public function getFilters(): array\n    {\n        return [new TwigFilter('yen', fn(int $v) =&gt; '\u00a5' . number_format($v))];\n    }\n}<\/pre>\n<p>Smarty\uff08\u30d7\u30e9\u30b0\u30a4\u30f3\u767b\u9332\uff09:<\/p>\n<pre class=\"lang:default decode:true\">$smarty-&gt;registerPlugin('modifier', 'yen', fn(int $v) =&gt; '\u00a5' . number_format($v));<\/pre>\n<p>\u3069\u3061\u3089\u3082\u5341\u5206\u306a\u62e1\u5f35\u6027\u3092\u5099\u3048\u307e\u3059\u304c\u3001Twig \u306f Extension \u3068\u3044\u3046\u4f53\u7cfb\u3068 Symfony \u306e DI \u3068\u306e\u89aa\u548c\u6027\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<h2>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u30ad\u30e3\u30c3\u30b7\u30e5<\/h2>\n<p>\u4e21\u8005\u3068\u3082<strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092 PHP \u30b3\u30fc\u30c9\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u30ad\u30e3\u30c3\u30b7\u30e5\u3059\u308b<\/strong>\u65b9\u5f0f\u3067\u3059\u3002\u521d\u56de\u306e\u30b3\u30f3\u30d1\u30a4\u30eb\u30b3\u30b9\u30c8\u306f\u3042\u308a\u307e\u3059\u304c\u30012\u56de\u76ee\u4ee5\u964d\u306f\u30b3\u30f3\u30d1\u30a4\u30eb\u6e08\u307f\u306e PHP \u304c\u4f7f\u308f\u308c\u308b\u305f\u3081\u5b9f\u884c\u6642\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u306f\u5c0f\u3055\u304f\u306a\u308a\u307e\u3059\u3002Smarty \u306f\u52a0\u3048\u3066\u300c\u51fa\u529b\u30ad\u30e3\u30c3\u30b7\u30e5\u300d\u3092\u7d44\u307f\u8fbc\u307f\u3067\u6301\u3061\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u7d50\u679c\u81ea\u4f53\u3092\u30ad\u30e3\u30c3\u30b7\u30e5\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u958b\u767a\u6642\u306f\u30ad\u30e3\u30c3\u30b7\u30e5\u306b\u30cf\u30de\u308a\u3084\u3059\u3044\u306e\u3067\u3001\u6b21\u3092\u62bc\u3055\u3048\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li>Twig: <code>cache =&gt; false<\/code> \u307e\u305f\u306f <code>auto_reload =&gt; true<\/code><\/li>\n<li>Smarty: <code>$smarty-&gt;setCaching(false)<\/code> \/ \u30b3\u30f3\u30d1\u30a4\u30eb\u306f\u5909\u66f4\u691c\u77e5\u3067\u518d\u751f\u6210<\/li>\n<\/ul>\n<h2>\u9078\u5b9a\u306e\u5224\u65ad\u8ef8<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u89b3\u70b9<\/th>\n<th>Twig<\/th>\n<th>Smarty<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u81ea\u52d5\u30a8\u30b9\u30b1\u30fc\u30d7<\/td>\n<td>\u30c7\u30d5\u30a9\u30eb\u30c8\u6709\u52b9<\/td>\n<td>\u660e\u793a or \u8a2d\u5b9a\u3067\u6709\u52b9\u5316<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af<\/td>\n<td>Symfony \u6a19\u6e96<\/td>\n<td>\u7279\u5b9aFW\u975e\u4f9d\u5b58\u30fb\u30ec\u30ac\u30b7\u30fc\u5b9f\u7e3e<\/td>\n<\/tr>\n<tr>\n<td>\u8a18\u6cd5<\/td>\n<td>\u72ec\u81ea\uff08<code>{% %}<\/code> \/ <code>{{ }}<\/code>\uff09<\/td>\n<td>PHP \u5bc4\u308a\uff08<code>{$var}<\/code>\uff09<\/td>\n<\/tr>\n<tr>\n<td>\u5b66\u7fd2\u30b3\u30b9\u30c8<\/td>\n<td>Symfony \u7d4c\u9a13\u8005\u306f\u4f4e\u3044<\/td>\n<td>PHP \u7d4c\u9a13\u8005\u306f\u4f4e\u3044<\/td>\n<\/tr>\n<tr>\n<td>\u65e2\u5b58\u8cc7\u7523\u306e\u6d3b\u7528<\/td>\n<td>\u79fb\u884c\u30b3\u30b9\u30c8\u5927<\/td>\n<td>\u65e2\u5b58 tpl \u3092\u305d\u306e\u307e\u307e\u6d3b\u304b\u305b\u308b<\/td>\n<\/tr>\n<tr>\n<td>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u521d\u671f\u5024<\/td>\n<td>\u9ad8\u3044<\/td>\n<td>\u904b\u7528\u3067\u30ab\u30d0\u30fc\u304c\u5fc5\u8981<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u6ce8\u610f\u70b9<\/h2>\n<ul>\n<li><strong>\u65e2\u5b58\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3078\u306e\u5f8c\u4ed8\u3051<\/strong>: \u3059\u3067\u306b Smarty \u3067\u5927\u91cf\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u8cc7\u7523\u304c\u3042\u308b\u306a\u3089\u3001Twig \u3078\u306e\u5168\u9762\u79fb\u884c\u306f\u8a18\u6cd5\u5909\u63db\u30fb\u691c\u8a3c\u30b3\u30b9\u30c8\u304c\u9ad8\u304f\u3064\u304d\u307e\u3059\u3002\u6bb5\u968e\u79fb\u884c\u304c\u73fe\u5b9f\u7684\u3067\u3059\u3002<\/li>\n<li><strong>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5dee<\/strong>: Smarty \u3067\u306f\u30a8\u30b9\u30b1\u30fc\u30d7\u3092\u66f8\u304d\u5fd8\u308c\u306a\u3044\u904b\u7528\u304c\u5fc5\u8981\u3067\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ec\u30d3\u30e5\u30fc\u3084\u30ea\u30f3\u30bf\u3067\u62c5\u4fdd\u3059\u308b\u4ed5\u7d44\u307f\u3092\u4f75\u7528\u3059\u308b\u3068\u5b89\u5168\u3067\u3059\u3002<\/li>\n<li><strong>\u30d0\u30fc\u30b8\u30e7\u30f3\u5dee<\/strong>: Smarty \u306f 5.x \u3067\u540d\u524d\u7a7a\u9593\u5bfe\u5fdc\u306a\u3069\u8fd1\u4ee3\u5316\u304c\u9032\u3093\u3067\u3044\u307e\u3059\u3002\u63a1\u7528\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u5fc5\u305a\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<\/ul>\n<h2>\u307e\u3068\u3081<\/h2>\n<ul>\n<li><strong>\u65b0\u898f\u30fbSymfony \u7cfb\u30fb\u5b89\u5168\u306a\u30c7\u30d5\u30a9\u30eb\u30c8\u3092\u91cd\u8996<\/strong> \u2192 <strong>Twig<\/strong><\/li>\n<li><strong>\u65e2\u5b58\u306e Smarty \u8cc7\u7523\u304c\u3042\u308b\u30fbPHP \u306b\u8fd1\u3044\u66f8\u304d\u5473\u30fb\u79fb\u884c\u30b3\u30b9\u30c8\u56de\u907f<\/strong> \u2192 <strong>Smarty<\/strong><\/li>\n<\/ul>\n<p>\u6280\u8853\u9078\u5b9a\u306f\u300c\u3069\u3061\u3089\u304c\u512a\u308c\u3066\u3044\u308b\u304b\u300d\u3067\u306f\u306a\u304f\u300c\u4eca\u306e\u5236\u7d04\u306b\u5408\u3046\u304b\u300d\u3067\u6c7a\u3081\u308b\u306e\u304c\u5b9a\u77f3\u3067\u3059\u3002\u81ea\u52d5\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u521d\u671f\u5b89\u5168\u5ea6\u3068 Symfony \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u5f8c\u62bc\u3057\u3067\u3001\u65b0\u898f\u306a\u3089 Twig \u3092\u7b2c\u4e00\u5019\u88dc\u306b\u3002\u305f\u3060\u3057\u65e2\u5b58\u8cc7\u7523\u3092\u8efd\u8996\u3057\u305f\u79fb\u884c\u306f\u5272\u306b\u5408\u308f\u306a\u3044\u3053\u3068\u304c\u591a\u304f\u3001\u305d\u3053\u306f\u51b7\u9759\u306b\u898b\u6975\u3081\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP \u3067\u30d3\u30e5\u30fc\u3092\u7d44\u307f\u7acb\u3066\u308b\u3068\u304d\u3001\u751f\u306e PHP \u3092\u57cb\u3081\u8fbc\u3080\u65b9\u5f0f\u306e\u307b\u304b\u306b\u3001\u5c02\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u3092\u4f7f\u3046\u9078\u629e\u80a2\u304c\u3042\u308a\u307e\u3059\u3002\u4ee3\u8868\u7684\u306a\u306e\u304c Twig \u3068 Smarty \u3067\u3059\u3002\u3069\u3061\u3089\u3082\u300c\u30ed\u30b8\u30c3\u30af\u3068\u30d3\u30e5\u30fc\u3092\u5206\u96e2\u3059\u308b\u300d\u3068\u3044\u3046\u540c\u3058\u76ee\u7684\u3092\u6301\u3061\u306a\u304c\u3089\u3001\u8a2d\u8a08\u2026<\/p>\n","protected":false},"author":1,"featured_media":3580,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[34],"tags":[98,1095,692],"class_list":["post-3581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php-memorandum","tag-php","tag-1095","tag-692"],"veu_head_title_object":{"title":"","add_site_title":""},"jetpack_publicize_connections":[],"jetpack-related-posts":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/qol-kk.com\/wp2\/wp-content\/uploads\/2026\/10\/20260914-00mu0krn-thumbnail.jpg","_links":{"self":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/comments?post=3581"}],"version-history":[{"count":1,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3581\/revisions"}],"predecessor-version":[{"id":3582,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/posts\/3581\/revisions\/3582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media\/3580"}],"wp:attachment":[{"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/media?parent=3581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/categories?post=3581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qol-kk.com\/wp2\/wp-json\/wp\/v2\/tags?post=3581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}