{"id":98,"date":"2023-10-27T12:23:41","date_gmt":"2023-10-27T12:23:41","guid":{"rendered":"https:\/\/www.tvarwebu.cz\/blog\/?p=98"},"modified":"2023-10-27T12:45:24","modified_gmt":"2023-10-27T12:45:24","slug":"php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour","status":"publish","type":"post","link":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/","title":{"rendered":"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour"},"content":{"rendered":"<p>When you unset the item from array in foreach, all works as expected<\/p>\n<pre>$array = [1,2,3,4];\r\nforeach($array as $key =&gt; $value) {\r\n  if($value === 2) {\r\n    unset($array[$key]);\r\n    continue;\r\n  }\r\n  echo \"$value \";\r\n}<\/pre>\n<p>Will return following:<\/p>\n<pre>1 3 4<\/pre>\n<p>When you want to do the same with ArrayObject, you would expect exactly the same behaviour. Unfortunately, it is not the case.<\/p>\n<pre>class MainList extends \\ArrayObject {}\r\n$arrayListObject = new MainList([1,2,3,4]);\r\nforeach($arrayListObject as $key =&gt; $value) {\r\n  if($value === 2) {\r\n    unset($arrayListObject[$key]);\r\n    continue;\r\n  }\r\n  echo \"$value \";\r\n}<\/pre>\n<p>Will return following:<\/p>\n<pre>1 4<\/pre>\n<p><strong>See that the number 3 is missing in the response!!!<\/strong><br \/>\nThe reason for this is that the ArrayObject is behaving like object (not as an array) when looping through foreach.<\/p>\n<p>This could be very confusing when you expect that that the foreach will process all the items.<\/p>\n<p>The best option is to process it via<\/p>\n<pre>class MainList extends \\ArrayObject {}\r\n$arrayListObject = new MainList([1,2,3,4]);\r\nforeach($arrayListObject-&gt;getArrayCopy() as $key =&gt; $value) {\r\n  if($value === 2) {\r\n    unset($arrayListObject[$key]);\r\n    continue;\r\n  }\r\n  echo \"$value \";\r\n}<\/pre>\n<p>Will return following (as expected):<\/p>\n<pre>1 3 4<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key =&gt; $value) { if($value === 2) { unset($array[$key]); continue; } echo &#8220;$value &#8220;; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour. &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-php","item-wrap"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key =&gt; $value) { if($value === 2) { unset($array[$key]); continue; } echo &quot;$value &quot;; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Ond\u0159ej\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key =&gt; $value) { if($value === 2) { unset($array[$key]); continue; } echo &quot;$value &quot;; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-10-27T12:23:41+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2023-10-27T12:45:24+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key =&gt; $value) { if($value === 2) { unset($array[$key]); continue; } echo &quot;$value &quot;; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#article\",\"name\":\"PHP Unset ArrayObject in foreach skip the following item \\u2013 unexpected behaviour | Tv\\u00e1\\u0159 Webu Blog\",\"headline\":\"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour\",\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/twadmin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"},\"datePublished\":\"2023-10-27T12:23:41+00:00\",\"dateModified\":\"2023-10-27T12:45:24+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#webpage\"},\"articleSection\":\"PHP Development\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/php\\\/#listItem\",\"name\":\"PHP Development\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/php\\\/#listItem\",\"position\":2,\"name\":\"PHP Development\",\"item\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/php\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#listItem\",\"name\":\"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#listItem\",\"position\":3,\"name\":\"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/category\\\/php\\\/#listItem\",\"name\":\"PHP Development\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/twadmin\\\/#author\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/twadmin\\\/\",\"name\":\"Ond\\u0159ej\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/\",\"name\":\"PHP Unset ArrayObject in foreach skip the following item \\u2013 unexpected behaviour | Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key => $value) { if($value === 2) { unset($array[$key]); continue; } echo \\\"$value \\\"; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/2023\\\/10\\\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/twadmin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/author\\\/twadmin\\\/#author\"},\"datePublished\":\"2023-10-27T12:23:41+00:00\",\"dateModified\":\"2023-10-27T12:45:24+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/\",\"name\":\"Tv\\u00e1\\u0159 Webu Blog\",\"description\":\"Blog about webdesign, web, adroid and iphone development\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tvarwebu.cz\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog","description":"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key => $value) { if($value === 2) { unset($array[$key]); continue; } echo \"$value \"; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.","canonical_url":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#article","name":"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog","headline":"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour","author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/twadmin\/#author"},"publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"},"datePublished":"2023-10-27T12:23:41+00:00","dateModified":"2023-10-27T12:45:24+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#webpage"},"articleSection":"PHP Development"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tvarwebu.cz\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/php\/#listItem","name":"PHP Development"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/php\/#listItem","position":2,"name":"PHP Development","item":"https:\/\/www.tvarwebu.cz\/blog\/category\/php\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#listItem","name":"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#listItem","position":3,"name":"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tvarwebu.cz\/blog\/category\/php\/#listItem","name":"PHP Development"}}]},{"@type":"Organization","@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","url":"https:\/\/www.tvarwebu.cz\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/twadmin\/#author","url":"https:\/\/www.tvarwebu.cz\/blog\/author\/twadmin\/","name":"Ond\u0159ej"},{"@type":"WebPage","@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#webpage","url":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/","name":"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog","description":"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key => $value) { if($value === 2) { unset($array[$key]); continue; } echo \"$value \"; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/twadmin\/#author"},"creator":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/author\/twadmin\/#author"},"datePublished":"2023-10-27T12:23:41+00:00","dateModified":"2023-10-27T12:45:24+00:00"},{"@type":"WebSite","@id":"https:\/\/www.tvarwebu.cz\/blog\/#website","url":"https:\/\/www.tvarwebu.cz\/blog\/","name":"Tv\u00e1\u0159 Webu Blog","description":"Blog about webdesign, web, adroid and iphone development","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tvarwebu.cz\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Tv\u00e1\u0159 Webu Blog | Blog about webdesign, web, adroid and iphone development","og:type":"article","og:title":"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog","og:description":"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key =&gt; $value) { if($value === 2) { unset($array[$key]); continue; } echo &quot;$value &quot;; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour.","og:url":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/","article:published_time":"2023-10-27T12:23:41+00:00","article:modified_time":"2023-10-27T12:45:24+00:00","twitter:card":"summary_large_image","twitter:title":"PHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour | Tv\u00e1\u0159 Webu Blog","twitter:description":"When you unset the item from array in foreach, all works as expected $array = [1,2,3,4]; foreach($array as $key =&gt; $value) { if($value === 2) { unset($array[$key]); continue; } echo &quot;$value &quot;; } Will return following: 1 3 4 When you want to do the same with ArrayObject, you would expect exactly the same behaviour."},"aioseo_meta_data":{"post_id":"98","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-07-15 07:34:16","updated":"2025-07-15 07:43:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tvarwebu.cz\/blog\/category\/php\/\" title=\"PHP Development\">PHP Development<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPHP Unset ArrayObject in foreach skip the following item \u2013 unexpected behaviour\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tvarwebu.cz\/blog"},{"label":"PHP Development","link":"https:\/\/www.tvarwebu.cz\/blog\/category\/php\/"},{"label":"PHP Unset ArrayObject in foreach skip the following item &#8211; unexpected behaviour","link":"https:\/\/www.tvarwebu.cz\/blog\/2023\/10\/php-unset-arrayobject-in-foreach-skip-the-following-item-unexpected-behaviour\/"}],"_links":{"self":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":13,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tvarwebu.cz\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}